Download OpenAPI specification:Download
Information on shopping promotions at Westfield malls.
Request an array of enclosures filtered by allowed parameters.
centre_id | string Centre identifier. Request enclosures associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "enclosure_id": 0,
- "name": "string",
- "enabled": true,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": "string",
- "ada_waypoint_id": "string"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of an enclosure from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create an enclosure.
kiosk_centre_id required | integer Kiosk centre identifier. |
name | string Enclosure name. |
waypoint_id | string Waypoint identifier. |
reset_timeout | integer Enclosure reset timeout in seconds. |
{- "kiosk_centre_id": 0,
- "name": "string",
- "waypoint_id": "string",
- "reset_timeout": 0
}
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "enclosure_id": 0,
- "name": "string",
- "enabled": true,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": "string",
- "ada_waypoint_id": "string"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single enclosure.
enclosure_id required | integer Enclosure identifier. Request the enclosure with enclosure_id. |
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "enclosure_id": 0,
- "name": "string",
- "enabled": true,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": "string",
- "ada_waypoint_id": "string"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of an enclosure from JSON data in the request body.
enclosure_id required | integer Enclosure identifier. Request to update the enclosure with enclosure_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update an enclosure.
kiosk_centre_id | integer Kiosk centre identifier. |
name | string Enclosure name. |
reset_timeout | integer Enclosure reset timeout. |
waypoint_id | string Waypoint identifier. |
{- "kiosk_centre_id": 0,
- "name": "string",
- "reset_timeout": 0,
- "waypoint_id": "string"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of an enclosure.
enclosure_id required | integer Enclosure identifier. Request the enclosure with enclosure_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
{- "data": [
- {
- "category_ids": [
- 0
], - "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "default_language": "string",
- "enabled": true,
- "features": [
- "string"
], - "kiosk_centre_id": 0,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a kiosk centre from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a kiosk centre.
category_ids | Array of integers |
centre_id required | string Centre identifier. Identifier to retrieve the centre related to this kiosk centre. |
features | Array of strings |
landing_page | string Kiosk centre landing page. |
languages | Array of strings Items Enum: "en_US" "en_GB" "es_ES" "it_IT" "fr_FR" "de_DE" "pt_PT" "ja_JP" "zh_CN" "ar_SA" "he_IL" "ru_RU" |
{- "category_ids": [
- 0
], - "centre_id": "string",
- "features": [
- "string"
], - "landing_page": "string",
- "languages": [
- "en_US"
]
}
{- "data": {
- "category_ids": [
- 0
], - "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "default_language": "string",
- "enabled": true,
- "features": [
- "string"
], - "kiosk_centre_id": 0,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single kiosk centre.
kiosk_centre_id required | integer Example: 24585 Kiosk centre identifier. Request the kiosk centre with kiosk_centre_id. |
{- "data": {
- "category_ids": [
- 0
], - "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "default_language": "string",
- "enabled": true,
- "features": [
- "string"
], - "kiosk_centre_id": 0,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a kiosk centre from JSON data in the request body.
kiosk_centre_id required | integer Kiosk centre identifier. Request to update the kiosk centre with kiosk_centre_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a kiosk centre.
category_ids | Array of integers |
features | Array of strings |
landing_page | string Kiosk centre landing page. |
languages | Array of strings Items Enum: "en_US" "en_GB" "es_ES" "it_IT" "fr_FR" "de_DE" "pt_PT" "ja_JP" "zh_CN" "ar_SA" "he_IL" "ru_RU" |
{- "category_ids": [
- 0
], - "features": [
- "string"
], - "landing_page": "string",
- "languages": [
- "en_US"
]
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a kiosk centre.
kiosk_centre_id required | integer Kiosk centre identifier. Request to delete the kioks centre with kiosk_centre_id. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of directories.
enclosure_id | string Enclosure identifier. Request directories associated with a kiosk_centre that has enclosure_id. |
{- "data": [
- {
- "ada_waypoint_id": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "default_language": "string",
- "directory_id": 0,
- "enabled": true,
- "enclosure_id": 0,
- "features": [
- "string"
], - "heading": 1,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "name": "string",
- "template": "string",
- "waypoint_id": "string",
- "healthcheck": true
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a directory from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a directory.
category_ids | Array of integers Category identifiers. List of identifiers to retrieve categories related to the centre identified by centre_id. |
centre_id | string Centre identifier. Identifier to retrieve the centre related to this kiosk_centre directory. |
enabled | boolean Directory is enabled (true) or not enabled (false). |
enclosure_id | integer Enclosure identifier. Identifier to retrieve the enclosure related to this kiosk_centre directory. |
features | Array of strings List of features available on this kiosk_centre directory for the centre identified by centre_id. |
heading | integer Directory heading number. |
landing_page | string Landing page for this kiosk_centre directory. |
languages | Array of strings Items Enum: "en_US" "en_GB" "es_ES" "it_IT" "fr_FR" "de_DE" "pt_PT" "ja_JP" "zh_CN" "ar_SA" "he_IL" "ru_RU" List of languages available on this kiosk_centre directory. |
name | string Directory name. |
template | string Directory template. |
waypoint_id | string Waypoint identifier. Identifier to retrieve the waypoint related to the enclosure for this kiosk-centre directory. |
{- "category_ids": [
- 0
], - "centre_id": "string",
- "enabled": true,
- "enclosure_id": 0,
- "features": [
- "string"
], - "heading": 0,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "name": "string",
- "template": "string",
- "waypoint_id": "string"
}
{- "data": {
- "ada_waypoint_id": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "default_language": "string",
- "directory_id": 0,
- "enabled": true,
- "enclosure_id": 0,
- "features": [
- "string"
], - "heading": 1,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "name": "string",
- "template": "string",
- "waypoint_id": "string",
- "healthcheck": true
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single directory.
directory_id required | integer Directory identifier. Request the directory with directory_id. |
{- "data": {
- "ada_waypoint_id": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "default_language": "string",
- "directory_id": 0,
- "enabled": true,
- "enclosure_id": 0,
- "features": [
- "string"
], - "heading": 1,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "name": "string",
- "template": "string",
- "waypoint_id": "string",
- "healthcheck": true
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a directory from JSON data in the request body.
directory_id required | integer Directory identifier. Request to update the directory with directory_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a directory.
category_ids | Array of integers Category identifiers. List of identifiers to retrieve categories related to the centre identified by centre_id. |
centre_id | string Centre identifier. Identifier to retrieve the centre related to this kiosk_centre directory. |
enabled | boolean Directory is enabled (true) or not enabled (false). |
enclosure_id | integer Enclosure identifier. Identifier to retrieve the enclosure related to this kiosk_centre directory. |
features | Array of strings List of features available on this kiosk_centre directory for the centre identified by centre_id. |
heading | integer Directory heading number. |
landing_page | string Landing page for this kiosk_centre directory. |
languages | Array of strings Items Enum: "en_US" "en_GB" "es_ES" "it_IT" "fr_FR" "de_DE" "pt_PT" "ja_JP" "zh_CN" "ar_SA" "he_IL" "ru_RU" List of languages available on this kiosk_centre directory. |
name | string Directory name. |
template | string Directory template. |
waypoint_id | string Waypoint identifier. Identifier to retrieve the waypoint related to the enclosure for this kiosk-centre directory. |
{- "category_ids": [
- 0
], - "centre_id": "string",
- "enabled": true,
- "enclosure_id": 0,
- "features": [
- "string"
], - "heading": 0,
- "landing_page": "string",
- "languages": [
- "en_US"
], - "name": "string",
- "template": "string",
- "waypoint_id": "string"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a directory.
directory_id required | integer Directory identifier. Request to delete the directory with directory_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of slugs filtered by allowed parameters.
centre_id | string Centre identifier. Request slugs associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "slug": "string",
- "slug_description": "string",
- "slug_id": 0,
- "value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a slug from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a slug.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this slug. |
value required | string Value of slug. |
slug_description required | string Description of slug. |
{- "kiosk_centre_id": 0,
- "value": "string",
- "slug_description": "string"
}
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "slug": "string",
- "slug_description": "string",
- "slug_id": 0,
- "value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single slug.
slug_id required | integer Slug identifier. Request the slug with slug_id. |
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "slug": "string",
- "slug_description": "string",
- "slug_id": 0,
- "value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a slug from JSON data in the request body.
slug_id required | integer Slug identifier. Request to update the slug with slug_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a slug.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this slug. |
slug_description required | string Description of slug. |
value required | integer Value of slug. |
{- "kiosk_centre_id": 0,
- "slug_description": "string",
- "value": 0
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a slug.
slug_id required | integer Slug identifier. Request the slug with slug_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of images filtered by allowed parameters.
centre_id | string Centre identifier. Request images associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "image_file_url": "string",
- "image_id": 0,
- "slug": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of an image from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create an image.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this image. |
image_file_url | string URI to image file. |
slug | string Abbreviated descriptor to access image. |
{- "kiosk_centre_id": 0,
- "image_file_url": "string",
- "slug": "string"
}
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "image_file_url": "string",
- "image_id": 0,
- "slug": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single image.
image_id required | integer Image identifier. Request the image with image_id. |
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "image_file_url": "string",
- "image_id": 0,
- "slug": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of an image from JSON data in the request body.
image_id required | integer Image identifier. Request to update the image with image_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update an image.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this image. |
image_file_url | string URI to image file. |
slug | string Abbreviated descriptor to access image. |
{- "kiosk_centre_id": 0,
- "image_file_url": "string",
- "slug": "string"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of an image.
image_id required | integer Image identifier. Request the image with image_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of images filtered by allowed parameters.
centre_id | string Centre identifier. Request hotkeys associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "description": "string",
- "hotkey_id": 0,
- "kiosk_centre_id": 0,
- "order": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a hotkey from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a hotkey.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this hotkey. |
description required | string Amenity description to access amenity from map data. |
order required | integer Hotkey display order. |
{- "kiosk_centre_id": 0,
- "description": "string",
- "order": 0
}
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "description": "string",
- "hotkey_id": 0,
- "kiosk_centre_id": 0,
- "order": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single hotkey.
hotkey_id required | integer Hotkey identifier. Request the hotkey with hotkey_id. |
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "description": "string",
- "hotkey_id": 0,
- "kiosk_centre_id": 0,
- "order": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a hotkey from JSON data in the request body.
hotkey_id required | integer Hotkey identifier. Request to update the hotkey with hotkey_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a hotkey.
kiosk_centre_id required | integer Kiosk centre identifier. |
description | string Amenity description. |
order | integer Hotkey display order. |
{- "kiosk_centre_id": 0,
- "description": "string",
- "order": 0
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a hotkey.
hotkey_id required | integer Hotkey identifier. Request the hotkey with hotkey_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of custom styles.
centre_id | string Centre identifier. Request directories associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "custom_style_id": 0,
- "kiosk_centre_id": 0,
- "style_attribute": "string",
- "style_value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a custom style from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a custom style.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this custom style. |
style_attribute required | string Custom style attribute. |
style_value required | string Custom style value. |
{- "kiosk_centre_id": 0,
- "style_attribute": "string",
- "style_value": "string"
}
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "custom_style_id": 0,
- "kiosk_centre_id": 0,
- "style_attribute": "string",
- "style_value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single custom_style.
custom_style_id required | integer Custom style identifier. Request the custom style with custom_style_id. |
{- "data": {
- "centre_id": "string",
- "created_at": "2018-03-21T21:43:56Z",
- "custom_style_id": 0,
- "kiosk_centre_id": 0,
- "style_attribute": "string",
- "style_value": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a custom style from JSON data in the request body.
custom_style_id required | integer Custom style identifier. Request to update the custom style with custom_style_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a custom style.
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this custom style. |
style_attribute required | string Custom style attribute. |
style_value required | string Custom style value. |
{- "kiosk_centre_id": 0,
- "style_attribute": "string",
- "style_value": "string"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a custom style.
custom_style_id required | integer Custom style identifier. Request to delete the custom style with custom_style_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of stations.
centre_id | string Centre identifier. Request stations associated with a kiosk_centre that has centre_id. |
line_operator_id | integer Line operator identifier. Request stations associated with a line operator that has line_operator_id. |
{- "data": [
- {
- "accessible_amenity_component_id": 0,
- "accessible_waypoint_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "amenity_component_id": 0,
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": 0
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a station from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a station.
accessible_amenity_component_id | integer Accessible amenity component identifier. Identifier to retrieve the accessible amenity component related to this station. |
accessible_waypoint_id | integer Accessible waypoint identifier. Identifier to retrieve the accessible waypoint related to this station. |
amenity_component_id required | integer Amenity component identifier. Identifier to retrieve the amenity component related to this station. |
created_at required | string <date-time> Created at. Date-time that the station was created. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this station. |
line_operator_id required | integer Line operator identifier. Identifier to retrieve the line operator related to this station. |
name required | string Station name. |
updated_at required | string <date-time> Updated at. Date-time the station was last updated. |
waypoint_id required | integer Waypoint identifier. Identifier to retrieve the waypoint related to this station. |
{- "accessible_amenity_component_id": 0,
- "accessible_waypoint_id": 0,
- "amenity_component_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": 0
}
{- "data": {
- "accessible_amenity_component_id": 0,
- "accessible_waypoint_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "amenity_component_id": 0,
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": 0
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single station.
station_id required | integer Station identifier. Request the station with station_id. |
{- "data": {
- "accessible_amenity_component_id": 0,
- "accessible_waypoint_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "amenity_component_id": 0,
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": 0
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a station from JSON data in the request body.
station_id required | integer Station identifier. Request to update the station with station_id. |
Data to update a station.
accessible_amenity_component_id | integer Accessible amenity component identifier. Identifier to retrieve the accessible amenity component related to this station. |
accessible_waypoint_id | integer Accessible waypoint identifier. Identifier to retrieve the accessible waypoint related to this station. |
amenity_component_id required | integer Amenity component identifier. Identifier to retrieve the amenity component related to this station. |
created_at required | string <date-time> Created at. Date-time that the station was created. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this station. |
line_operator_id required | integer Line operator identifier. Identifier to retrieve the line operator related to this station. |
name required | string Station name. |
updated_at required | string <date-time> Updated at. Date-time the station was last updated. |
waypoint_id required | integer Waypoint identifier. Identifier to retrieve the waypoint related to this station. |
{- "accessible_amenity_component_id": 0,
- "accessible_waypoint_id": 0,
- "amenity_component_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z",
- "waypoint_id": 0
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a station.
station_id required | integer Station identifier. Request to delete the station with station_id. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of line operators.
centre_id | string Centre identifier. Request line operators associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "created_at": "2018-03-21T21:43:56Z",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a line operator from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a line operator.
created_at required | string <date-time> Created at. Date-time that the line operator was created. |
icon_image_uri required | string URI to icon image. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line operator. |
name required | string Line operator name. |
updated_at required | string <date-time> Updated at. Date-time the line operator was last updated. |
{- "created_at": "2018-03-21T21:43:56Z",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": {
- "created_at": "2018-03-21T21:43:56Z",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single line operator.
line_operator_id required | integer Line operator identifier. Request the line operator with line_operator_id. |
{- "data": {
- "created_at": "2018-03-21T21:43:56Z",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_operator_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a line operator from JSON data in the request body.
line_operator_id required | integer Line operator identifier. Request to update the line operator with line_operator_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a line operator.
created_at required | string <date-time> Created at. Date-time that the line operator was created. |
icon_image_uri | string URI to icon image. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line operator. |
name required | string Line operator name. |
updated_at required | string <date-time> Updated at. Date-time the line operator was last updated. |
{- "created_at": "2018-03-21T21:43:56Z",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "name": "string",
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a line operator.
line_operator_id required | integer Line operator identifier. Request to delete the station with line_operator_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of line groups.
centre_id | string Centre identifier. Request line groups associated with a kiosk_centre that has centre_id. |
station_id | integer Station identifier. Request line groups associated with a station that has station_id. |
{- "data": [
- {
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a line group from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a line group.
created_at required | string <date-time> Created at. Date-time that the line group was created. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line group. |
name required | string Line group name. |
station_id required | integer Station identifier. Identifier to retrieve the station related to this line group. |
updated_at required | string <date-time> Updated at. Date-time the line group was last updated. |
{- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": {
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single line group.
line_group_id required | integer Line group identifier. Request the line group with line_group_id. |
{- "data": {
- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a line group from JSON data in the request body.
line_group_id required | integer Line group identifier. Request to update the line group with line_group_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a line group.
created_at required | string <date-time> Created at. Date-time that the line group was created. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line group. |
name required | string Line group name. |
station_id required | integer Station identifier. Identifier to retrieve the station related to this line group. |
updated_at required | string <date-time> Updated at. Date-time the line group was last updated. |
{- "created_at": "2018-03-21T21:43:56Z",
- "kiosk_centre_id": 0,
- "name": "string",
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a line group.
line_group_id required | integer Line group identifier. Request to delete the line group with line_group_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request an array of lines.
centre_id | string Centre identifier. Request lines associated with a kiosk_centre that has centre_id. |
{- "data": [
- {
- "color": "#FFFF00",
- "created_at": "2018-03-21T21:43:56Z",
- "destination": "string",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "line_id": 0,
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
], - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a line from JSON data in the request body.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create a line.
color required | string Line color. |
created_at required | string <date-time> Created at. Date-time that the line was created. |
destination | string Line destination. |
icon_image_uri required | string URI of icon image. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line. |
line_group_id required | integer Line group identifier. Identifier to retrieve the line group related to this line. |
station_id | integer Station identifier. Identifier to retrieve the station related to this line. |
updated_at required | string <date-time> Updated at. Date-time the line was last updated. |
{- "color": "#FFFF00",
- "created_at": "2018-03-21T21:43:56Z",
- "destination": "string",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": {
- "color": "#FFFF00",
- "created_at": "2018-03-21T21:43:56Z",
- "destination": "string",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "line_id": 0,
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single line.
line_id required | integer Line identifier. Request the line with line_id. |
{- "data": {
- "color": "#FFFF00",
- "created_at": "2018-03-21T21:43:56Z",
- "destination": "string",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "line_id": 0,
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request update of a line from JSON data in the request body.
line_id required | integer Line identifier. Request to update the line with line_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a line.
color required | string Line color. |
created_at required | string <date-time> Created at. Date-time that the line was created. |
destination | string Line destination. |
icon_image_uri required | string URI of icon image. |
kiosk_centre_id required | integer Kiosk centre identifier. Identifier to retrieve the kiosk centre related to this line. |
line_group_id required | integer Line group identifier. Identifier to retrieve the line group related to this line. |
station_id | integer Station identifier. Identifier to retrieve the station related to this line. |
updated_at required | string <date-time> Updated at. Date-time the line was last updated. |
{- "color": "#FFFF00",
- "created_at": "2018-03-21T21:43:56Z",
- "destination": "string",
- "icon_image_uri": "string",
- "kiosk_centre_id": 0,
- "line_group_id": 0,
- "station_id": 0,
- "updated_at": "2018-03-21T21:43:56Z"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request deletion of a line.
line_id required | integer Line identifier. Request to delete the line with line_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request to run task
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
task required | string Task name |
{- "task": "populate-centers"
}
{- "data": {
- "task_arn": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}
Request a directory's healthchecks.
directory_id required | integer Directory identifier. Request healthchecks with directory_id. |
{- "data": {
- "directory_id": 0,
- "created_at": "2018-03-21T21:43:56Z",
- "error": "string"
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request creation of a directory healthcheck from JSON data in the request body.
directory_id required | integer Directory identifier. Request to create the healthcheck with directory_id. |
Data to create a healthcheck.
error required | string Directory error. |
{- "error": "string"
}
{- "data": { },
- "errors": {
- "access_token": [
- "string"
], - "x_api_secret": [
- "string"
], - "params": { }
}, - "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}