Monitor Report Server

<back to all web services

WaypointRequest

The following routes are available for this service:
All Verbs/waypoint
WaypointRequest Parameters:
NameParameterData TypeRequiredDescription
WaypointIdqueryintNo
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
Waypoint Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CompanyIdformintNo
NumberformstringNo
AddressformstringNo
FromformDateTimeNo
ToformDateTimeNo
DescriptionformstringNo
OrderformintNo
StatusformintNo
ReasonformstringNo
ExternalIdformstringNo
WayIdformint?No
Distanceformdouble?No
CloseTimeformDateTime?No
ParkingformintNo
Lonformdouble?No
Latformdouble?No
CreatedformDateTimeNo
CreatedByformintNo
ModifiedformDateTimeNo
ModifiedByformintNo
MoneyRequiredformdecimal?No
MoneyActuallyformdecimalNo
RecipientformstringNo
PhoneformstringNo

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

{"WaypointId":0,"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Id":0,"CompanyId":0,"Number":"String","Address":"String","From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Description":"String","Order":0,"Status":0,"Reason":"String","ExternalId":"String","WayId":0,"Distance":0,"CloseTime":"\/Date(-62135596800000-0000)\/","Parking":0,"Lon":0,"Lat":0,"Created":"\/Date(-62135596800000-0000)\/","CreatedBy":0,"Modified":"\/Date(-62135596800000-0000)\/","ModifiedBy":0,"MoneyRequired":0,"MoneyActually":0,"Recipient":"String","Phone":"String"}