POST api/wifibb/createorder

创建订单

Request Information

URI Parameters

None.

Body Parameters

ProductBookReqContract
NameDescriptionTypeAdditional information
Qguid

唯一标识

string

None.

lang

语言

string

None.

SurName

姓氏

string

None.

Name

名字

string

None.

Email

电邮

string

None.

TelPhone

电话

string

None.

CreateIP

IP

string

None.

Remark

备注

string

None.

RefOrderNo

供应商订单号

string

None.

IsDeposit

是否需要押金

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Qguid": "sample string 1",
  "lang": "sample string 2",
  "SurName": "sample string 3",
  "Name": "sample string 4",
  "Email": "sample string 5",
  "TelPhone": "sample string 6",
  "CreateIP": "sample string 7",
  "Remark": "sample string 8",
  "RefOrderNo": "sample string 9",
  "IsDeposit": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductBookReqContract'.

Response Information

Resource Description

创建订单

ReturnResultOfProductBookRespContract
NameDescriptionTypeAdditional information
data

ProductBookRespContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "OrderID": 1,
    "OrderCode": "sample string 2"
  },
  "code": 1,
  "message": "sample string 2"
}