maas-schemas

request Schema

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

Schema Hierarchy

request Properties

Property Type Required Nullable Defined by
headers object Optional No request (this schema)
payload object Required No request (this schema)

headers

headers

headers Type

object with following properties:

Property Type Required
Accept   Optional
X-Whim-User-Agent   Optional

Accept

Accept

Accept Type

X-Whim-User-Agent

X-Whim-User-Agent

X-Whim-User-Agent Type

payload

payload

payload Type

object with following properties:

Property Type Required
customerSelection customerSelection Optional
identityId anyOf Required
locale string Required
option   Required

customerSelection

customerSelection

customerSelection Type

identityId

identityId

identityId Type
identityId Examples
eu-west-1:4828507e-683f-41bf-9d87-689808fbf958
4828507e-683f-41bf-9d87-689808fbf958

locale

locale

locale Type

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

option

option Type

All of the following requirements need to be fulfilled.

Requirement 1

object with following properties:

Property Type Required
configurator   Optional
cost   Optional
leg   Optional
meta   Optional
terms   Optional
tspProduct object Optional

configurator

configurator

configurator Type

cost

cost

cost Type

leg

leg

leg Type

meta

meta

meta Type

terms

terms

terms Type

tspProduct

tspProduct

tspProduct Type

object with following properties:

Property Type Required
id string Optional

id

id

id Type

string

Requirement 2