POST api/MtmTrip/UpdateLocation
Request Information
URI Parameters
None.
Body Parameters
MtmLocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TripId | integer |
None. |
|
| CustomerTripId | integer |
None. |
|
| ForPickup | boolean |
None. |
|
| Address | string |
None. |
|
| StreetNo | string |
None. |
|
| Street | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Country | string |
None. |
|
| PostalCode | string |
None. |
|
| Lat | decimal number |
Range: inclusive between -90 and 90 |
|
| Long | decimal number |
Range: inclusive between -180 and 180 |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tripId": 2,
"customerTripId": 3,
"forPickup": true,
"address": "sample string 5",
"streetNo": "sample string 6",
"street": "sample string 7",
"city": "sample string 8",
"state": "sample string 9",
"country": "sample string 10",
"postalCode": "sample string 11",
"lat": 1.0,
"long": 1.0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.