POST api/CaiNiaoAPI/AddOrder

Request Information

URI Parameters

None.

Body Parameters

CNBillViewModel
NameDescriptionTypeAdditional information
Phone

string

None.

CustNo

string

None.

SendDate

string

None.

SendBeginTime

string

None.

SendEndTime

string

None.

GoodsNO

string

None.

FQty

integer

None.

Remark

string

None.

FCouponKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "CustNo": "sample string 2",
  "SendDate": "sample string 3",
  "SendBeginTime": "sample string 4",
  "SendEndTime": "sample string 5",
  "GoodsNO": "sample string 6",
  "FQty": 1,
  "Remark": "sample string 7",
  "FCouponKey": 1
}

application/xml, text/xml

Sample:
<CNBillViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
  <CustNo>sample string 2</CustNo>
  <FCouponKey>1</FCouponKey>
  <FQty>1</FQty>
  <GoodsNO>sample string 6</GoodsNO>
  <Phone>sample string 1</Phone>
  <Remark>sample string 7</Remark>
  <SendBeginTime>sample string 4</SendBeginTime>
  <SendDate>sample string 3</SendDate>
  <SendEndTime>sample string 5</SendEndTime>
</CNBillViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": 4
}

application/xml, text/xml

Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response>4</Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfint>