Manage NeTEx FrequencyOfUse usage parameters: minimum and maximum numbers of uses, and the frequency of use type.
List frequencies of use with their current versions
Returns a paginated list of frequencies of use, ordered by id. Each entry is a light summary
(VersionedElementSummary, shared with other element types) with the frequency of use id
and the versions that are relevant today:
- VERSIONED versions valid today or in the future (no
toDate, or atoDateof today or later) - DRAFT and PROPOSED versions, regardless of date
- with
includeDeprecated=true, also the most recent DEPRECATED version (latest start date)
Versions are ordered by status (DRAFT, PROPOSED, VERSIONED, DEPRECATED) and then by start date, newest first. Frequencies of use without any such version are left out. Paging is per frequency of use, so its versions are never split across pages.
All versions of a single frequency of use are available through
GET /v3/parameters/frequencies-of-use/{id}/versions, and the full content of a version through
GET /v3/parameters/frequencies-of-use/{id}/{version}.
query Parameters
pageZero-based page number. Defaults to 0.
sizeNumber of instances per page. Defaults to 100.
includeDeprecatedAlso include the most recent DEPRECATED version of each frequency of use.
ownerOrganisationIdOnly return frequencies of use owned by this internal organisation id.
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
List frequencies of use with their current versions › Responses
Paginated list of frequency of use summaries
totalCountTotal number of elements matching the query.
pageCurrent zero-based page number.
sizeRequested page size.
The frequencies of use on this page, ordered by id.
Create a new frequency of use
Create a new frequency of use. A new version is created together with it, with status DRAFT and
today as start date. The status and validity period are set through
the propose and publish operations (see Versions and lifecycle).
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 new frequency of use › Request Body
ownerOrganisationIdInternal id of the owning organisation. Omit to use the organisation in the access token. Acting for another organisation requires permission.
minimalFrequencyMinimum number of uses (NeTEx MinimalFrequency). Zero is allowed.
maximalFrequencyMaximum number of uses (NeTEx MaximalFrequency). Must not be less than minimalFrequency when both are supplied.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Create a new frequency of use › Responses
Frequency of use created successfully
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Get the active version of a frequency of use
Retrieve the version of the frequency of use that is active on the given date. Defaults to the version active today when no date is given.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
query Parameters
validOnDateThe date that the element should be valid for, e.g. the travel date. Defaults to the current date.
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
Get the active version of a frequency of use › Responses
The frequency of use version active on the given date.
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Create a new version of an existing frequency of use
Create a new version of an existing frequency of use. Products referencing the frequency of use are not modified: they point at its id, and the effective version is resolved by validity period.
The new version gets status DRAFT and today as start date. The status and validity period
are set through the propose and publish operations (see Versions and lifecycle).
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
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 new version of an existing frequency of use › Request Body
ownerOrganisationIdInternal id of the owning organisation. Omit to use the organisation in the access token. Acting for another organisation requires permission.
minimalFrequencyMinimum number of uses (NeTEx MinimalFrequency). Zero is allowed.
maximalFrequencyMaximum number of uses (NeTEx MaximalFrequency). Must not be less than minimalFrequency when both are supplied.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Create a new version of an existing frequency of use › Responses
Frequency of use version created successfully
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
List versions of a frequency of use
Retrieve all versions of a frequency of use by its NeTEx ID, including drafts and proposals.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
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
List versions of a frequency of use › Responses
List of frequency of use versions
id^([A-Z]{3}):Version:… · requiredThe netex id reference to the object.
statusThe validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
createdCreated datetime
changedChanged datetime
numberVersion number of the version. Only present when versionStatus is VERSIONED. Starts at 1 for a new product and is incremented by 1 for each new version.
publishedTimestamp for when the version was published (set to status VERSIONED).
Get a specific frequency of use version
Retrieve a specific version of a frequency of use, identified by NeTEx version id or version number.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^(([A-Z]{3}):Version… · required · style: simpleThe netex ID or sequence number of the version to retrieve
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
Get a specific frequency of use version › Responses
The frequency of use version
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Update an existing frequency of use version
Update the content of a frequency of use version in place. Only DRAFT versions can be updated.
The status and validity period of the version are not changed here; use
the propose and publish operations (see Versions and lifecycle).
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Update an existing frequency of use version › Request Body
ownerOrganisationIdInternal id of the owning organisation. Omit to use the organisation in the access token. Acting for another organisation requires permission.
minimalFrequencyMinimum number of uses (NeTEx MinimalFrequency). Zero is allowed.
maximalFrequencyMaximum number of uses (NeTEx MaximalFrequency). Must not be less than minimalFrequency when both are supplied.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Update an existing frequency of use version › Responses
Frequency of use version updated successfully
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Delete a frequency of use version
Delete a frequency of use version. Only DRAFT versions can be deleted.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Delete a frequency of use version › Responses
Frequency of use version deleted
Send a frequency of use version to test
Sends the version to test with the validity period in validBetween. The version becomes
PROPOSED. Can be called on a DRAFT or a PROPOSED version; call it again to test with other dates.
The content of the frequency of use is not changed; it is edited with
PUT /v3/parameters/frequencies-of-use/{id}/{version} while the version is a DRAFT.
The optional note and external reference are stored as an audit log entry for the version, in the same transaction. The person responsible is resolved from the authenticated caller.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Send a frequency of use version to test › Request Body
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
noteFree-text note explaining the change. Stored in the audit log of the version.
externalReferenceNameExternal reference name (e.g. a Jira issue key). Stored in the audit log of the version.
externalReferenceUrlExternal reference URL (e.g. a Jira issue URL). Stored in the audit log of the version.
Send a frequency of use version to test › Responses
The frequency of use version after the operation
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Send a frequency of use version back to DRAFT
Sends a PROPOSED version back to DRAFT, so its content can be changed with
PUT /v3/parameters/frequencies-of-use/{id}/{version}. The validity period is kept. The request body is optional.
The optional note and external reference are stored as an audit log entry for the version, in the same transaction. The person responsible is resolved from the authenticated caller.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Send a frequency of use version back to DRAFT › Request Body optional
noteFree-text note explaining the change. Stored in the audit log of the version.
externalReferenceNameExternal reference name (e.g. a Jira issue key). Stored in the audit log of the version.
externalReferenceUrlExternal reference URL (e.g. a Jira issue URL). Stored in the audit log of the version.
Send a frequency of use version back to DRAFT › Responses
The frequency of use version after the operation
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Publish a frequency of use version
Publishes a PROPOSED version with the validity period in validBetween. The version becomes
VERSIONED and is given the next version number. The dates used while the version was tested are
not carried over, so they must be given again.
Rules when publishing:
validBetween.fromDatecannot be in the past.- The version cannot overlap, or leave a gap to, another published version of the frequency of use.
- An open-ended previous version is ended automatically: its
toDatebecomes the day beforefromDateof this version. A version with exactly the same validity period is set to DEPRECATED. Other overlaps are rejected.
The optional note and external reference are stored as an audit log entry for the version, in the same transaction. The person responsible is resolved from the authenticated caller.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Publish a frequency of use version › Request Body
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
noteFree-text note explaining the change. Stored in the audit log of the version.
externalReferenceNameExternal reference name (e.g. a Jira issue key). Stored in the audit log of the version.
externalReferenceUrlExternal reference URL (e.g. a Jira issue URL). Stored in the audit log of the version.
Publish a frequency of use version › Responses
The frequency of use version after the operation
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.
Set the last valid day of a published frequency of use version
Sets or moves toDate, the last valid day (inclusive), of a VERSIONED version. fromDate cannot
be changed. The end date cannot be removed.
Rules when expiring:
- A version whose
toDatehas passed cannot be changed. toDatecannot be in the past.- The version cannot overlap, or leave a gap to, another published version. A version that has a published successor can therefore not be moved.
- DRAFT and PROPOSED versions are not considered. They are checked against this version when they are published.
The optional note and external reference are stored as an audit log entry for the version, in the same transaction. The person responsible is resolved from the authenticated caller.
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe netex ID of the element to retrieve
version^([A-Z]{3}):Version:… · required · style: simpleThe NeTEx ID of the version (version.id in the response). A version number is not accepted on
endpoints that change or delete a version.
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
Set the last valid day of a published frequency of use version › Request Body
toDateLast day the version is valid (inclusive). Cannot be in the past.
noteFree-text note explaining the change. Stored in the audit log of the version.
externalReferenceNameExternal reference name (e.g. a Jira issue key). Stored in the audit log of the version.
externalReferenceUrlExternal reference URL (e.g. a Jira issue URL). Stored in the audit log of the version.
Set the last valid day of a published frequency of use version › Responses
The frequency of use version after the operation
id^([A-Z]{3}):Frequenc… · requiredNeTEx id of the frequency of use.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this version.
ownerOrganisationIdInternal organisation id owning the frequency of use.
The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive:
the version is valid from the start of fromDate up to and including the whole of toDate.
This follows NeTEx, where ToDate is documented as inclusive
(netex_validityCondition_version.xsd),
and the Nordic NeTEx profile examples, which give the last valid day as
ToDate (e.g. 2018-12-31T23:59:59,
fares-penalty.xml).
The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of
that day in a NeTEx export.
statusversionNumberSequence number of this version, when assigned.
minimalFrequencyMinimum number of uses, when set.
maximalFrequencyMaximum number of uses, when set.
frequencyOfUseTypeNeTEx FrequencyOfUseType, using the values stored by products-spring. NONE prohibits use, SINGLE permits one use, LIMITED permits a limited number of uses, UNLIMITED permits unlimited use, and TWICE_A_DAY permits two uses per day.