POST api/Canshu/post3

Request Information

URI Parameters

None.

Body Parameters

Collection of TB_CHARGING
NameDescriptionTypeAdditional information
id

string

None.

name

string

None.

bir

string

None.

公司

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "bir": "sample string 3",
    "公司": "sample string 4"
  },
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "bir": "sample string 3",
    "公司": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCanshuController.TB_CHARGING xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Controllers">
  <CanshuController.TB_CHARGING>
    <bir>sample string 3</bir>
    <id>sample string 1</id>
    <name>sample string 2</name>
    <公司>sample string 4</公司>
  </CanshuController.TB_CHARGING>
  <CanshuController.TB_CHARGING>
    <bir>sample string 3</bir>
    <id>sample string 1</id>
    <name>sample string 2</name>
    <公司>sample string 4</公司>
  </CanshuController.TB_CHARGING>
</ArrayOfCanshuController.TB_CHARGING>

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 'List`1'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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