Create a charging moment controller
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 charging moment controller › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId.
version^([A-Z]{3}):([A-Za-z… · requiredCharging moment version.
Fare frame ref.
Name represented in different languages. Language codes are ISO-639.
Description represented in different languages. Language codes are ISO-639.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Create a charging moment controller › Responses
Entity created successfully
Retrieves charging moment for id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id to identify a ChargingMooment
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the ChargingMoment
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
Accept-LanguageThe language code from ISO-639-3
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 charging moment for id and version › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusCharging moment status.
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredCharging moment version.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
Name represented in different languages. Language codes are ISO-639.
Description represented in different languages. Language codes are ISO-639.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.