POST api/v2/accounts/{accountId}/addresses
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
AccountAddressNew| Name | Description | Type | Additional information |
|---|---|---|---|
| District | string | ||
| ZipCode | string | ||
| Address1 | string | ||
| Address2 | string | ||
| Latitude | decimal number | ||
| Longitude | decimal number | ||
| Notes | string | ||
| AddressTypeId | integer | ||
| CityId | integer | ||
| RequiredValue | boolean |
Request Formats
application/json, text/json
Sample:
{
"District": "sample string 1",
"ZipCode": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"Latitude": 1.1,
"Longitude": 1.1,
"Notes": "sample string 5",
"AddressTypeId": 6,
"CityId": 7,
"RequiredValue": true
}
text/html
Sample:
{"District":"sample string 1","ZipCode":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","Latitude":1.1,"Longitude":1.1,"Notes":"sample string 5","AddressTypeId":6,"CityId":7,"RequiredValue":true}
Response
integerResponse Format
application/json, text/json, text/html
Sample:
1