Monitor Report Server

<back to all web services

ObjectSnapshotDataRequest

The following routes are available for this service:
GET,POST/object/snapshotdata
ObjectSnapshotDataRequest Parameters:
NameParameterData TypeRequiredDescription
ObjectIdbodyintNo
FrombodyDateTimeNo
TobodyDateTimeNo
TimeZoneIdbodystringNo
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo

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 /object/snapshotdata HTTP/1.1 
Host: api.v3.monitorsystem.ru 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ObjectId":0,"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","TimeZoneId":"String","ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"GPS":{"ObjectId":0,"Lat":0,"Lon":0,"Height":0,"Mileage":0,"Speed":0,"Direction":0,"Satellites":0,"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false},"Analog":{"ObjectId":0,"AIN1":0,"AIN2":0,"AIN3":0,"AIN4":0,"AIN5":0,"AIN6":0,"AIN7":0,"AIN8":0,"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false},"Digital":{"ObjectId":0,"DIN1":false,"DIN2":false,"DIN3":false,"DIN4":false,"DIN5":false,"DIN6":false,"DIN7":false,"DIN8":false,"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false,"Items":[false,false,false,false,false,false,false,false]},"Data":{"ObjectId":0,"DATA1":0,"DATA2":0,"DATA3":0,"DATA4":0,"DATA5":0,"DATA6":0,"DATA7":0,"DATA8":0,"DATA9":0,"DATA10":0,"DATA11":0,"DATA12":0,"DATA13":0,"DATA14":0,"DATA15":0,"DATA16":0,"DATA17":0,"DATA18":0,"DATA19":0,"DATA20":0,"DATA21":0,"DATA22":0,"DATA23":0,"DATA24":0,"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false},"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false}]