| GET | /sensor/vpn/register/v3/tag/data | ||
|---|---|---|---|
| POST | /sensor/vpn/register/v3/tag/data |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| name | body | string | Yes | host |
| device | body | string | Yes | device |
| subdevice | body | string | Yes | subdevice |
| location | body | string | Yes | location |
| latitude | body | double | Yes | latitude |
| altitude | body | double | Yes | altitude |
| longitude | body | double | Yes | logitude |
| json | body | string | Yes | json |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /sensor/vpn/register/v3/tag/data HTTP/1.1
Host: 188.138.100.94
Accept: application/json
Content-Type: application/json
Content-Length: length
{"name":"String","device":"String","subdevice":"String","location":"String","latitude":0,"altitude":0,"longitude":0,"json":"String"}