POST api/Canshu/post1

Request Information

URI Parameters

None.

Body Parameters

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"
}

application/xml, text/xml

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

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>