POST api/CustomerAddress/UpdateAddress
Request Information
URI Parameters
None.
Body Parameters
AddressDto| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressId | integer |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
|
| CountryId | integer |
None. |
|
| HouseNo | string |
None. |
|
| Location | string |
None. |
|
| GeoLocation | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| CityDto | CityDto |
None. |
|
| CountryDto | CountryDto |
None. |
|
| StateDto | StateDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"addressId": 1,
"cityId": 2,
"stateId": 3,
"countryId": 4,
"houseNo": "sample string 5",
"location": "sample string 6",
"geoLocation": "sample string 7",
"latitude": "sample string 8",
"longitude": "sample string 9",
"cityDto": {
"$id": "2",
"cityId": 1,
"name": "sample string 2",
"stateId": 3,
"recordStatus": 64,
"stateDto": {
"$id": "3",
"stateId": 1,
"name": "sample string 2",
"countryId": 3,
"recordStatus": 64,
"countryDto": {
"$id": "4",
"countryId": 1,
"name": "sample string 2",
"recordStatus": 64,
"currencyId": 4,
"currencyDto": {
"$id": "5",
"currencyId": 1,
"code": "sample string 2",
"name": "sample string 3",
"recordStatus": 64
}
},
"cityDto": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"nearByStatesDto": [
{
"$id": "6",
"nearByStatesId": 1,
"parentStateId": 2,
"stateId": 3,
"recordStatus": 64
},
{
"$ref": "6"
}
]
}
},
"countryDto": {
"$ref": "4"
},
"stateDto": {
"$ref": "3"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpStatusCodeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| StatusDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.
