UnionInternationalCheminsdeFer / OSDM

Projects related to an open sales & distribution API for public transportation.
https://osdm.io
Apache License 2.0
63 stars 22 forks source link

Support for On Demand Services (OSDM-TOMP interoperability) #372

Open CGantert345 opened 1 year ago

CGantert345 commented 1 year ago

https://github.com/UnionInternationalCheminsdeFer/OSDM/wiki/I-6-Add-support-for-new-mobility-services

jspetrak commented 1 year ago

OSDM should first integrate overlapping scenarios/situations.

OSDM partners interested in on-demand should be questioned and their needs integrated first.

TOMP-API is expected to work behind and not being replicated 1:1 to OSDM API.

jspetrak commented 7 months ago

Note - discussed in minutes in November:

https://github.com/UnionInternationalCheminsdeFer/OSDM/wiki/meeting-minutes-2023#2023-11-10

https://github.com/UnionInternationalCheminsdeFer/OSDM/wiki/meeting-minutes-2023#2023-11-24

CGantert345 commented 3 months ago

TODO GET ContinuousServices (bookingPartId, geo-coordinate) --> List of available services, indication of close by services to be pre-allocated

POST PreAlocateService (serviceId) --> PreallocatedService (Service is blocked for a few minutes) DELETE PreAlocateService (serviceId)

POST AllocateService(serviceId) --> AllocatedService (Usage starts)

PATCH AllocateService(id) --> end usage (add picture of parking, usage ends)

GET ContinuousServices --> update consumption