Entur Developer
Products

export

Server

Exports a sales package tree as XML. If netex is true, NeTEx formatting is applied. If netex is false, a plain XML conversion of the entire salesPackageWithChildren structure is returned (for debugging purposes).

GET
https://api.entur.io/products
/export/sales-packages/{netexId}/{version}

Exports a sales package tree as XML. If netex is true, NeTEx formatting is applied. If netex is false, a plain XML conversion of the entire salesPackageWithChildren structure is returned (for debugging purposes). › path Parameters

netexId
​string · required · style: simple

The NeTEx ID of the sales package

version
​string · required · style: simple

The version of the sales package

Exports a sales package tree as XML. If netex is true, NeTEx formatting is applied. If netex is false, a plain XML conversion of the entire salesPackageWithChildren structure is returned (for debugging purposes). › query Parameters

netex
​boolean · style: form · explode: true

If true, apply NeTEx formatting; if false, return plain XML

Exports a sales package tree as XML. If netex is true, NeTEx formatting is applied. If netex is false, a plain XML conversion of the entire salesPackageWithChildren structure is returned (for debugging purposes). › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

If-None-Match
​string · style: simple

Used 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.

Exports a sales package tree as XML. If netex is true, NeTEx formatting is applied. If netex is false, a plain XML conversion of the entire salesPackageWithChildren structure is returned (for debugging purposes). › Responses

Returns the sales package tree as XML

string

Did you find what you were looking for?