http://maasglobal.com/maas-backend/itineraries/itinerary-create/request.json
Request schema for itineraries-create
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | maas-backend/itineraries/itinerary-create/request.json |
http://maasglobal.com/maas-backend/itineraries/itinerary-create/request.json
http://maasglobal.com/core/components/units.json
http://maasglobal.com/core/components/api-common.json
http://maasglobal.com/core/components/message.json
Property | Type | Group |
---|---|---|
customerSelections | object[] |
http://maasglobal.com/maas-backend/itineraries/itinerary-create/request.json#/definitions/outwardReturnWrapper |
itinerary | itinerary | http://maasglobal.com/maas-backend/itineraries/itinerary-create/request.json#/definitions/outwardReturnWrapper |
customerSelections
object[]
Array type: object[]
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
customerSelection |
Optional | |
ref |
Optional |
customerSelection
http://maasglobal.com/core/components/customerSelection.json
ref
http://maasglobal.com/core/product-option.json#/definitions/ref
itinerary
http://maasglobal.com/core/itinerary.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
identityId | complex | Optional | No | request (this schema) |
message | message | Optional | No | request (this schema) |
payload | object |
Optional | 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
identityId
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"
message
http://maasglobal.com/core/components/message.json
payload
object
object
with following properties:
Property | Type | Required |
---|---|---|
itinerary |
itinerary | Optional |
outward |
Optional | |
paymentSourceId |
string | Optional |
return |
Optional |
itinerary
http://maasglobal.com/core/itinerary.json
outward
#/definitions/outwardReturnWrapper
paymentSourceId
string
return
#/definitions/outwardReturnWrapper