Retrieves all availability condition parameters
query Parameters
orgIdThe unique id to identify an organisation
fareFrameIdThe unique id to identify a dataset to an organisation
minimizeDataLoadHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
If-None-MatchUsed to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.
Retrieves all availability condition parameters › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
toDatetoDate datetime.
changedChanged datetime
createdCreated datetime
version^([A-Z]{3}):([A-Za-z… · requiredAvailabilityCondition version.
fromDateFromDate datetime.
isAvailableIs available
nameOfClassName of class
Fare frame ref.
modificationModification status
Name represented in different languages. Language codes are ISO-639.
availableDay Type references.
Description represented in different languages. Language codes are ISO-639.
Time band references.
organisationIdOrganisation related to the userProfile
Create a Availability Condition
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Create a Availability Condition › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
toDatetoDate datetime.
changedChanged datetime
createdCreated datetime
version^([A-Z]{3}):([A-Za-z… · requiredAvailabilityCondition version.
fromDateFromDate datetime.
isAvailableIs available
nameOfClassName of class
Fare frame ref.
modificationModification status
Name represented in different languages. Language codes are ISO-639.
availableDay Type references.
Description represented in different languages. Language codes are ISO-639.
Time band references.
organisationIdOrganisation related to the userProfile
Create a Availability Condition › Responses
Entity created successfully
Retrieves Availability Condition for id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a Availability Condition
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the Availability Condition
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
If-None-MatchUsed to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.
Retrieves Availability Condition for id and version › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
toDatetoDate datetime.
changedChanged datetime
createdCreated datetime
version^([A-Z]{3}):([A-Za-z… · requiredAvailabilityCondition version.
fromDateFromDate datetime.
isAvailableIs available
nameOfClassName of class
Fare frame ref.
modificationModification status
Name represented in different languages. Language codes are ISO-639.
availableDay Type references.
Description represented in different languages. Language codes are ISO-639.
Time band references.
organisationIdOrganisation related to the userProfile
Updates an existing Availability Condition
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a Availability Condition
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the Availability Condition
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Updates an existing Availability Condition › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
toDatetoDate datetime.
changedChanged datetime
createdCreated datetime
version^([A-Z]{3}):([A-Za-z… · requiredAvailabilityCondition version.
fromDateFromDate datetime.
isAvailableIs available
nameOfClassName of class
Fare frame ref.
modificationModification status
Name represented in different languages. Language codes are ISO-639.
availableDay Type references.
Description represented in different languages. Language codes are ISO-639.
Time band references.
organisationIdOrganisation related to the userProfile
Updates an existing Availability Condition › Responses
Entity updated successfully
Deletes an AvailabilityCondition by id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a Availability Condition
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the Availability Condition
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Deletes an AvailabilityCondition by id and version › Responses
The resource was deleted