Closed Jxlle closed 1 year ago
Hello @Jxlle, you are right, this is currently not well explained. At the moment you can attach a route
to a move
action. Moves actions can thus be part of a trip
entity. This means that it is currently possible to attach routes to the sub-parts of a trip, by having routes from each individual location to the next. However it is thus not possible to attach the complete route to a trip.
I'll be sure to update the documentation. If there is a need to also attach route
s on the trip itself you would need to create a change request.
Thank you, it is clear now!
I removed some OTM4 pages since they are confusing, the current documentation should make it more clear
Hi,
I was looking through the documentation of the OTM v5 model and in the trip entity section of the guide, it is explained that route entities can be associated with a trip. However, I have difficulty finding where in the API this is possible, as there is no route property anymore for creating a trip entity. Am I missing something?
I have a similar question for vehicle entities. The guide explains that vehicles can be linked using the links property, but I cannot find this in the API spec.
EDIT: Is an AssociationCreatedEvent used for this instead?
Regards