Trip registrations (p:trip-registrations)

http://profiles.goabout.com/trip-registrations

This collection of Trip registration (p:trip-registration) contains all registrations of trip for a User.

Example

$ curl -H'Content-Type: application/json' -H'Authorization: Bearer UArtDY9Bpo9Whga2mfd7nIK6vENxp2twtnH7RvPC6xj0jy6' 'https://api.goabout.com/trip-registrations'

{
  "_embedded" : {
    "item" : [ {
      "toHref" : "https://api.goabout.com/location/address/bac9b24d",
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/trip-registration/36"
        },
        "http://rels.goabout.com/floating-data": {
          "href" : "https://api.goabout.com/trip-registration/36/floating-data"
        },
        "http://rels.goabout.com/user" : {
          "href": "https://api.goabout.com/user/1"
        },
        "http://rels.goabout.com/client": {
          "href" : "https://api.goabout.com/client/1"
        }
      }
    }, {
      "toHref" : "https://api.goabout.com/location/address/a2f9e237",
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/trip-registration/48"
        },
        "http://rels.goabout.com/floating-data": {
          "href" : "https://api.goabout.com/trip-registration/48/floating-data"
        },
        "http://rels.goabout.com/user" : {
          "href": "https://api.goabout.com/user/1"
        },
        "http://rels.goabout.com/client": {
          "href" : "https://api.goabout.com/client/1"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://api.goabout.com/trip-registrations"
    }
  }
}

Reference

HTTP

GET:You can get the Trip registrations (p:trip-registrations) by following the href from a User (p:user).