POST api/{projectID}/UpdateAddress
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectID | integer |
Required |
Body Parameters
UpdateAddressRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
None. |
|
| address | Address |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"address": {
"addressId": "sample string 1",
"contactName": "sample string 2",
"contactPhone": "sample string 3",
"city": "sample string 4",
"district": "sample string 5",
"neighborhood": "sample string 6",
"address": "sample string 7",
"addressName": "sample string 8"
}
}
application/xml, text/xml
Sample:
<UpdateAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
<address>
<address>sample string 7</address>
<addressId>sample string 1</addressId>
<addressName>sample string 8</addressName>
<city>sample string 4</city>
<contactName>sample string 2</contactName>
<contactPhone>sample string 3</contactPhone>
<district>sample string 5</district>
<neighborhood>sample string 6</neighborhood>
</address>
<userId>sample string 1</userId>
</UpdateAddressRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BasicResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| successMessage | string |
None. |
|
| errorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"successMessage": "sample string 2",
"errorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<BasicResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi"> <errorMessage>sample string 3</errorMessage> <isSuccess>true</isSuccess> <successMessage>sample string 2</successMessage> </BasicResponse>