PUT api/MKTH/Customer/UpdateDropPoint/{drop_point_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| drop_point_id | integer |
Required |
Body Parameters
m_customer_transport_drop_point| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required String length: inclusive between 0 and 1000 |
|
| address | string |
Required String length: inclusive between 0 and 1000 |
|
| district | string |
Required String length: inclusive between 0 and 500 |
|
| sub_district | string |
Required String length: inclusive between 0 and 500 |
|
| province | string |
Required String length: inclusive between 0 and 500 |
|
| country | string |
Required String length: inclusive between 0 and 500 |
|
| iso_code | string |
Required String length: inclusive between 0 and 2 |
|
| zip | string |
Required String length: inclusive between 0 and 10 |
|
| tels | Collection of m_tel |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"address": "sample string 2",
"district": "sample string 3",
"sub_district": "sample string 4",
"province": "sample string 5",
"country": "sample string 6",
"iso_code": "sample string 7",
"zip": "sample string 8",
"tels": [
{
"iso_code": "sample string 1",
"country_code": "sample string 2",
"phone_number": "sample string 3"
},
{
"iso_code": "sample string 1",
"country_code": "sample string 2",
"phone_number": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<m_customer_transport_drop_point xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH">
<address>sample string 2</address>
<country>sample string 6</country>
<district>sample string 3</district>
<iso_code>sample string 7</iso_code>
<name>sample string 1</name>
<province>sample string 5</province>
<sub_district>sample string 4</sub_district>
<tels>
<m_tel>
<country_code>sample string 2</country_code>
<iso_code>sample string 1</iso_code>
<phone_number>sample string 3</phone_number>
</m_tel>
<m_tel>
<country_code>sample string 2</country_code>
<iso_code>sample string 1</iso_code>
<phone_number>sample string 3</phone_number>
</m_tel>
</tels>
<zip>sample string 8</zip>
</m_customer_transport_drop_point>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.