http://maasglobal.com/maas-backend/booking-option-create/request.json
Request schema for booking-option-create
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | maas-backend/booking-option-create/request.json |
http://maasglobal.com/maas-backend/booking-option-create/request.json
http://maasglobal.com/core/components/units.jsonhttp://maasglobal.com/core/components/api-common.json| Property | Type | Group |
|---|---|---|
| agencyOptions | agencyOptions | http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
| autoPurchaseId | uuid | http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
| customerSelection | customerSelection | http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
| paymentSourceId | paymentSourceId | http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
| productId | id | http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
| rollbackOnFailure | boolean |
http://maasglobal.com/maas-backend/booking-option-create/request.json#/definitions/option |
agencyOptions
http://maasglobal.com/core/components/agencyOptions.jsonautoPurchaseId
http://maasglobal.com/core/components/units.json#/definitions/uuidcustomerSelection
http://maasglobal.com/core/components/customerSelection.jsonpaymentSourceId
http://maasglobal.com/core/components/common.json#/definitions/paymentSourceIdproductId
http://maasglobal.com/core/product.json#/definitions/idIf one of these is true, then all bookings will be cancelled
rollbackOnFailure
booleanboolean
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| headers | object |
Required | No | request (this schema) |
| identityId | complex | Required | No | request (this schema) |
| payload | option | Required | No | request (this schema) |
headers
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
Accept |
Optional | |
X-Whim-User-Agent |
Optional |
Accept
#/definitions/acceptHeaderX-Whim-User-Agent
#/definitions/userAgentHeaderidentityId
Any following options needs to be fulfilled.
string
All instances must conform to this regular expression
^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
payload
Array type: option
All items must be of the type:
#/definitions/option