Trip Leg (r:trip-leg)

The trip relation links both Trip (p:trip) and Reservation (p:reservation) to a TripLeg (p:trip-leg). The link from the Trip (p:trip) indicates that the related trip the parent of this TripLeg (p:trip-leg). The link from the Reservation (p:reservation) shows the way to the reservation for this trip-leg, if applicable.


  "_links" : {
    "" : {
      "href" : ""

A GET request to the URL will return the associated trip-leg resource.


The profile of the linked resource is TripLeg (p:trip-leg).