POST Api/AddressProvince/Add
Request Information
URI Parameters
None.
Body Parameters
AddressProvinceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Total | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"PageIndex": 4,
"PageSize": 5,
"Total": 6
}
application/xml, text/xml
Sample:
<AddressProvinceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model"> <_x003C_PageIndex_x003E_k__BackingField>4</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>5</_x003C_PageSize_x003E_k__BackingField> <_x003C_Total_x003E_k__BackingField>6</_x003C_Total_x003E_k__BackingField> <Code>sample string 2</Code> <Id>1</Id> <Name>sample string 3</Name> </AddressProvinceDto>
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.