Download OpenAPI specification:Download
Information about events for Westfield centres and retailers.
Request an array of events filtered by allowed parameters.
available_on_or_after | string <date-time> On or after this date. Request the events available on or after the date. If centre_id is supplied then the date-time is local, otherwise it is UTC. |
category_ids | Array of integers List of category Ids to be used for additional filtering of results. |
centre_id | string Example: centre_id=sanfrancisco¢re_id=sydney¢re_id=london Centre identifier. Request the centre zones with centre_id. Lowercase code name for a specific centre. |
destination_type_ids | Array of integers List of destination type category Ids to be used for additional filtering of results. |
eligibilities | Array of integers List of eligibility category Ids to be used for additional filtering of results. |
event_ids | Array of integers List of event ids to be used for additional filtering of results. |
featured | boolean Default: false Example: featured=true Featured events. Request to include only featured (true) or not featured (false) events. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
news_type_ids | Array of integers List of news type category Ids to be used for additional filtering of results. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
published | boolean Default: false Published events. Request to include only published (true) or all (false) events. |
retailer_code | string Retailer code. Request the events with retailer_code. |
sort | string Sort results by one or more fields. Change sort order by adding desc or asc after field name. |
status | string Enum: "pending" "active" "expired" Filter by status |
statuses | string Enum: "pending" "preview" "live" "expired" "invalid" "disabled" |
support_diffusions | Array of integers List of support diffusion category Ids to be used for additional filtering of results. |
updated_since | string <date-time> Example: updated_since=2015-04-02T00:00:00.000Z Updated since. Request the events updated since a specific date and time. ISO-8601 format. |
locale | string Example: locale=fr Retrieve localized versions of all events in response body. |
strict | string When retrieving localized events with |
{- "data": [
- {
- "_embedded": {
- "retailers": [
- {
- "_links": {
}
}
]
}, - "_links": {
}, - "booking_id": "string",
- "browser_title": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "comment": "string",
- "description": "string",
- "destination_type_ids": [
- 0
], - "disabled_at": "2018-03-21T12:34:56.000Z",
- "eligibilities": [
- 0
], - "enabled_at": "2018-03-21T12:34:56.000Z",
- "event_id": 0,
- "external_buy_url": "string",
- "external_id": "string",
- "external_name": "string",
- "external_url": "string",
- "external_url_description": "string",
- "featured": true,
- "locations": [
- {
- "level_description": "string",
- "level_id": "string",
- "level_name": "Floor 1",
- "location_id": "string",
- "name": "string",
- "primary": true,
- "enabled_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z"
}
], - "meta_description": "string",
- "meta_keywords": "string",
- "mobile_event_visual": "string",
- "name": "string",
- "news_type_ids": [
- 0
], - "occurrences": [
- {
- "finishes_at": "2018-03-21T12:34:56.000Z",
- "starts_at": "2018-03-21T12:34:56.000Z"
}
], - "page_title": "string",
- "published_at": "2018-03-21T12:34:56.000Z",
- "rectangle_image": "string",
- "retailers": [
- {
- "retailer_name": "string",
- "retailer_code": "string",
- "retailer_id": 0,
- "store_ids": [
- 0
]
}
], - "support_diffusions": [
- 0
], - "segment_id": 0,
- "time_zone": "string",
- "updated_at": "2018-03-21T12:34:56.000Z"
}
], - "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 creation of an event 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 event.
booking_id | string External ID for booking partner (e.g. booking bug). |
browser_title | string Browser title. |
category_ids | Array of integers Identifiers of categories the event belongs to |
centre_id required | string Centre the event belongs to |
comment | string Comment |
description | string Event description |
destination_type_ids | Array of integers |
disabled_at | string <date-time> Ending date and time of the last occurrence |
eligibilities | Array of integers Eligibility requirements of event. |
external_buy_url | string External URL to buy tickets to event |
external_name | string External name reference. |
external_id | string External system ID reference for mapping. |
external_url | string External URL for event information |
external_url_description | string External URL information description |
featured | boolean Featured |
image_ref | string or null Image filename of event location |
video_url | string Video url for event |
rectangle_image | string or null The link to the rectangle image for the event |
location | string Description of event location |
Array of objects (Location) | |
meta_description | string Meta description. |
meta_keywords | string Meta keywords. |
mobile_event_visual | string or null The link to the mobile app image for the event. |
name required | string Event name |
news_type_ids | Array of integers |
required | Array of objects (Occurrence) One or more occurrences of event |
page_title | string Page title. |
published_at required | string <date-time> The date-time the event was published |
Array of objects (EventRetailer) Retailers and stores associated with the event | |
support_diffusions required | Array of integers Identifiers of channel diffusion (web/mobile/digital directory). |
{- "booking_id": "string",
- "browser_title": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "comment": "string",
- "description": "string",
- "destination_type_ids": [
- 0
], - "disabled_at": "2018-03-21T12:34:56.000Z",
- "eligibilities": [
- 0
], - "external_buy_url": "string",
- "external_name": "string",
- "external_id": "string",
- "external_url": "string",
- "external_url_description": "string",
- "featured": true,
- "image_ref": "string",
- "video_url": "string",
- "rectangle_image": "string",
- "location": "string",
- "locations": [
- {
- "level_description": "string",
- "level_id": "string",
- "level_name": "Floor 1",
- "location_id": "string",
- "name": "string",
- "primary": true,
- "enabled_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z"
}
], - "meta_description": "string",
- "meta_keywords": "string",
- "mobile_event_visual": "string",
- "name": "string",
- "news_type_ids": [
- 0
], - "occurrences": [
- {
- "finishes_at": "2018-03-21T12:34:56.000Z",
- "starts_at": "2018-03-21T12:34:56.000Z"
}
], - "page_title": "string",
- "published_at": "2018-03-21T12:34:56.000Z",
- "retailers": [
- {
- "retailer_name": "string",
- "retailer_code": "string",
- "retailer_id": 0,
- "store_ids": [
- 0
]
}
], - "support_diffusions": [
- 0
]
}
{- "data": {
- "_embedded": {
- "retailers": [
- {
- "_links": {
}
}
]
}, - "_links": {
}, - "booking_id": "string",
- "browser_title": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "comment": "string",
- "description": "string",
- "destination_type_ids": [
- 0
], - "disabled_at": "2018-03-21T12:34:56.000Z",
- "eligibilities": [
- 0
], - "enabled_at": "2018-03-21T12:34:56.000Z",
- "event_id": 0,
- "external_buy_url": "string",
- "external_id": "string",
- "external_name": "string",
- "external_url": "string",
- "external_url_description": "string",
- "featured": true,
- "locations": [
- {
- "level_description": "string",
- "level_id": "string",
- "level_name": "Floor 1",
- "location_id": "string",
- "name": "string",
- "primary": true,
- "enabled_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z"
}
], - "meta_description": "string",
- "meta_keywords": "string",
- "mobile_event_visual": "string",
- "name": "string",
- "news_type_ids": [
- 0
], - "occurrences": [
- {
- "finishes_at": "2018-03-21T12:34:56.000Z",
- "starts_at": "2018-03-21T12:34:56.000Z"
}
], - "page_title": "string",
- "published_at": "2018-03-21T12:34:56.000Z",
- "rectangle_image": "string",
- "retailers": [
- {
- "retailer_name": "string",
- "retailer_code": "string",
- "retailer_id": 0,
- "store_ids": [
- 0
]
}
], - "support_diffusions": [
- 0
], - "segment_id": 0,
- "time_zone": "string",
- "updated_at": "2018-03-21T12:34:56.000Z"
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "available_locales": [
- "en-US",
- "en-GB",
- "en-FR"
], - "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,
- "translatable_fields": [
- "name",
- "description",
- "sports.team_name"
]
}
}
Request a single event.
event_id required | integer Example: 485 Event identifier. Request the event with event_id. |
fields | Array of strings Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
locale | string Example: locale=fr Retrieve localized version of store_profile field in response body. |
strict | string When retrieving localized store_profile with |
{- "data": {
- "_embedded": {
- "retailers": [
- {
- "_links": {
}
}
]
}, - "_links": {
}, - "booking_id": "string",
- "browser_title": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "comment": "string",
- "description": "string",
- "destination_type_ids": [
- 0
], - "disabled_at": "2018-03-21T12:34:56.000Z",
- "eligibilities": [
- 0
], - "enabled_at": "2018-03-21T12:34:56.000Z",
- "event_id": 0,
- "external_buy_url": "string",
- "external_id": "string",
- "external_name": "string",
- "external_url": "string",
- "external_url_description": "string",
- "featured": true,
- "locations": [
- {
- "level_description": "string",
- "level_id": "string",
- "level_name": "Floor 1",
- "location_id": "string",
- "name": "string",
- "primary": true,
- "enabled_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z"
}
], - "meta_description": "string",
- "meta_keywords": "string",
- "mobile_event_visual": "string",
- "name": "string",
- "news_type_ids": [
- 0
], - "occurrences": [
- {
- "finishes_at": "2018-03-21T12:34:56.000Z",
- "starts_at": "2018-03-21T12:34:56.000Z"
}
], - "page_title": "string",
- "published_at": "2018-03-21T12:34:56.000Z",
- "rectangle_image": "string",
- "retailers": [
- {
- "retailer_name": "string",
- "retailer_code": "string",
- "retailer_id": 0,
- "store_ids": [
- 0
]
}
], - "support_diffusions": [
- 0
], - "segment_id": 0,
- "time_zone": "string",
- "updated_at": "2018-03-21T12:34:56.000Z"
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "available_locales": [
- "en-US",
- "en-GB",
- "en-FR"
], - "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,
- "translatable_fields": [
- "name",
- "description",
- "sports.team_name"
]
}
}
Request deletion of an event.
event_id required | integer Example: 485 Event identifier. Request the event with event_id. |
locale | string Example: locale=fr Deletes a translation from the data. By passing this query param with a locale you are removing the translation based off of the locale and not the complete event data |
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 update of an event from JSON data in the request body.
event_id required | integer Example: 485 Event identifier. Request the event with event_id. |
locale | string Example: locale=fr Update name, description, page_title, meta_description, meta_keywords, browser_title fields in with provided locale. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update an event.
booking_id | string External ID for booking partner (e.g. booking bug). |
browser_title | string Browser title. |
category_ids | Array of integers Identifiers of categories the event belongs to |
centre_id | string Centre the event belongs to |
comment | string Comment |
description | string Event description |
destination_type_ids | Array of integers |
disabled_at | string <date-time> Ending date and time of the last occurrence |
eligibilities | Array of integers Eligibility requirements of event. |
enabled_at | string or null <date-time> Starting date and time of the first occurrence |
external_buy_url | string External URL to buy tickets to event |
external_id | string External system ID reference for mapping. |
external_name | string External name reference. |
external_url | string External URL for event information |
external_url_description | string External URL information description |
featured | boolean Featured |
image_ref | string or null Image filename of event location |
video_url | string Video url for event |
rectangle_image | string or null The link to the rectangle image for the event |
location | string Description of event location |
Array of objects (Location) | |
meta_description | string Meta description. |
meta_keywords | string Meta keywords. |
mobile_event_visual | string or null The link to the mobile app image for the event. |
name | string Event name |
news_type_ids | Array of integers |
Array of objects (Occurrence) One or more occurrences of event | |
page_title | string Page title. |
published_at | string <date-time> The date-time the event was published |
Array of objects (EventRetailer) Retailers and stores associated with the event | |
support_diffusions | Array of integers Identifiers of channel diffusion (web/mobile/digital directory). |
{- "booking_id": "string",
- "browser_title": "string",
- "category_ids": [
- 0
], - "centre_id": "string",
- "comment": "string",
- "description": "string",
- "destination_type_ids": [
- 0
], - "disabled_at": "2018-03-21T12:34:56.000Z",
- "eligibilities": [
- 0
], - "enabled_at": "2018-03-21T12:34:56.000Z",
- "external_buy_url": "string",
- "external_id": "string",
- "external_name": "string",
- "external_url": "string",
- "external_url_description": "string",
- "featured": true,
- "image_ref": "string",
- "video_url": "string",
- "rectangle_image": "string",
- "location": "string",
- "locations": [
- {
- "level_description": "string",
- "level_id": "string",
- "level_name": "Floor 1",
- "location_id": "string",
- "name": "string",
- "primary": true,
- "enabled_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z"
}
], - "meta_description": "string",
- "meta_keywords": "string",
- "mobile_event_visual": "string",
- "name": "string",
- "news_type_ids": [
- 0
], - "occurrences": [
- {
- "finishes_at": "2018-03-21T12:34:56.000Z",
- "starts_at": "2018-03-21T12:34:56.000Z"
}
], - "page_title": "string",
- "published_at": "2018-03-21T12:34:56.000Z",
- "retailers": [
- {
- "retailer_name": "string",
- "retailer_code": "string",
- "retailer_id": 0,
- "store_ids": [
- 0
]
}
], - "support_diffusions": [
- 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 event versions.
event_id required | integer Example: 402495 Event identifier. Request the event version with event_id. |
page | number Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | number <= 100 Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
sort | string Example: sort=featured desc, ends_at asc Sort results by one or more fields. Change sort order by adding desc or asc after field name. |
version_action | string Enum: "create" "update" "destroy" Version Action. Request the retailer versions with action. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
{- "data": [
- {
- "whodunnit": "string",
- "event": "create",
- "created_at": "2018-03-21T21:43:56Z"
}
], - "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 to run task
task required | string Task name |
{- "task": "populate-centers"
}
{- "data": {
- "taskArn": "string",
- "version": "string",
- "createdAt": "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
}
}