POST api/customers/{customerId}/location
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
Body Parameters
CustomerLocationUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Lat | decimal number |
None. |
|
| Lng | decimal number |
None. |
|
| Address | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"lat": 1.0,
"lng": 2.0,
"address": "sample string 3"
}
application/xml, text/xml
Sample:
<CustomerLocationUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos"> <Address>sample string 3</Address> <Lat>1</Lat> <Lng>2</Lng> </CustomerLocationUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.