增加用户订单

URL地址:api/App/Order/AddOrder

请求方式:POST

传递参数

None.

传递对象

AddOrderEntity (用户订单对象)
名   称描   述参数类型附加信息
user

申请人

string

None.

contact

联系人

string

None.

phone

电话

string

None.

cardId

身份证/统一信用编码

string

None.

local

申请人地址

string

None.

zip

邮编

string

None.

userType

申请人类型

integer

None.

TmImg

商标图片地址

string

None.

TmName

商标名称

string

None.

uid

用户id

string

None.

opid

用户openid

string

None.

money

订单总金额

decimal number

None.

total

订单总产品数

integer

None.

prePayFee

订单定金

decimal number

None.

Class

商标类别

string

None.

application/json, text/json

Sample:
{
  "user": "sample string 1",
  "contact": "sample string 2",
  "phone": "sample string 3",
  "cardId": "sample string 4",
  "local": "sample string 5",
  "zip": "sample string 6",
  "userType": 7,
  "TmImg": "sample string 8",
  "TmName": "sample string 9",
  "uid": "sample string 10",
  "opid": "sample string 11",
  "money": 12.0,
  "total": 13,
  "prePayFee": 14.0,
  "Class": "sample string 15"
}

application/xml, text/xml

Sample:
<AddOrderEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Class>sample string 15</Class>
  <TmImg>sample string 8</TmImg>
  <TmName>sample string 9</TmName>
  <cardId>sample string 4</cardId>
  <contact>sample string 2</contact>
  <local>sample string 5</local>
  <money>12</money>
  <opid>sample string 11</opid>
  <phone>sample string 3</phone>
  <prePayFee>14</prePayFee>
  <total>13</total>
  <uid>sample string 10</uid>
  <user>sample string 1</user>
  <userType>7</userType>
  <zip>sample string 6</zip>
</AddOrderEntity>

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>