http://maasglobal.com/maas-backend/stations/stations-list/request.json
Request schema for stations list
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/stations/stations-list/request.json |
http://maasglobal.com/maas-backend/stations/stations-list/request.json
http://maasglobal.com/core/components/units.json
http://maasglobal.com/core/components/api-common.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
identityId | complex | Required | No | request (this schema) |
payload | complex | Required | 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"
payload
One of the following conditions need to be fulfilled.
object
with following properties:
Property | Type | Required |
---|---|---|
agencyId |
Required | |
lat |
Required | |
lon |
Required | |
radius |
integer | Optional |
type |
Required |
agencyId
http://maasglobal.com/core/components/common.json#/definitions/agencyId
lat
http://maasglobal.com/core/components/units-geo.json#/definitions/relaxedLatitude
lon
http://maasglobal.com/core/components/units-geo.json#/definitions/relaxedLatitude
radius
integer
integer
0
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
origin |
|
destination |
|
viaAvoid |
object
with following properties:
Property | Type | Required |
---|---|---|
agencyId |
Required | |
count |
integer | Required |
name |
string | Required |
type |
Required |
agencyId
http://maasglobal.com/core/components/common.json#/definitions/agencyId
count
integer
integer
1
name
string
string
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
origin |
|
destination |
|
viaAvoid |