Internal

Consume one access right of a fare contract

Consumes (activates) one of the consumable customer purchase package elements of a fare contract, e.g. one clip of a carnet (klippekort). Consumption is done with activation means USE_OF_MOBILE_DEVICE.

post/v1/customer-accounts/{customerAccountId}/fare-contracts/{fareContractId}/consume

Request

  • Base URL
    https://abt-integration-entur-production.entur.io
  • Auth
    none declared

Path parameters

customerAccountIdstring required

Customer Account ID

fareContractIdstring required

Fare Contract ID

Request body

validableElementIdstring required

elementId on validableElement in context of an order. Identifies which customer purchase package element (e.g. which klippekort) to consume, as a fare contract may contain several.

Response

OK

fareContractRefstring required
remainingNumberOfAccessesinteger

Number of accesses left on the consumed element after this consumption. Not set if the number of accesses is unlimited or unknown.

Changes

No recorded changes to this operation across all 1 revision of this API.