http://maasglobal.com/maas-backend/routes/routes-query/request.json
Request schema for routes query
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Develop | No | Forbidden | Permitted | maas-backend/routes/routes-query/request.json |
http://maasglobal.com/maas-backend/routes/routes-query/request.json
http://maasglobal.com/core/components/units.json
http://maasglobal.com/core/components/api-common.json
Property | Type | Group |
---|---|---|
arriveBy | time | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
arriveByReturn | time | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
bookingIdToExtend | uuid | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
from | shortLocationString | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
fromAddress | componentAddress | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
fromName | placeName | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
fromStationId | id | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
leaveAt | time | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
leaveAtReturn | time | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
modes | enum |
http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
options | object |
http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
to | shortLocationString | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
toAddress | componentAddress | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
toName | placeName | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
toStationId | id | http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
transitMode | enum |
http://maasglobal.com/maas-backend/routes/routes-query/request.json#/definitions/payload |
arriveBy
http://maasglobal.com/core/components/units.json#/definitions/time
arriveByReturn
http://maasglobal.com/core/components/units.json#/definitions/time
bookingId to fetch possible extension options for
bookingIdToExtend
http://maasglobal.com/core/components/units.json#/definitions/uuid
from
http://maasglobal.com/core/components/units-geo.json#/definitions/shortLocationString
Componentized from address
fromAddress
http://maasglobal.com/core/components/address.json#/definitions/componentAddress
fromName
http://maasglobal.com/core/components/address.json#/definitions/placeName
fromStationId
http://maasglobal.com/core/components/station.json#/definitions/id
leaveAt
http://maasglobal.com/core/components/units.json#/definitions/time
leaveAtReturn
http://maasglobal.com/core/components/units.json#/definitions/time
modes
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
PUBLIC_TRANSIT |
|
TAXI |
|
CAR |
|
WALK |
|
BICYCLE |
|
BICYCLE_RENT |
options
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
to
http://maasglobal.com/core/components/units-geo.json#/definitions/shortLocationString
Componentized to address
toAddress
http://maasglobal.com/core/components/address.json#/definitions/componentAddress
toName
http://maasglobal.com/core/components/address.json#/definitions/placeName
toStationId
http://maasglobal.com/core/components/station.json#/definitions/id
transitMode
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
TRAIN |
|
BUS |
|
SUBWAY |
|
TRAM |
|
RAIL |
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
identityId | complex | Required | No | request (this schema) |
payload | object |
Required | No | request (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
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"
payload
object
object
with following properties:
Property | Type | Required |
---|---|---|
arriveBy |
Optional | |
arriveByReturn |
Optional | |
bookingIdToExtend |
Optional | |
from |
Required | |
fromAddress |
Optional | |
fromName |
Optional | |
fromStationId |
Optional | |
leaveAt |
Optional | |
leaveAtReturn |
Optional | |
modes |
string | Optional |
options |
object | Optional |
to |
Required | |
toAddress |
Optional | |
toName |
Optional | |
toStationId |
Optional | |
transitMode |
string | Optional |
arriveBy
http://maasglobal.com/core/components/units.json#/definitions/time
arriveByReturn
http://maasglobal.com/core/components/units.json#/definitions/time
bookingId to fetch possible extension options for
bookingIdToExtend
http://maasglobal.com/core/components/units.json#/definitions/uuid
from
http://maasglobal.com/core/components/units-geo.json#/definitions/shortLocationString
Componentized from address
fromAddress
http://maasglobal.com/core/components/address.json#/definitions/componentAddress
fromName
http://maasglobal.com/core/components/address.json#/definitions/placeName
fromStationId
http://maasglobal.com/core/components/station.json#/definitions/id
leaveAt
http://maasglobal.com/core/components/units.json#/definitions/time
leaveAtReturn
http://maasglobal.com/core/components/units.json#/definitions/time
modes
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
PUBLIC_TRANSIT |
|
TAXI |
|
CAR |
|
WALK |
|
BICYCLE |
|
BICYCLE_RENT |
options
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
to
http://maasglobal.com/core/components/units-geo.json#/definitions/shortLocationString
Componentized to address
toAddress
http://maasglobal.com/core/components/address.json#/definitions/componentAddress
toName
http://maasglobal.com/core/components/address.json#/definitions/placeName
toStationId
http://maasglobal.com/core/components/station.json#/definitions/id
transitMode
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
TRAIN |
|
BUS |
|
SUBWAY |
|
TRAM |
|
RAIL |