Manage UsageValidityPeriod instances. Defines how long a product is valid after purchase or activation (e.g., single trip, 60 minutes, 30 days).
List usage validity period instances
Returns a paginated list of all UsageValidityPeriod instances.
query Parameters
pageZero-based page number. Defaults to 0.
sizeNumber of instances per page. Defaults to 100.
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
List usage validity period instances › Responses
Paginated list of UsageValidityPeriod instances
pageCurrent zero-based page number.
sizeNumber of instances per page.
totalCountTotal number of UsageValidityPeriod instances.
Create a usage validity period instance
Create a new UsageValidityPeriod instance.
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 usage validity period instance › Request Body
usageValidityTypeThe type of usage validity.
activationTypeWhat triggers the start of the validity period.
validityPeriodHow long the product is valid after activation. ISO 8601 duration.
Create a usage validity period instance › Responses
UsageValidityPeriod instance created successfully
id^([A-Z]{3}):UsageVal… · requiredThe NeTEx ID of this UsageValidityPeriod.
usageValidityTypeThe type of usage validity.
activationTypeWhat triggers the start of the validity period.
validityPeriodHow long the product is valid after activation. ISO 8601 duration.
Get a usage validity period instance
Retrieve the full detail of a single UsageValidityPeriod instance.
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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get a usage validity period instance › Responses
UsageValidityPeriod instance found
id^([A-Z]{3}):UsageVal… · requiredThe NeTEx ID of this UsageValidityPeriod.
usageValidityTypeThe type of usage validity.
activationTypeWhat triggers the start of the validity period.
validityPeriodHow long the product is valid after activation. ISO 8601 duration.
Update a usage validity period instance
Update an existing UsageValidityPeriod instance.
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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Update a usage validity period instance › Request Body
usageValidityTypeThe type of usage validity.
activationTypeWhat triggers the start of the validity period.
validityPeriodHow long the product is valid after activation. ISO 8601 duration.
Update a usage validity period instance › Responses
UsageValidityPeriod instance updated successfully
id^([A-Z]{3}):UsageVal… · requiredThe NeTEx ID of this UsageValidityPeriod.
usageValidityTypeThe type of usage validity.
activationTypeWhat triggers the start of the validity period.
validityPeriodHow long the product is valid after activation. ISO 8601 duration.