Cleverciti RestAPI Version 2.0

<back to all web services

TemplateUpdateCycle

The following routes are available for this service:
POST/ccs/city/view/template/updatecycle
TemplateUpdateCycle Parameters:
NameParameterData TypeRequiredDescription
useridbodystringYesUserID that access the Service
groupidbodystringYesGroupID Accessgroup for this template
idbodyGuidYesUnique Template ID
latbodydoubleYesCenter latitude
logbodydoubleYesCenter longitude
radiusbodydoubleYesRadius to operate
namebodystringYesName of the Template
commentbodystringYesComment of the Template
viewidsbodystringYeslist of query views
detailbodyintYesdetail level of data
livecockpitbodystringYesurl of the live cockpit
staticcockpitbodystringYesurl of the statistic cockpit
restcallbodystringYesurl of the query rest call

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.

POST /ccs/city/view/template/updatecycle HTTP/1.1 
Host: 188.138.100.94 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"userid":"String","groupid":"String","id":"00000000000000000000000000000000","lat":0,"log":0,"radius":0,"name":"String","comment":"String","viewids":"String","detail":0,"livecockpit":"String","staticcockpit":"String","restcall":"String"}