PUT api/v2/accounts/{accountId}/addresses/{accountAddressId}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| accountAddressId | integer |
Required |
Body Parameters
AccountAddressUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | ||
| 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:
{
"Id": 1,
"District": "sample string 2",
"ZipCode": "sample string 3",
"Address1": "sample string 4",
"Address2": "sample string 5",
"Latitude": 1.1,
"Longitude": 1.1,
"Notes": "sample string 6",
"AddressTypeId": 7,
"CityId": 8,
"RequiredValue": true
}
text/html
Sample:
{"Id":1,"District":"sample string 2","ZipCode":"sample string 3","Address1":"sample string 4","Address2":"sample string 5","Latitude":1.1,"Longitude":1.1,"Notes":"sample string 6","AddressTypeId":7,"CityId":8,"RequiredValue":true}
Response
IHttpActionResultResponse Format
application/json, text/json, text/html
Sample:
Sample not available.