POST api/Customer/{customerNo}/DeliveryAddress
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerNo | integer |
Required |
Body Parameters
DeliveryAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| address1 | string |
None. |
|
| address2 | string |
None. |
|
| address3 | string |
None. |
|
| address4 | string |
None. |
|
| postalNo | string |
None. |
|
| postalArea | string |
None. |
|
| emailAddress | string |
None. |
|
| phone | string |
None. |
|
| mobilePhone | string |
None. |
|
| information1 | string |
None. |
|
| information2 | string |
None. |
|
| information3 | string |
None. |
|
| information4 | string |
None. |
|
| visitPostCode | string |
None. |
|
| visitPostalArea | string |
None. |
|
| countryNo | integer |
None. |
|
| warehouseNoForCustomer | integer |
None. |
|
| group2 | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 1",
"address1": "sample string 2",
"address2": "sample string 3",
"address3": "sample string 4",
"address4": "sample string 5",
"postalNo": "sample string 6",
"postalArea": "sample string 7",
"emailAddress": "sample string 8",
"phone": "sample string 9",
"mobilePhone": "sample string 10",
"information1": "sample string 11",
"information2": "sample string 12",
"information3": "sample string 13",
"information4": "sample string 14",
"visitPostCode": "sample string 15",
"visitPostalArea": "sample string 16",
"countryNo": 1,
"warehouseNoForCustomer": 1,
"group2": 1
}
application/xml, text/xml
Sample:
<DeliveryAddress xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 1</name> <address1>sample string 2</address1> <address2>sample string 3</address2> <address3>sample string 4</address3> <address4>sample string 5</address4> <postalNo>sample string 6</postalNo> <postalArea>sample string 7</postalArea> <emailAddress>sample string 8</emailAddress> <phone>sample string 9</phone> <mobilePhone>sample string 10</mobilePhone> <information1>sample string 11</information1> <information2>sample string 12</information2> <information3>sample string 13</information3> <information4>sample string 14</information4> <visitPostCode>sample string 15</visitPostCode> <visitPostalArea>sample string 16</visitPostalArea> <countryNo>1</countryNo> <warehouseNoForCustomer>1</warehouseNoForCustomer> <group2>1</group2> </DeliveryAddress>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeliveryAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| address1 | string |
None. |
|
| address2 | string |
None. |
|
| address3 | string |
None. |
|
| address4 | string |
None. |
|
| postalNo | string |
None. |
|
| postalArea | string |
None. |
|
| emailAddress | string |
None. |
|
| phone | string |
None. |
|
| mobilePhone | string |
None. |
|
| information1 | string |
None. |
|
| information2 | string |
None. |
|
| information3 | string |
None. |
|
| information4 | string |
None. |
|
| visitPostCode | string |
None. |
|
| visitPostalArea | string |
None. |
|
| countryNo | integer |
None. |
|
| warehouseNoForCustomer | integer |
None. |
|
| group2 | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 1",
"address1": "sample string 2",
"address2": "sample string 3",
"address3": "sample string 4",
"address4": "sample string 5",
"postalNo": "sample string 6",
"postalArea": "sample string 7",
"emailAddress": "sample string 8",
"phone": "sample string 9",
"mobilePhone": "sample string 10",
"information1": "sample string 11",
"information2": "sample string 12",
"information3": "sample string 13",
"information4": "sample string 14",
"visitPostCode": "sample string 15",
"visitPostalArea": "sample string 16",
"countryNo": 1,
"warehouseNoForCustomer": 1,
"group2": 1
}
application/xml, text/xml
Sample:
<DeliveryAddress xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 1</name> <address1>sample string 2</address1> <address2>sample string 3</address2> <address3>sample string 4</address3> <address4>sample string 5</address4> <postalNo>sample string 6</postalNo> <postalArea>sample string 7</postalArea> <emailAddress>sample string 8</emailAddress> <phone>sample string 9</phone> <mobilePhone>sample string 10</mobilePhone> <information1>sample string 11</information1> <information2>sample string 12</information2> <information3>sample string 13</information3> <information4>sample string 14</information4> <visitPostCode>sample string 15</visitPostCode> <visitPostalArea>sample string 16</visitPostalArea> <countryNo>1</countryNo> <warehouseNoForCustomer>1</warehouseNoForCustomer> <group2>1</group2> </DeliveryAddress>