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> 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 day types › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
nameOfClassName of class.
modificationModification status.
Name of day type
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
Description of day type
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 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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Create a dayType › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
nameOfClassName of class.
modificationModification status.
Name of day type
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
Description of day type
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 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> 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 day type for id and version › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
nameOfClassName of class.
modificationModification status.
Name of day type
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
Description of day type
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 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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Updates an existing DayType › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredVersion.
nameOfClassName of class.
modificationModification status.
Name of day type
dayLengthDay length. Represented as a string formatted according to ISO-8601
Properties of day
Description of day type
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 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> 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