POST api/orderLine/OrderAdd
Request Information
URI Parameters
None.
Body Parameters
OrderLineAddReq| Name | Description | Type | Additional information |
|---|---|---|---|
| uuid | string |
None. |
|
| userId | string |
None. |
|
| goods | integer |
None. |
|
| passType | string |
None. |
|
| passMethod | string |
None. |
|
| zhushu | integer |
None. |
|
| beishu | integer |
None. |
|
| fenshu | integer |
None. |
|
| yujiJiangjin | decimal number |
None. |
|
| printPrms | string |
None. |
|
| remark | string |
None. |
|
| outOrder | integer |
None. |
|
| orderTime | date |
None. |
|
| listDtl | Collection of OrderDtlAddReq |
None. |
|
| listPassMethod | Collection of PassMethodAddReq |
None. |
Request Formats
application/json, text/json
Sample:
{
"uuid": "sample string 1",
"userId": "sample string 2",
"goods": 3,
"passType": "sample string 4",
"passMethod": "sample string 5",
"zhushu": 6,
"beishu": 7,
"fenshu": 8,
"yujiJiangjin": 9.0,
"printPrms": "sample string 10",
"remark": "sample string 11",
"outOrder": 12,
"orderTime": "2026-06-06 05:14:24",
"listDtl": [
{
"matchId": "sample string 1",
"goodsType": "sample string 2",
"type": "sample string 3",
"odds": "sample string 4",
"rang": 5.0
},
{
"matchId": "sample string 1",
"goodsType": "sample string 2",
"type": "sample string 3",
"odds": "sample string 4",
"rang": 5.0
}
],
"listPassMethod": [
{
"passMethod": "sample string 1",
"content": "sample string 2",
"jiangjin": 3.0
},
{
"passMethod": "sample string 1",
"content": "sample string 2",
"jiangjin": 3.0
}
]
}
application/xml, text/xml
Sample:
<OrderLineAddReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.WebApi.Controllers">
<beishu>7</beishu>
<fenshu>8</fenshu>
<goods>3</goods>
<listDtl>
<OrderDtlAddReq>
<goodsType>sample string 2</goodsType>
<matchId>sample string 1</matchId>
<odds>sample string 4</odds>
<rang>5</rang>
<type>sample string 3</type>
</OrderDtlAddReq>
<OrderDtlAddReq>
<goodsType>sample string 2</goodsType>
<matchId>sample string 1</matchId>
<odds>sample string 4</odds>
<rang>5</rang>
<type>sample string 3</type>
</OrderDtlAddReq>
</listDtl>
<listPassMethod>
<PassMethodAddReq>
<content>sample string 2</content>
<jiangjin>3</jiangjin>
<passMethod>sample string 1</passMethod>
</PassMethodAddReq>
<PassMethodAddReq>
<content>sample string 2</content>
<jiangjin>3</jiangjin>
<passMethod>sample string 1</passMethod>
</PassMethodAddReq>
</listPassMethod>
<orderTime>2026-06-06T05:14:24.0077283+08:00</orderTime>
<outOrder>12</outOrder>
<passMethod>sample string 5</passMethod>
<passType>sample string 4</passType>
<printPrms>sample string 10</printPrms>
<remark>sample string 11</remark>
<userId>sample string 2</userId>
<uuid>sample string 1</uuid>
<yujiJiangjin>9</yujiJiangjin>
<zhushu>6</zhushu>
</OrderLineAddReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/plain
Sample:
Sample not available.
Response Information
Resource Description
ResultMsg| Name | Description | Type | Additional 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>