Trip in progress (p:trip-in-progress)

http://profiles.goabout.com/trip-in-progress

A Trip in progress (p:trip-in-progress) is a resource that contains information about a trip that the User is currently taking. The Trip in progress (p:trip-in-progress) provides links to update the current situation for the User, i.e the current (geo)location, speed, heading and (guessed) current modeType (see Floating data (r:floating-data)).

Example

$ curl -H'Content-Type: application/json' -H'Authorization: Bearer UArtDY9Bpo9Whga2mfd7nIK6vENxp2twtnH7RvPC6xj0jy6' 'https://api.goabout.com/trip-in-progress/16'
{
  "toHref" : "https://api.goabout.com/location/address/bac9b24d",
  "_links": {
    "self" : {
      "href" : "https://api.goabout.com/trip-in-progress/16"
    },
    "http://rels.goabout.com/infocards" : {
      "href" : "https://api.goabout.com/trip-in-progress/16/infocards"
    },
    "http://rels.goabout.com/floating-data" : {
      "href" : "https://api.goabout.com/trip-registration/16/floating-data"
    },
    "http://rels.goabout.com/trip-registration" : {
      "href" : "https://api.goabout.com/trip-registration/37"
    }
  }
}

Reference

HTTP

GET:You can get the Trip in progress (p:trip-in-progress) by following the link from the User (p:user).

Properties

toHref:Location the arrival-location for this trip-in-progress