POST api/orderLine/OrderAdd

Request Information

URI Parameters

None.

Body Parameters

OrderLineAddReq
NameDescriptionTypeAdditional information
uuid

string

None.

userId

string

None.

goods

integer

None.

passMethod

string

None.

beishu

integer

None.

fenshu

integer

None.

remark

string

None.

outOrder

integer

None.

listDtl

Collection of JingcaiOrderDtl

None.

imgBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uuid": "sample string 1",
  "userId": "sample string 2",
  "goods": 3,
  "passMethod": "sample string 4",
  "beishu": 5,
  "fenshu": 6,
  "remark": "sample string 7",
  "outOrder": 8,
  "listDtl": [
    {
      "title": "sample string 1",
      "result": "sample string 2"
    },
    {
      "title": "sample string 1",
      "result": "sample string 2"
    }
  ],
  "imgBase64": "sample string 9"
}

application/xml, text/xml

Sample:
<OrderLineAddReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.AppApi.Controllers">
  <beishu>5</beishu>
  <fenshu>6</fenshu>
  <goods>3</goods>
  <imgBase64>sample string 9</imgBase64>
  <listDtl>
    <JingcaiOrderDtl>
      <result>sample string 2</result>
      <title>sample string 1</title>
    </JingcaiOrderDtl>
    <JingcaiOrderDtl>
      <result>sample string 2</result>
      <title>sample string 1</title>
    </JingcaiOrderDtl>
  </listDtl>
  <outOrder>8</outOrder>
  <passMethod>sample string 4</passMethod>
  <remark>sample string 7</remark>
  <userId>sample string 2</userId>
  <uuid>sample string 1</uuid>
</OrderLineAddReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultMsg
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "code": 3
}

application/xml, text/xml

Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.Model">
  <Code>3</Code>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResultMsg>