POST api/powersuite/bws

Request Information

URI Parameters

None.

Body Parameters

请求

GenerateBookingRequest
NameDescriptionTypeAdditional information
docno

订单编号

string

None.

srvtype

服务类型

string

None.

ifautoinvoice

是否自动下单

string

None.

ifautosettlement

是否自动结算

string

None.

fop

支付方式Form Of Payment

string

None.

cardtype

CardType

string

None.

cardno

CardNO.

string

None.

expdate

ExpDate

date

None.

authcode

AuthCode

string

None.

ticketno

string

None.

Request Formats

application/json, text/json

Sample:
{
  "docno": "sample string 1",
  "srvtype": "sample string 2",
  "ifautoinvoice": "sample string 3",
  "ifautosettlement": "sample string 4",
  "fop": "sample string 5",
  "cardtype": "sample string 6",
  "cardno": "sample string 7",
  "expdate": "2024-12-23T20:11:52.3824215+08:00",
  "authcode": "sample string 9",
  "ticketno": "sample string 10"
}

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 'GenerateBookingRequest'.

Response Information

Resource Description

ReturnResultOfInt32
NameDescriptionTypeAdditional information
data

integer

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

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