POST Addressort/Update
Request Information
URI Parameters
None.
Body Parameters
Addressort| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Province | string |
None. |
|
| Ward | string |
None. |
|
| IsUse | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Province": "sample string 2",
"Ward": "sample string 3",
"IsUse": true
}
application/xml, text/xml
Sample:
<Addressort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Models"> <ID>1</ID> <IsUse>true</IsUse> <Province>sample string 2</Province> <Ward>sample string 3</Ward> </Addressort>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.