PUT api/content/v4/usertrip
Request Information
URI Parameters
None.
Body Parameters
APIUserTripPutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| CustomerId | integer |
None. |
|
| UserUniqueId | integer |
None. |
|
| EndTime | date |
None. |
|
| isCompleted | boolean |
None. |
|
| isCancelled | boolean |
None. |
|
| EndLatitude | decimal number |
None. |
|
| EndLongitude | decimal number |
None. |
|
| TripValidation | Object |
None. |
|
| UniqueId | globally unique identifier |
Required |
|
| TripValidationType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"UserUniqueId": 3,
"EndTime": "2026-01-16T04:32:13.3799574+00:00",
"isCompleted": true,
"isCancelled": true,
"EndLatitude": 1.0,
"EndLongitude": 1.0,
"TripValidation": {},
"UniqueId": "c893d77b-b35b-440b-84d9-1ba2d484f38f",
"TripValidationType": 6
}
application/xml, text/xml
Sample:
<APIUserTripPutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <CustomerId>2</CustomerId> <EndLatitude>1</EndLatitude> <EndLongitude>1</EndLongitude> <EndTime>2026-01-16T04:32:13.3799574+00:00</EndTime> <Id>1</Id> <TripValidation /> <TripValidationType>6</TripValidationType> <UniqueId>c893d77b-b35b-440b-84d9-1ba2d484f38f</UniqueId> <UserUniqueId>3</UserUniqueId> <isCancelled>true</isCancelled> <isCompleted>true</isCompleted> </APIUserTripPutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPIUserTripPutResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APIUserTripPutResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"Status": true,
"Message": "sample string 2"
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfAPIUserTripPutResponseMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
<d2p1:Message>sample string 2</d2p1:Message>
<d2p1:Status>true</d2p1:Status>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPIUserTripPutResponseMTRdQN6P>