Trips (r:trips)

The trips relations links a User (p:user) resource a collection of Trip (p:trip) resources of selected trips. Selected trips are Trip (p:trip) of which the user has indicated to take this specific trip out of the list of alternatives for this trip.


  "_links": {
    "": {
      "templated": true,
      "link": "{?start,end}"

A GET request to the URL will return a collection of selected trips departing between 10:00 and 12:00 UTC on December 15, 2013.


The link template uses the following variables:

Name Description Default
begin The start of the departure time interval.  
end The end of the departure time interval.  

The profile of the linked resource is a HalCollection of Trip (p:trip).