Monitor Report Server

<back to all web services

MobileHistoryRequest

The following routes are available for this service:
POST,GET/report/mobilehistory
MobileHistoryRequest Parameters:
NameParameterData TypeRequiredDescription
StartTimebodyDateTimeNo
EndTimebodyDateTimeNo
ObjectIdbodyintNo
TimeZoneIdbodystringNo
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
MobileHistoryReport Parameters:
NameParameterData TypeRequiredDescription
SummaryValuesformList<SummaryValueInfo>No
ParkingformList<ParkValueInfo>No
RefuelsformList<FuelEventInfo>No
FuelDrainsformList<FuelEventInfo>No
ReportBase Parameters:
NameParameterData TypeRequiredDescription
ObjectIdformintNo
RangeformDateTimeRangeNo
RangeNameformstringNo
BuildTimeformTimeSpanNo
BuildTimeRangeformDateTimeRangeNo
DateTimeRange Parameters:
NameParameterData TypeRequiredDescription
StartformDateTimeNo
EndformDateTimeNo
SummaryValueInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo
UnitformstringNo
ParkValueInfo Parameters:
NameParameterData TypeRequiredDescription
FromformDateTimeNo
ToformDateTimeNo
AddressformstringNo
LatformdoubleNo
LonformdoubleNo
FuelEventInfo Parameters:
NameParameterData TypeRequiredDescription
FromformDateTimeNo
ToformDateTimeNo
AddressformstringNo
ValueformdoubleNo

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

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

{"SummaryValues":[{"Name":"String","Value":"String","Unit":"String"}],"Parking":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Lat":0,"Lon":0}],"Refuels":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Value":0}],"FuelDrains":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Value":0}],"ObjectId":0,"Range":{"Start":"\/Date(-62135596800000-0000)\/","End":"\/Date(-62135596800000-0000)\/"},"RangeName":"String","BuildTime":"PT0S","BuildTimeRange":{"Start":"\/Date(-62135596800000-0000)\/","End":"\/Date(-62135596800000-0000)\/"}}