Schemas
PageInfo
totalCountTotal number of elements matching the query.
pageCurrent zero-based page number.
sizeRequested page size.
LocalizedString
lang^[a-z]{2}-[A-Z]{2}$ · requiredBCP-47 language tag (e.g., 'nb-NO', 'en-GB').
valueThe localized string value for the specified lang.
ValidBetween
fromDateFirst day the version is valid.
toDateLast day the version is valid (inclusive). Absent for an open-ended version. Must not be before fromDate.
VersionSummary
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of the version.
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 the version, when assigned.
VersionedElementSummary
id^([A-Z]{3}):([A-Za-z… · requiredNeTEx id of the element.
ownerOrganisationIdInternal organisation id owning the element.
SupplementProductListResponse
totalCountTotal number of elements matching the query.
pageCurrent zero-based page number.
sizeRequested page size.
The supplement products on this page, ordered by id.
ProblemDetails
typeA URI reference that identifies the problem type.
titleShort, human-readable summary of the problem type.
statusThe HTTP status code.
detailHuman-readable explanation specific to this occurrence.
instanceA URI reference that identifies the specific occurrence, i.e. the request path.
ChargingMomentType
Charging moment type.
Note: Currently, only BEFORE_TRAVEL is supported in Entur sales platform.
SupplementProductType
The type of the supplement product. This can be used to determine which parameters are relevant for the product.
FareStructureType
The type of fare structure. This indicates the method by which the fare is calculated, e.g. flat fare, zonal fare, point-to-point fare, etc.
ConditionsSummary
exchangeableWhether the supplement product is exchangeable.
refundableWhether the supplement product is refundable.
fareStructureTypeThe type of fare structure. This indicates the method by which the fare is calculated, e.g. flat fare, zonal fare, point-to-point fare, etc.
VatGrpupType
VAT group type. This is used to determine which VAT rate applies to a product. The VAT group type is determined by the product type and the country of sale. For example, in Norway, food products are subject to a reduced VAT rate of 15%, while other products are subject to the standard VAT rate of 25%. In this case, food products would be classified as FOOD_VAT, while other products would be classified as GENERAL_VAT.
SecurityPolicyLevel
These are Enturs defined security levels: LOW = -200, MEDIUM = -120, HIGH = -50.
ValidityParameterGroupingType
OR applies to any of the listed parameters; NOT applies to everything except the listed parameters.
ValidityParameters
validityParameterTypeType of the referenced parameters; all references must be IDs of this type.
validityParameterRefsNeTEx IDs of the validity parameters, sorted by ID in responses.
groupingTypeOR applies to any of the listed parameters; NOT applies to everything except the listed parameters.
PurchaseWindowRule
purchaseWindowRef^([A-Z]{3}):Purchase… · requiredLoose PurchaseWindow ID. Its eligible versions must cover the owning element's validity period.
Validity parameters of one type, stored as one scoping assignment. They tell where something applies, for example in which distribution channels. Only the listed types are currently supported.
FareTableRef
ref^([A-Z]{3}):FareTabl… · requiredNeTEx id of the FareTable that prices the priceable object.
versionNeTEx version id of the referenced FareTable.
SupplementProductRequest
chargingMomentTypeCharging moment type.
Note: Currently, only BEFORE_TRAVEL is supported in Entur sales platform.
supplementProductTypeThe type of the supplement product. This can be used to determine which parameters are relevant for the product.
vatGroupVAT group type. This is used to determine which VAT rate applies to a product. The VAT group type is determined by the product type and the country of sale. For example, in Norway, food products are subject to a reduced VAT rate of 15%, while other products are subject to the standard VAT rate of 25%. In this case, food products would be classified as FOOD_VAT, while other products would be classified as GENERAL_VAT.
purchaseWindowRef^([A-Z]{3}):Purchase… · requiredNeTEx ID of a PurchaseWindow instance (Product Parameters API, /v3/parameters/purchase-windows).
Available values are listed in the Product Parameters API.
Loose PurchaseWindow NeTEx ID on both write and read; no version is selected or pinned.
Null removes the unconditional assignment on PUT.
Channel-dependent assignments are represented separately in purchaseWindowRules.
The referenced parameter must exist and its eligible versions must jointly cover the
product validity period validBetween. An absent validBetween.toDate requires open-ended coverage.
VERSIONED products require VERSIONED parameters; PROPOSED allows PROPOSED/VERSIONED;
A DRAFT only requires the parameter to exist. Each reference is validated independently.
Invalid references return 400 application/problem+json with field and reference.
entitlementRequiredRefsNeTEx IDs of EntitlementRequired instances (Product Parameters API, limitations/entitlement-required). Available values are listed in the Product Parameters API. Loose EntitlementRequired NeTEx IDs, grouped with OR in one assignment on the product. Each ID is stored once without version pinning. PUT replaces this set; an empty list removes the assignment. Ordering is not significant. Each parameter must satisfy the same status and coverage rules as purchaseWindowRef.
Where the product is valid. Each entry is one type of validity parameters, and all entries must apply (AND). PUT replaces the list; an empty list removes the scoping.
privateCodesOptional external system identifiers.
ownerOrganisationIdInternal id of the organisation that owns this element. Omit it to use the organisation in the access token, which is what a caller acting for itself should do. Supplying a different organisation requires permission to act on behalf of that organisation.
securityPolicyStandard security policy (LOW = -200, MEDIUM = -120, HIGH = -50). Links to an existing standard SecurityPolicy through a dedicated parameter assignment on the product; does not create or modify the policy. Omitted or null means no policy on POST and removes the assignment on PUT. Eligible parameter versions must cover the product validity period, using the same status rules as purchaseWindowRef.
usageValidityPeriodRef^([A-Z]{3}):UsageVal…NeTEx ID of a UsageValidityPeriod instance (Product Parameters API, limitations/usage-validity-period).
Available values are listed in the Product Parameters API.
Loose UsageValidityPeriod NeTEx ID on the product; no version is selected or pinned.
Internally the parameter is carried by a product-owned ValidableElement that shares the
product's version, status and lifecycle, but that placement is not part of this API:
the client never addresses the VE on write or read, because exactly one owned VE exists
and it is neither selectable nor reusable.
The owned VE is always created with the product version, also without a reference, and a
further version keeps its NeTEx ID. Omitted or null removes only the assignment; the VE
itself is never removed by a write.
Eligible UVP versions must jointly cover the whole product validity period
validBetween; an absent validBetween.toDate requires open-ended coverage.
VERSIONED products require VERSIONED parameters; PROPOSED allows PROPOSED/VERSIONED;
A DRAFT only requires the parameter to exist.
Referenced UP resources are never created, edited or deleted.
requiresStandardDurationAtOfferingRequires STANDARD_DURATION in the OFFERING context for the UsageValidityPeriod. True requires usageValidityPeriodRef. Omitted means false, which removes the requirement on PUT.
Channel-dependent PurchaseWindow rules, combined with OR. Each rule has one PurchaseWindow and the validity parameters where it applies. purchaseWindowRef must be null when this list is non-empty. Omission or an empty list means no channel rules on POST and removes them on PUT. These are references to existing parameters, not inline parameter creation.
References to the versioned FareTable instances that price this supplement product.
The priceable object owns this link (as in products-spring): supply the fare tables that
price it here on write. Prices themselves live on the fare table — create/update them via the
pricing/fare-table API, then reference the fare table here. On read, SupplementProductResponse
surfaces the resolved fare-table NeTEx ids.
SupplementProductResponse
id^([A-Z]{3}):Suppleme… · requiredThe NeTEx ID of the supplement product.
versionId^([A-Z]{3}):Version:… · requiredThe netex id reference to the object.
privateCodesOptional external system identifiers.
ownerOrganisationIdInternal id of the organisation that owns this supplement product.
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.
statusStatus of the supplement product.
- DRAFT - Under construction and not ready for operational use.
- PROPOSED - Complete but pending review and approval.
- VERSIONED - Finalized and frozen; a new version must be created for further modifications. Remains authoritative for its validity period even after expiry.
- DEPRECATED - Explicitly withdrawn and should not be used; indicates an active decision to retract, not a natural expiry.
chargingMomentTypeCharging moment type.
Note: Currently, only BEFORE_TRAVEL is supported in Entur sales platform.
supplementProductTypeThe type of the supplement product. This can be used to determine which parameters are relevant for the product.
vatGroupVAT group type. This is used to determine which VAT rate applies to a product. The VAT group type is determined by the product type and the country of sale. For example, in Norway, food products are subject to a reduced VAT rate of 15%, while other products are subject to the standard VAT rate of 25%. In this case, food products would be classified as FOOD_VAT, while other products would be classified as GENERAL_VAT.
purchaseWindowRef^([A-Z]{3}):Purchase… · requiredNeTEx ID of a PurchaseWindow instance (Product Parameters API, /v3/parameters/purchase-windows). Persisted loose NeTEx-ID reference to the product's unconditional PurchaseWindow, or null. When purchaseWindowRules is non-empty, the conditional assignments are returned there instead. This is the stored identity, not a version resolved for a travel date.
securityPolicyAccount security level of the assigned SecurityPolicy, or null if none is assigned. Legacy policies with one of the three supported numeric levels map to the same enum. Conflicting or unsupported legacy levels cannot be represented and return an error.
usageValidityPeriodRef^([A-Z]{3}):UsageVal… · requiredNeTEx ID of a UsageValidityPeriod instance (Product Parameters API, limitations/usage-validity-period). Persisted loose NeTEx-ID reference to the product's UsageValidityPeriod, or null when none is assigned. This is the stored identity, not a version resolved for a travel date. Mirrors the write field of the same name exactly, so a GET body can be edited and PUT back.
entitlementRequiredRefsNeTEx IDs of EntitlementRequired instances (Product Parameters API, limitations/entitlement-required). Persisted loose NeTEx-ID references in the product's OR-grouped entitlement assignment, sorted by ID. Empty when no assignment exists.
Where the product is valid; all entries apply (AND). Empty when the product is not scoped.
versionNumberVersion 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.
The datasource that owns this supplement product.
requiresStandardDurationAtOfferingWhether the UsageValidityPeriod requires STANDARD_DURATION in the OFFERING context. False when no such requirement is persisted, including when usageValidityPeriodRef is null.
Channel-dependent PurchaseWindow rules combined with OR. Empty for an unconditional purchaseWindowRef. When populated, purchaseWindowRef is null, not a missing rule.
fareTableRefsNeTEx IDs of the FareTable instances that price this supplement product.
Read-only. Prices themselves are not exposed here; use the pricing/fare-table API with these references to retrieve the actual prices. This lets clients discover the relevant fare tables for a priceable object directly, without fetching and scanning every fare table.
InvalidParameterReferenceProblem
typeA URI reference that identifies the problem type.
titleShort, human-readable summary of the problem type.
statusThe HTTP status code.
detailHuman-readable explanation specific to this occurrence.
instanceA URI reference that identifies the specific occurrence, i.e. the request path.
fieldThe input field that contains an invalid parameter reference.
referenceThe rejected parameter NeTEx ID.
VersionResponse
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).
SupplementProductUpdateRequest
chargingMomentTypeCharging moment type.
Note: Currently, only BEFORE_TRAVEL is supported in Entur sales platform.
supplementProductTypeThe type of the supplement product. This can be used to determine which parameters are relevant for the product.
vatGroupVAT group type. This is used to determine which VAT rate applies to a product. The VAT group type is determined by the product type and the country of sale. For example, in Norway, food products are subject to a reduced VAT rate of 15%, while other products are subject to the standard VAT rate of 25%. In this case, food products would be classified as FOOD_VAT, while other products would be classified as GENERAL_VAT.
purchaseWindowRef^([A-Z]{3}):Purchase… · requiredNeTEx ID of a PurchaseWindow instance (Product Parameters API, /v3/parameters/purchase-windows).
Available values are listed in the Product Parameters API.
Loose PurchaseWindow NeTEx ID on both write and read; no version is selected or pinned.
Null removes the unconditional assignment on PUT.
Channel-dependent assignments are represented separately in purchaseWindowRules.
The referenced parameter must exist and its eligible versions must jointly cover the
product validity period validBetween. An absent validBetween.toDate requires open-ended coverage.
VERSIONED products require VERSIONED parameters; PROPOSED allows PROPOSED/VERSIONED;
A DRAFT only requires the parameter to exist. Each reference is validated independently.
Invalid references return 400 application/problem+json with field and reference.
entitlementRequiredRefsNeTEx IDs of EntitlementRequired instances (Product Parameters API, limitations/entitlement-required). Available values are listed in the Product Parameters API. Loose EntitlementRequired NeTEx IDs, grouped with OR in one assignment on the product. Each ID is stored once without version pinning. PUT replaces this set; an empty list removes the assignment. Ordering is not significant. Each parameter must satisfy the same status and coverage rules as purchaseWindowRef.
Where the product is valid. Each entry is one type of validity parameters, and all entries must apply (AND). PUT replaces the list; an empty list removes the scoping.
privateCodesOptional external system identifiers.
ownerOrganisationIdInternal id of the organisation that owns this element. Omit it to use the organisation in the access token, which is what a caller acting for itself should do. Supplying a different organisation requires permission to act on behalf of that organisation.
securityPolicyStandard security policy (LOW = -200, MEDIUM = -120, HIGH = -50). Links to an existing standard SecurityPolicy through a dedicated parameter assignment on the product; does not create or modify the policy. Omitted or null means no policy on POST and removes the assignment on PUT. Eligible parameter versions must cover the product validity period, using the same status rules as purchaseWindowRef.
usageValidityPeriodRef^([A-Z]{3}):UsageVal…NeTEx ID of a UsageValidityPeriod instance (Product Parameters API, limitations/usage-validity-period).
Available values are listed in the Product Parameters API.
Loose UsageValidityPeriod NeTEx ID on the product; no version is selected or pinned.
Internally the parameter is carried by a product-owned ValidableElement that shares the
product's version, status and lifecycle, but that placement is not part of this API:
the client never addresses the VE on write or read, because exactly one owned VE exists
and it is neither selectable nor reusable.
The owned VE is always created with the product version, also without a reference, and a
further version keeps its NeTEx ID. Omitted or null removes only the assignment; the VE
itself is never removed by a write.
Eligible UVP versions must jointly cover the whole product validity period
validBetween; an absent validBetween.toDate requires open-ended coverage.
VERSIONED products require VERSIONED parameters; PROPOSED allows PROPOSED/VERSIONED;
A DRAFT only requires the parameter to exist.
Referenced UP resources are never created, edited or deleted.
requiresStandardDurationAtOfferingRequires STANDARD_DURATION in the OFFERING context for the UsageValidityPeriod. True requires usageValidityPeriodRef. Omitted means false, which removes the requirement on PUT.
Channel-dependent PurchaseWindow rules, combined with OR. Each rule has one PurchaseWindow and the validity parameters where it applies. purchaseWindowRef must be null when this list is non-empty. Omission or an empty list means no channel rules on POST and removes them on PUT. These are references to existing parameters, not inline parameter creation.
References to the versioned FareTable instances that price this supplement product.
The priceable object owns this link (as in products-spring): supply the fare tables that
price it here on write. Prices themselves live on the fare table — create/update them via the
pricing/fare-table API, then reference the fare table here. On read, SupplementProductResponse
surfaces the resolved fare-table NeTEx ids.
AuditNote
Free-text note explaining the change. Stored in the audit log of the version.
AuditExternalReferenceName
External reference name (e.g. a Jira issue key). Stored in the audit log of the version.
AuditExternalReferenceUrl
External reference URL (e.g. a Jira issue URL). Stored in the audit log of the version.
ProposeVersionRequest
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.
WithdrawVersionRequest
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.
PublishVersionRequest
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.
ExpireVersionRequest
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.
SalesOfferPackageAssignmentListItem
salesOfferPackageId^([A-Z]{3}):SalesOff… · requiredNeTEx ID of the sales package.
fareProductIdNeTEx ID of the fare product.
fareProductVersionId^([A-Z]{3}):Version:… · requiredNeTEx version ID of the assigned fare product version.
SalesOfferPackageAssignmentRequest
fareProductVersionId^([A-Z]{3}):Version:… · requiredNeTEx version ID of the fare product version to assign.
salesOfferPackageIdsList of sales package NeTEx IDs to assign the fare product to.
statusStatus of the created sales package version. Defaults to VERSIONED (auto-publish).
- DRAFT - Creates a draft version that must be sent to test and published via POST /v3/sales-offer-packages/{id}/{version}/propose and POST /v3/sales-offer-packages/{id}/{version}/publish.
- PROPOSED - Creates a proposed version pending review.
- VERSIONED - Auto-publishes the new version immediately (default).
AssignmentError
codeMachine-readable error code.
messageHuman-readable error message.
SalesOfferPackageAssignmentResultItem
salesOfferPackageId^([A-Z]{3}):SalesOff… · requiredNeTEx ID of the sales package.
statusWhether the assignment succeeded or failed for this sales package.
versionStatusThe status of the created sales package version. Only present on success.
createdVersionId^([A-Z]{3}):Version:…NeTEx version ID of the newly created sales package version. Only present on success.
versionNumberVersion number of the created version. Only present when versionStatus is VERSIONED.
Error details for a failed assignment.
SalesOfferPackageAssignmentResponse
Per-sales-offer-package result. Best-effort — failure on one sales package does not stop others.
SalesOfferPackageListResponse
totalCountTotal number of elements matching the query.
pageCurrent zero-based page number.
sizeRequested page size.
The sales packages on this page, ordered by id.
FareProductRef
fareProductIdNeTEx ID of the fare product.
fareProductVersionId^([A-Z]{3}):Version:… · requiredNeTEx version ID of the fare product.
fareProductVersionNumberSequence number of the fare product version. Optional — set when the fare product version is published.
SalesOfferPackageRequest
ownerOrganisationIdInternal id of the organisation that owns this element. Omit it to use the organisation in the access token, which is what a caller acting for itself should do. Supplying a different organisation requires permission to act on behalf of that organisation.
List of fare product references to include in this sales package.
SalesOfferPackageResponse
id^([A-Z]{3}):SalesOff… · requiredNeTEx ID of the sales package.
versionId^([A-Z]{3}):Version:… · requiredNeTEx id of this sales package version.
ownerOrganisationIdInternal id of the organisation that owns this sales package.
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.
List of fare product references included in this sales package.