POST api/other/saveorder

Request Information

URI Parameters

None.

Body Parameters

OutSchoolPara
NameDescriptionTypeAdditional information
UserName

string

None.

UnitName

string

None.

IdCard

string

None.

PayAmount

decimal number

None.

ProductId

integer

None.

ProductName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "UnitName": "sample string 2",
  "IdCard": "sample string 3",
  "PayAmount": 4.0,
  "ProductId": 5,
  "ProductName": "sample string 6"
}

application/xml, text/xml

Sample:
<OutSchoolPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecSchoolWebApi.Models">
  <IdCard>sample string 3</IdCard>
  <PayAmount>4</PayAmount>
  <ProductId>5</ProductId>
  <ProductName>sample string 6</ProductName>
  <UnitName>sample string 2</UnitName>
  <UserName>sample string 1</UserName>
</OutSchoolPara>

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 'OutSchoolPara'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.