Skip to content

Add accessMethod as root-element to POST bookings-one-stop and booking #570

@zerwuff

Description

@zerwuff

Is your feature request related to a problem? Please describe.

As a TO, for bookings i want to know which acesssMethods are used to book an asset.

Urgency

Major, otherwise meta-field is used and this should be more clarified with an separate field.

Additional context

In the bike sharing context, the TO needs to know which accessMethod is used to book a bike.
Ex: issuing a one-stop booking request:

For QR code, no distance check is done, bike opens right away. No Position is required from the user
For number pad usage, a position check is required. The logic is done by the TO.

Describe the solution you'd like

An an optional field 'accessMethod' (root level) in one-stop-booking request and booking request.
Possible values: all accessMethods of the asset object.

Describe alternatives you've considered

Using extraInfo Field with 'accessMethod' as key and values: all accessMethods of the asset object.

Possible Implementation

Metadata

Metadata

Labels

WT1To be discussed at the next meeting

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions