Cleverciti RestAPI Version 2.0

<back to all web services

ccsVpnRegisterDeviceTag

The following routes are available for this service:
GET/sensor/vpn/register/v3/tag
POST/sensor/vpn/register/v3/tag
ccsVpnRegisterDeviceTag Parameters:
NameParameterData TypeRequiredDescription
namebodystringYeshost
devicebodystringYesdevice
subdevicebodystringYessubdevice
locationbodystringYeslocation
latitudebodydoubleYeslatitude
altitudebodydoubleYesaltitude
longitudebodydoubleYeslogitude
tagbodyintYestag
distancebodydoubleYesdistance
rfidbodyintYesrfid
anglebodydoubleYesangle
mIndexbodyintYesmIndex
batterybodydoubleYesbattery
methodebodystringYesmethode

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

HTTP + XML

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

POST /sensor/vpn/register/v3/tag HTTP/1.1 
Host: 188.138.100.94 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ccsVpnRegisterDeviceTag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ccsService">
  <altitude>0</altitude>
  <angle>0</angle>
  <battery>0</battery>
  <device>String</device>
  <distance>0</distance>
  <latitude>0</latitude>
  <location>String</location>
  <longitude>0</longitude>
  <mIndex>0</mIndex>
  <methode>String</methode>
  <name>String</name>
  <rfid>0</rfid>
  <subdevice>String</subdevice>
  <tag>0</tag>
</ccsVpnRegisterDeviceTag>