Cleverciti RestAPI Version 2.0

<back to all web services

FlatpanelGapEdit

The following routes are available for this service:
PATCH/ccs/city/view/flatpanel/gap/edit
FlatpanelGapEdit Parameters:
NameParameterData TypeRequiredDescription
idqueryGuidYesUnique View ID
useridquerystringYesUserID that access the Service
GapIdqueryGuidYesUnique Gap ID
NamequerystringYesName of the Gap
CommentquerystringYesComment of the Gap
axquerydoubleYesLongitude x1
ayquerydoubleYesLatitude y1
bxquerydoubleYesLongitude x2
byquerydoubleYesLatitude y2
cxquerydoubleYesLongitude x3
cyquerydoubleYesLatitude y3
dxquerydoubleYesLongitude x4
dyquerydoubleYesLatitude y4
PanelmodesquerystringYesPanelmodes
AltitudeRefquerystringYesAltitude Reference
AltitudequerydoubleNoAltitude

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /ccs/city/view/flatpanel/gap/edit HTTP/1.1 
Host: 188.138.100.94 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":"00000000000000000000000000000000","userid":"String","GapId":"00000000000000000000000000000000","Name":"String","Comment":"String","ax":0,"ay":0,"bx":0,"by":0,"cx":0,"cy":0,"dx":0,"dy":0,"Panelmodes":"String","AltitudeRef":"String","Altitude":0}