POST Api/AddressTown/GetList

Request Information

URI Parameters

None.

Body Parameters

AddressTownDto
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

CityCode

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",
  "CityCode": "sample string 4",
  "PageIndex": 5,
  "PageSize": 6,
  "Total": 7
}

application/xml, text/xml

Sample:
<AddressTownDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
  <_x003C_PageIndex_x003E_k__BackingField>5</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>6</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>7</_x003C_Total_x003E_k__BackingField>
  <CityCode>sample string 4</CityCode>
  <Code>sample string 2</Code>
  <Id>1</Id>
  <Name>sample string 3</Name>
</AddressTownDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.