Agencies (p:agencies)

http://profiles.goabout.com/agencies

The Agencies (p:agencies) profile represents a collection of Agency (p:agency) resources.

Example

{
  "_embedded" : {
    "item" : [ {
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/agency/1"
        }
      },
      "logoHref" : "https://goabout.com/pages/agencies/aqualiner.png",
      "moreInfoHref" : "https://goabout.com/pages/agencies/aqualiner",
      "name" : "Aqualiner"
    }, {
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/agency/2"
        }
      },
      "logoHref" : "https://goabout.com/pages/agencies/arriva.png",
      "moreInfoHref" : "https://goabout.com/pages/agencies/arriva",
      "name" : "Arriva (TCR)"
    }, {
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/agency/3"
        }
      },
      "logoHref" : "https://goabout.com/pages/agencies/arriva.png",
      "moreInfoHref" : "https://goabout.com/pages/agencies/arriva",
      "name" : "Arriva"
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "http://localhost:9998/api/agencies"
    }
  }
}

Reference

Embedded

item:A list of Agency (p:agency).

Methods

GET:Retrieve the list of agencies.
POST:Add an item to the list of agencies.