POST api/tourgroup/alloment/hold

保留位置

Request Information

URI Parameters

None.

Body Parameters

TourGroupAllomentHoldReqContract
NameDescriptionTypeAdditional information
tourItemId

tourItemId

string

None.

adultqty

成人数量

integer

None.

chdqty

占床小童数量

integer

None.

uchdqty

不占床小童数量

integer

None.

infqty

婴儿数量

integer

None.

custname

客户名称

string

None.

custphone

客户电话

string

None.

depositamt

定金

decimal number

None.

specialrequest

特殊需求

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tourItemId": "sample string 1",
  "adultqty": 2,
  "chdqty": 3,
  "uchdqty": 4,
  "infqty": 5,
  "custname": "sample string 6",
  "custphone": "sample string 7",
  "depositamt": 8.0,
  "specialrequest": "sample string 9"
}

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

Response Information

Resource Description

保留位置

ReturnResultOfTourGroupAllomentHoldRspContract
NameDescriptionTypeAdditional information
data

TourGroupAllomentHoldRspContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

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