Retrieves all fare day types
query Parameters
orgIdfareFrameIdminimizeDataLoadHeaders
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 fare day types › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
Name of fare day type
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
Description of fare day type
nameOfClassName of class.
modificationModification status.
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
earliestTimeEarliest time.
Time band references.
durationAfterPropertiesOfDayDuration after properties of day. Represented as a string formatted according to ISO-8601
durationBeforePropertiesOfDayDuration before properties of day. Represented as a string formatted according to ISO-8601
Create a fare day Type
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 fare day Type › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
Name of fare day type
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
Description of fare day type
nameOfClassName of class.
modificationModification status.
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
earliestTimeEarliest time.
Time band references.
durationAfterPropertiesOfDayDuration after properties of day. Represented as a string formatted according to ISO-8601
durationBeforePropertiesOfDayDuration before properties of day. Represented as a string formatted according to ISO-8601
Create a fare day Type › Responses
Entity created successfully
Retrieves fare day type for id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a fare day type
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the fare day type
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 fare day type for id and version › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
Name of fare day type
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
Description of fare day type
nameOfClassName of class.
modificationModification status.
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
earliestTimeEarliest time.
Time band references.
durationAfterPropertiesOfDayDuration after properties of day. Represented as a string formatted according to ISO-8601
durationBeforePropertiesOfDayDuration before properties of day. Represented as a string formatted according to ISO-8601
Updates an existing fare day type
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a fare day type
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the fare day type
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 fare day type › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
Name of fare day type
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
Description of fare day type
nameOfClassName of class.
modificationModification status.
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
earliestTimeEarliest time.
Time band references.
durationAfterPropertiesOfDayDuration after properties of day. Represented as a string formatted according to ISO-8601
durationBeforePropertiesOfDayDuration before properties of day. Represented as a string formatted according to ISO-8601
Updates an existing fare day type › Responses
Entity updated successfully
Deletes an day type given by id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a fare day type
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the fare day type
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 day type given by id and version › Responses
The resource was deleted