POST api/Apply

Request Information

URI Parameters

None.

Body Parameters

Apply
NameDescriptionTypeAdditional information
pid

integer

None.

count

integer

None.

order

integer

None.

used

integer

None.

type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pid": 1,
  "count": 2,
  "order": 3,
  "used": 4,
  "type": 5
}

application/xml, text/xml

Sample:
<Apply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NongYaoManageServices.Controllers">
  <count>2</count>
  <order>3</order>
  <pid>1</pid>
  <type>5</type>
  <used>4</used>
</Apply>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Apply'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>