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