TOMP-WG / TOMP-API

Transport Operator to Mobility-as-a-Service Provider-API development for Mobility as a Service
Apache License 2.0
100 stars 41 forks source link

[FEATURE REQUEST] Possibility of transmitting the user location as part of leg events #553

Open 7oats opened 4 months ago

7oats commented 4 months ago

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

As a TO, we want to ensure that an end customer is close enough to an asset to prevent it from being opened remotely. Therefore, the MP must be able to transmit the position of the end customer to the TO when a request to open the asset is sent.

Urgency

Major (the TOMP API works as advertised but this is really neccessary to implement), because our process to open an asset depends on the user location

Additional context

Describe the solution you'd like

Transferring the position within the legEvent object.

Describe alternatives you've considered

Possible Implementation

POST: /legs/{id}/events] { "time": "string", "event": "string", "comment": "string", "url": [ "string" ], "asset": asset, "userLocation": place }

edwinvandenbelt commented 4 months ago

As mentioned, we're going to have a look at this, but please remind that this adjustment has certain GDPR aspects. It cannot be applied without additional actions, like processing agreements and security precautions.

edwinvandenbelt commented 2 months ago

With thorough documentation of the GDPR aspects!!!