http://maasglobal.com/tsp/booking-options-list/request.json
Request schema for getting options from a TSP adapter.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | No | Develop | No | Forbidden | Permitted | tsp/booking-options-list/request.json |
http://maasglobal.com/tsp/booking-options-list/request.json
http://maasglobal.com/core/components/travel-mode.jsonhttp://maasglobal.com/core/components/units.jsonhttp://maasglobal.com/core/components/units-geo.jsonhttp://maasglobal.com/core/booking.jsonhttp://maasglobal.com/core/components/common.json| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| distance | number |
Optional | No | request (this schema) |
| endTime | integer |
Optional | No | request (this schema) |
| extraOptions | string |
Optional | No | request (this schema) |
| from | string |
Required | No | request (this schema) |
| fromAddress | complex | Optional | No | request (this schema) |
| fromName | complex | Optional | No | request (this schema) |
| fromRadius | number |
Optional | No | request (this schema) |
| mode | travel-mode | Optional | No | request (this schema) |
| purchasingAppInstanceId | string |
Optional | No | request (this schema) |
| startTime | integer |
Required | No | request (this schema) |
| to | complex | Optional | No | request (this schema) |
| toAddress | complex | Optional | No | request (this schema) |
| toName | complex | Optional | No | request (this schema) |
| toRadius | number |
Optional | No | request (this schema) |
| tspIdToExtend | string |
Optional | No | request (this schema) |
| tspProductIds | string |
Optional | No | request (this schema) |
^(optionalParameters).+ |
multiple | Pattern | No | request (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
Distance in meters
distance
numbernumber
0400750001POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
endTime
integerinteger
14516064009007199254740991An arbitrary string passed on a per-TSP basis, e.g. user’s subscription period
extraOptions
stringstring
Geographic latitude-longitude number-pair as a string in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System
from
stringstring
^[+-]?\d{1,3}(\.\d+)?,[+-]?\d{1,3}(\.\d+)?$
fromAddress
Any following options needs to be fulfilled.
http://maasglobal.com/core/components/address.json#/definitions/componentAddressstring
fromName
Any following options needs to be fulfilled.
http://maasglobal.com/core/components/address.json#/definitions/placeNamestring
‘from’ location radius in meters
fromRadius
numbernumber
0400750001mode
http://maasglobal.com/core/components/travel-mode.jsonappInstanceId to use for options and purchase
purchasingAppInstanceId
stringstring
POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
startTime
integerinteger
14516064009007199254740991to
Any following options needs to be fulfilled.
http://maasglobal.com/core/components/units-geo.json#/definitions/shortLocationStringstring
toAddress
Any following options needs to be fulfilled.
http://maasglobal.com/core/components/address.json#/definitions/componentAddressstring
toName
Any following options needs to be fulfilled.
http://maasglobal.com/core/components/address.json#/definitions/placeNamestring
‘to’ location radius in meters
toRadius
numbernumber
0400750001Request for possible booking extension options for tspId
tspIdToExtend
stringstring
Comma-separated list of tspProductIds that the user has access to
tspProductIds
stringstring
^(optionalParameters).+Applies to all properties that match the regular expression ^(optionalParameters).+
^(optionalParameters).+
Unknown type string,number,boolean.
{
"type": ["string", "number", "boolean"],
"simpletype": "multiple"
}