http://maasglobal.com/maas-backend/webhooks/webhooks-bookings-create/request.json
Request schema for webhooks-bookings-create
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/webhooks/webhooks-bookings-create/request.json |
http://maasglobal.com/maas-backend/webhooks/webhooks-bookings-create/request.json
http://maasglobal.com/core/components/api-common.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
payload | object |
Required | No | request (this schema) |
headers
object
object
with following properties:
Property | Type | Required |
---|---|---|
Accept |
Optional | |
X-Whim-User-Agent |
Optional |
Accept
#/definitions/acceptHeader
X-Whim-User-Agent
#/definitions/userAgentHeader
payload
object
object
with following properties:
Property | Type | Required |
---|---|---|
customerSelection |
customerSelection | Optional |
identityId |
anyOf | Required |
locale |
string | Required |
option |
Required |
customerSelection
http://maasglobal.com/core/components/customerSelection.json
identityId
http://maasglobal.com/core/components/units.json#/definitions/identityId
eu-west-1:4828507e-683f-41bf-9d87-689808fbf958
4828507e-683f-41bf-9d87-689808fbf958
locale
string
All instances must conform to this regular expression (test examples here):
^[a-z]{2,3}(?:-[a-zA-Z]{4})?(?:-[A-Z]{2,3})?$
option
All of the following requirements need to be fulfilled.
object
with following properties:
Property | Type | Required |
---|---|---|
configurator |
Optional | |
cost |
Optional | |
leg |
Optional | |
meta |
Optional | |
terms |
Optional | |
tspProduct |
object | Optional |
configurator
http://maasglobal.com/core/booking.json#/definitions/configurator
cost
http://maasglobal.com/core/booking.json#/definitions/cost
leg
http://maasglobal.com/core/booking.json#/definitions/leg
meta
http://maasglobal.com/core/booking-meta.json
terms
http://maasglobal.com/core/booking.json#/definitions/terms
tspProduct
object
object
with following properties:
Property | Type | Required |
---|---|---|
id |
string | Optional |
id
string
string