POST api/AddUpdateDeliverAddressBySubCode
Request Information
URI Parameters
None.
Body Parameters
DeliveryAddressDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| depot | string |
None. |
|
| dname | string |
None. |
|
| status | integer |
None. |
|
| subcode | string |
None. |
|
| customer | string |
None. |
|
| address | string |
None. |
|
| town | string |
None. |
|
| county | string |
None. |
|
| postcode | string |
None. |
|
| country | string |
None. |
|
| phone | string |
None. |
|
| string |
None. |
||
| mid | Collection of string |
None. |
|
| type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"depot": "sample string 1",
"dname": "sample string 2",
"status": 3,
"subcode": "sample string 4",
"customer": "sample string 5",
"address": "sample string 6",
"town": "sample string 7",
"county": "sample string 8",
"postcode": "sample string 9",
"country": "sample string 10",
"phone": "sample string 11",
"email": "sample string 12",
"mid": [
"sample string 1",
"sample string 2"
],
"type": "sample string 13"
}
text/xml
Sample:
<DeliveryAddressDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRMAPP.Models">
<Address>sample string 6</Address>
<Country>sample string 10</Country>
<County>sample string 8</County>
<Customer>sample string 5</Customer>
<Depot>sample string 1</Depot>
<DepotName>sample string 2</DepotName>
<Email>sample string 12</Email>
<IsActive>3</IsActive>
<ManagerId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ManagerId>
<PhoneNumber>sample string 11</PhoneNumber>
<Postcode>sample string 9</Postcode>
<SubCode>sample string 4</SubCode>
<Town>sample string 7</Town>
<Type>sample string 13</Type>
</DeliveryAddressDetail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |