PUT api/GeoRegistration/updateTripStatus/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

GeoLocationTripStatus
NameDescriptionTypeAdditional information
DeviceId

string

None.

TripStatus

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "TripStatus": 2
}

application/xml, text/xml

Sample:
<GeoLocationTripStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <DeviceId>sample string 1</DeviceId>
  <TripStatus>2</TripStatus>
</GeoLocationTripStatus>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GeoLocationTripStatus'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>