Entur Developer
Partner
REST
Products

charging-policies

Server

Retrieves all charging policies

GET
https://api.entur.io/products
/charging-policies

Retrieves all charging policies › query Parameters

orgId
​string · style: form · explode: true

The unique id to identify an organisation

fareFrameId
​string · style: form · explode: true

The unique id to identify a dataset to an organisation

minimizeDataLoad
​boolean · style: form · explode: true

Retrieves all charging policies › 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.

Retrieves all charging policies › Responses

Returns the info

A ChargingPolicy response
changed
​string · readOnly · required

ChargingPolicy changed datetime.

created
​string · readOnly · required

ChargingPolicy create datetime.

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:ChargingPolicy:Ordinary
modification
​string · enum · readOnly · required

Modification status

Enum values:
NEW
REVISE
DELETE
Example: NEW
nameOfClass
​string · readOnly · required

Name of class.

Example: ChargingPolicy
status
​string · enum · readOnly · required

Status

Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
billingPolicy
​string · enum

TravelBillingPolicy is optional. No default value

Enum values:
BILL_AS_YOU_GO
BILL_ON_THRESHOLD
BILL_AT_FARE_DAY_END
BILL_AT_PERIOD_END
creditPolicy
​string · enum

Travel credit policy enum is optional. No default value

Enum values:
ALLOW_TRAVEL
BLOCK_PAY_AS_YOU_GO_TRAVEL
BLOCK_ALL_TRAVEL
OTHER
​TextInLanguage[]

ChargingPolicy description in different languages. Language codes are ISO-639

expireAfterPeriod
​string

Expire after period. Represented as a string formatted according to ISO-8601

Example: PT1H
​TextInLanguage[]

ChargingPolicy name in different languages. Language codes are ISO-639.

paymentGracePeriod
​string

Payment grace period. Represented as a string formatted according to ISO-8601

Example: PT1H
typeOfUsageParameter
​string

type of UsageParameter.

version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z…

Version

Example: NSB:Version:V1

Did you find what you were looking for?