增加用户订单明细
URL地址:api/App/Orders/InsertOrders
请求方式:POST
传递参数
None.
传递对象
OrdersEntity (用户订单明细对象)名 称 | 描 述 | 参数类型 | 附加信息 |
---|---|---|---|
Id |
编号 |
integer |
None. |
OrderId |
订单号 |
integer |
None. |
OutTradeNo |
商户订单号 |
string |
None. |
TmType |
商标类别 |
string |
None. |
SpNum |
商品个数 |
integer |
None. |
TmGroups |
群组 |
string |
None. |
TotalFee |
订单总金额 |
decimal number |
None. |
Money |
订单金额 |
decimal number |
None. |
FTime |
付款时间 |
date |
None. |
RefundFee |
退款金额 |
decimal number |
None. |
RefundTime |
退款时间 |
date |
None. |
Remark |
备注 |
string |
None. |
ReTime |
录入时间 |
date |
None. |
application/json, text/json
Sample:
{ "Id": 1, "OrderId": 2, "OutTradeNo": "sample string 3", "TmType": "sample string 4", "SpNum": 5, "TmGroups": "sample string 6", "TotalFee": 7.0, "Money": 8.0, "FTime": "2021-03-08T11:24:56.3763507+08:00", "RefundFee": 10.0, "RefundTime": "2021-03-08T11:24:56.3763507+08:00", "Remark": "sample string 12", "ReTime": "2021-03-08T11:24:56.3763507+08:00" }
application/xml, text/xml
Sample:
<OrdersEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models"> <FTime>2021-03-08T11:24:56.3763507+08:00</FTime> <Id>1</Id> <Money>8</Money> <OrderId>2</OrderId> <OutTradeNo>sample string 3</OutTradeNo> <ReTime>2021-03-08T11:24:56.3763507+08:00</ReTime> <RefundFee>10</RefundFee> <RefundTime>2021-03-08T11:24:56.3763507+08:00</RefundTime> <Remark>sample string 12</Remark> <SpNum>5</SpNum> <TmGroups>sample string 6</TmGroups> <TmType>sample string 4</TmType> <TotalFee>7</TotalFee> </OrdersEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
返回对象
HttpResultMessageOfBoolean (bool)名 称 | 描 述 | 参数类型 | 附加信息 |
---|---|---|---|
StatusCode | HttpStatusCode |
None. |
|
Errors | Dictionary of string [key] and string [value] |
None. |
|
Msg | string |
None. |
|
message | string |
None. |
|
Result | boolean |
None. |
返回对象格式
application/json, text/json
Sample:
{ "StatusCode": 100, "Errors": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "Msg": "sample string 1", "message": "sample string 2", "Result": true }
application/xml, text/xml
Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </Errors> <Msg>sample string 1</Msg> <Result>true</Result> <StatusCode>Continue</StatusCode> <message>sample string 2</message> </HttpResultMessageOfboolean>