Download OpenAPI specification:Download
Summary of Westfield Trading Hour API endpoints.
Request an array of schedules occurrences by participant.
participant_kind required | string Enum: "Centre" "Store" Participant kind. Used with participant_kind_id. |
participant_kind_id required | string Participant kind identifier. Identifier for participant of type participant_kind. |
starts_at | string <date-time> Filters occurrences that start on or after given date-time. The given date-time precision is only honored down to the minute |
ends_at | string <date-time> Filters occurrences that start on or before given date-time. The given date-time precision is only honored down to the minute |
{- "data": [
- {
- "ends_at": "2018-03-21T21:43:56Z",
- "starts_at": "2018-03-21T21:43:56Z",
- "summary": "Thanksgiving",
- "schedule_type": "standard_trading",
- "type": "open"
}
], - "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
}
}
Request an array of participants filtered by allowed parameters.
fields | Array of strings Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
page | integer Default: 1 Results page number. Specific page of results to request when paginating. |
per_page | integer <= 50 Default: 50 Results per page. Number of items per result set when paginating. |
participant_ids | Array of integers List of Participant identifiers. Request participants for each schedule_id. |
kind | string Enum: "Centre" "Store" Type of participant. |
kind_id | string Key of participant. |
{- "data": [
- {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "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 a participant 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 participant.
kind required | string Enum: "Centre" "Store" Participant type |
kind_id required | string non-empty Identifier for participant. |
{- "kind": "Centre",
- "kind_id": "string"
}
{- "data": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "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 single participant.
kind required | string Enum: "Centre" "Store" Participant kind. Request to the participant with kind. |
kind_id required | string Participant key. Request to the participant with kind_id. |
{- "data": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "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 single participant.
participant_id required | integer Participant identifier. Request to the participant with participant_id. |
{- "data": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "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 update of a participant from JSON data in the request body.
participant_id required | integer Participant identifier. Request to update the participant with participant_id. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a participant.
kind | string or null Enum: "Centre" "Store" Participant type |
kind_id | string or null Identifier for participant. |
link_participants | Array of strings or null |
unlink_participants | Array of strings or null |
{- "kind": "Centre",
- "kind_id": "string",
- "link_participants": [
- "string"
], - "unlink_participants": [
- "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 participant.
participant_id required | integer Participant identifier. Request to delete the participant with participant_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 schedules filtered by allowed parameters.
fields | Array of strings Fields in response. Array that lists the requested fields. If empty or not supplied, all attributes will be returned. |
include_followee | boolean Followee flag. Request schedules that the given participant is following. |
overlap_end_at | string <date-time> Overlap end at. Request schedules which start before the overlap end_at Date-time. Must be used with overlap_start_at. |
overlap_start_at | string <date-time> Overlap start at. Request schedules which start on or after the overlap start_at Date-time. Must be used with overlap_end_at. |
page | integer Default: 1 Results page number. Specific page of results to request when paginating. |
participant_id | integer Participant identifier. Request schedules with participant_id. |
participant_kind | string Enum: "Centre" "Store" Type of participant. Used with participant_kind_id. |
participant_kind_id | string Participant kind identifier. Identifier for participant of type participant_kind. |
per_page | integer <= 50 Default: 50 Results per page. Number of items per result set when paginating. |
schedule_ids | Array of integers List of Schedule identifiers. Request schedules for each schedule_id. |
store_id | integer Store identifier. Request schedules with store_id. |
type | string Enum: "special_trading" "standard_trading" "custom_trading" Type of schedule. |
locale | string Retrieve localized versions of all schedules in the response body. |
strict | boolean When retrieving localized schedules with the |
{- "data": [
- {
- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2018-03-21T21:43:56Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "linked_participants": [
- {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "name": "string",
- "pictogram": "string",
- "occasion_id": 0,
- "primary_participant": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "schedule_id": 0,
- "starts_at": "2018-03-21T21:43:56Z",
- "time_zone": "string",
- "type": "special_trading"
}
], - "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 a schedule 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 schedule.
object (scheduleDaysOfWeek) Standard events indexed by day of week. | |
ends_at | string or null <date-time> Date-time the schedule starts. |
Array of objects or null (scheduleEvent) | |
name required | string non-empty Schedule name. |
participant_id | integer or null Schedule participant identifier. |
participant_kind | string or null Enum: "Centre" "Store" Type of participant. Used with participant_kind_id. |
participant_kind_id | string or null Participant kind identifier. Identifier for participant of type participant_kind. |
pictogram | string or null <= 255 characters Schedule image or css reference point |
starts_at | string or null <date-time> Date-time the schedule ends. |
time_zone required | string non-empty Schedule's time zone. |
type required | string Enum: "special_trading" "standard_trading" "custom_trading" Type of schedule. |
{- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2019-08-24T14:15:22Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "name": "string",
- "participant_id": 0,
- "participant_kind": "Centre",
- "participant_kind_id": "string",
- "pictogram": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "time_zone": "Australia/Sydney",
- "type": "special_trading"
}
{- "data": {
- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2018-03-21T21:43:56Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "linked_participants": [
- {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "name": "string",
- "pictogram": "string",
- "occasion_id": 0,
- "primary_participant": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "schedule_id": 0,
- "starts_at": "2018-03-21T21:43:56Z",
- "time_zone": "string",
- "type": "special_trading"
}, - "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 schedule.
schedule_id required | integer Schedule identifier. Request to the schedule with schedule_id. |
{- "data": {
- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2018-03-21T21:43:56Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "linked_participants": [
- {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "name": "string",
- "pictogram": "string",
- "occasion_id": 0,
- "primary_participant": {
- "connected": true,
- "followee": {
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "followers": [
- {
- "connected": true,
- "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}
], - "kind": "Centre",
- "kind_id": "string",
- "participant_id": 0
}, - "schedule_id": 0,
- "starts_at": "2018-03-21T21:43:56Z",
- "time_zone": "string",
- "type": "special_trading"
}, - "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 update of a schedule from JSON data in the request body.
schedule_id required | integer Schedule identifier. Request to update the schedule with schedule_id. |
locale | string Update version of the name field with provided locale. |
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to update a schedule.
object (scheduleDaysOfWeek) Standard events indexed by day of week. | |
ends_at | string or null <date-time> Date-time that the schedule ends. |
Array of objects or null (scheduleEvent) | |
name | string or null Schedule name. |
pictogram | string or null <= 255 characters Schedule image or css reference point |
starts_at | string or null <date-time> Date-time that the schedule starts. |
time_zone | string or null Schedule time zone. |
{- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2018-03-21T21:43:56Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "name": "string",
- "pictogram": "string",
- "starts_at": "2018-03-21T21:43:56Z",
- "time_zone": "Australia/Sydney"
}
{- "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 schedule.
schedule_id required | integer Schedule identifier. Request to delete the schedule with schedule_id. |
locale | string When |
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
}
}
Batch create/update/delete schedules.
Authorization required | string^[bB]earer [A-Za-z0-9]{64}$ Staff Access token type and token value. |
Data to create/update/delete schedules.
participant_id | integer Participant identifier. |
participant_kind | string Enum: "Centre" "Store" Type of participant. Used with participant_kind_id. |
participant_kind_id | string Participant kind identifier. Identifier for participant of type participant_kind. |
Array of objects (scheduleBatchItemBody) |
{- "participant_id": 1234,
- "participant_kind": "Centre",
- "participant_kind_id": "string",
- "schedules": [
- {
- "schedule_id": 1234,
- "_destroy": true,
- "days_of_week": {
- "0": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "1": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "2": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "3": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "4": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "5": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "6": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
]
}, - "ends_at": "2018-03-21T21:43:56Z",
- "events": [
- {
- "day_of_week": 1,
- "ends_at": "2015-01-01T20:00:00",
- "starts_at": "2015-01-01T08:00:00",
- "summary": "string",
- "type": "open",
- "time_zone": "Australia/Sydney"
}
], - "name": "string",
- "pictogram": "string",
- "starts_at": "2018-03-21T21:43:56Z",
- "time_zone": "Australia/Sydney"
}
]
}
{- "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 store trading hours filtered by allowed parameters.
centre_id required | string Centre identifier. Request the store trading-hours with centre_id. Lowercase code name for a specific centre. |
from required | string <date> Start date. Request the store trading-hours on or after start date of a range. |
to required | string <date> End date. Request the store trading-hours on or before end date of a range. |
{- "data": [
- {
- "centre_id": "string",
- "closed": false,
- "closing_time": "string",
- "date": "2023-08-24",
- "day_of_week": 0,
- "description": "string",
- "hour_type": "string",
- "id": 0,
- "opening_time": "string",
- "store_id": "string"
}
], - "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 an array of store trading hours filtered by allowed parameters.
store_id required | integer Store identifier. Request the store trading-hours with store_id. |
centre_id | string Centre identifier. Request the store trading-hours with centre_id. Lowercase code name for a specific centre. Must relate to store_id. |
from | string <date> Start date. Request the centre trading-hours on or after start date of a range. |
to | string <date> End date. Request the centre trading-hours on or before end date of a range. |
{- "data": [
- {
- "centre_id": "string",
- "closed": false,
- "closing_time": "string",
- "date": "2023-08-24",
- "day_of_week": 0,
- "description": "string",
- "hour_type": "string",
- "id": 0,
- "opening_time": "string",
- "store_id": "string"
}
], - "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 an array of store trading hours filtered by allowed parameters.
store_id required | integer Store identifier. Request the store trading-hours with store_id. |
centre_id | string Centre identifier. Request the store trading-hours with centre_id. Lowercase code name for a specific centre. |
from | string <date> Start date. Request the store trading-hours on or after start date of a range. |
to | string <date> End date. Request the store trading-hours on or before end date of a range. |
{- "data": [
- {
- "centre_id": "string",
- "closed": false,
- "closing_time": "string",
- "date": "2023-08-24",
- "day_of_week": 0,
- "description": "string",
- "hour_type": "string",
- "id": 0,
- "opening_time": "string",
- "store_id": "string"
}
], - "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 an array of centre trading-hours.
centre_id required | string Centre identifier. Request the centre trading-hours with centre_id. Lowercase code name for a specific centre. |
{- "data": [
- {
- "centre_id": "string",
- "closed": false,
- "closing_time": "string",
- "date": "2023-08-24",
- "day_of_week": 0,
- "description": "string",
- "hour_type": "string",
- "id": 0,
- "opening_time": "string",
- "store_id": "string"
}
], - "errors": { },
- "meta": {
- "key": "string",
- "value": "string"
}
}
Request an array of centre trading hours filtered by allowed parameters.
centre_id required | string Centre identifier. Request the centre trading-hours with centre_id. Lowercase code name for a specific centre. |
from required | string <date> Start date. Request the centre trading-hours on or after start date of a range. |
to required | string <date> End date. Request the centre trading-hours on or before end date of a range. |
{- "data": [
- {
- "centre_id": "string",
- "closed": false,
- "closing_time": "string",
- "date": "2023-08-24",
- "day_of_week": 0,
- "description": "string",
- "hour_type": "string",
- "id": 0,
- "opening_time": "string",
- "store_id": "string"
}
], - "errors": { },
- "meta": {
- "key": "string",
- "value": "string"
}
}