maas-schemas

request Schema

http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json

Request schema for bookings-agency-options

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Develop No Forbidden Forbidden maas-backend/bookings/bookings-agency-options/request.json

Schema Hierarchy

request Definitions

Property Type Group
agencyId agencyId http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
bookingIdToExtend uuid http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
endTime time http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
from shortLocationString http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
fromAddress componentAddress http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
fromName placeName http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
fromRadius distance http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
mode travel-mode http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
startTime time http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
to shortLocationString http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
toAddress componentAddress http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
toName placeName http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload
toRadius distance http://maasglobal.com/maas-backend/bookings/bookings-agency-options/request.json#/definitions/payload

agencyId

agencyId

agencyId Type

bookingIdToExtend

bookingId to fetch possible extension options for

bookingIdToExtend

bookingIdToExtend Type

endTime

endTime

endTime Type

from

from

from Type

fromAddress

Componentized from address

fromAddress

fromAddress Type

fromName

The human understandable name for ‘from’

fromName

fromName Type

fromRadius

fromRadius

fromRadius Type

mode

mode

mode Type

startTime

startTime

startTime Type

to

to

to Type

toAddress

Componentized to address

toAddress

toAddress Type

toName

The human understandable name for ‘to’

toName

toName Type

toRadius

toRadius

toRadius Type

request Properties

Property Type Required Nullable Defined by
headers object Required No request (this schema)
identityId complex Required 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

identityId

identityId

identityId Type

Any following options needs to be fulfilled.

Option 1

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}$

Option 2

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}$

identityId Examples

"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"

payload

payload

payload Type

object with following properties:

Property Type Required
agencyId   Optional
bookingIdToExtend   Optional
endTime   Optional
from   Optional
fromAddress   Optional
fromName   Optional
fromRadius   Optional
mode   Optional
startTime   Optional
to   Optional
toAddress   Optional
toName   Optional
toRadius   Optional

agencyId

agencyId

agencyId Type

bookingIdToExtend

bookingId to fetch possible extension options for

bookingIdToExtend

bookingIdToExtend Type

endTime

endTime

endTime Type

from

from

from Type

fromAddress

Componentized from address

fromAddress

fromAddress Type

fromName

The human understandable name for ‘from’

fromName

fromName Type

fromRadius

fromRadius

fromRadius Type

mode

mode

mode Type

startTime

startTime

startTime Type

to

to

to Type

toAddress

Componentized to address

toAddress

toAddress Type

toName

The human understandable name for ‘to’

toName

toName Type

toRadius

toRadius

toRadius Type