POST v2/Address
Request Information
URI Parameters
None.
Body Parameters
ApiFromBodyAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| Address | string |
Required String length: inclusive between 0 and 100 |
|
| City | string |
Required String length: inclusive between 0 and 50 |
|
| PostalCode | string |
String length: inclusive between 0 and 15 |
|
| Province | string |
String length: inclusive between 0 and 50 |
|
| AddressCountryId | byte |
None. |
|
| AddressISOCountryCode | string |
Required |
|
| AddressAlias | string |
String length: inclusive between 0 and 50 |
|
| IsAddressDefault | boolean |
None. |
|
| PersonId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"address": "sample string 1",
"city": "sample string 2",
"postalCode": "sample string 3",
"province": "sample string 4",
"addressCountryId": 64,
"addressISOCountryCode": "sample string 6",
"addressAlias": "sample string 7",
"isAddressDefault": true,
"personId": 9
}
multipart/form-data
Sample:
{"address":"sample string 1","city":"sample string 2","postalCode":"sample string 3","province":"sample string 4","addressCountryId":64,"addressISOCountryCode":"sample string 6","addressAlias":"sample string 7","isAddressDefault":true,"personId":9}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.