Branch (p:branch)

http://profiles.goabout.com/branch

The Branch (p:branch) resource represents a branch (owned by an Agency (p:agency)) at which Product (p:product)s are available.

Example

{
  "_embedded" : {
    "http://rels.goabout.com/location" : {
      "_links" : {
        "self" : {
          "href" : "https://api.goabout.com/location/address/00000000"
        }
      },
      "city" : "Null Island",
      "coordinates" : {
        "latitude" : 0.0,
        "longitude" : 0.0
      },
      "housenumber" : "0",
      "label" : "0th Avenue 0, Null Island",
      "postalCode" : "00",
      "street" : "0th Avenue",
      "type" : "address"
    }
  },
  "_links" : {
    "http://rels.goabout.com/operator" : {
      "href" : "https://api.goabout.com/agency/1"
    },
    "self" : {
      "href" : "https://api.goabout.com/branch/1"
    }
  },
  "locationHref" : "https://api.goabout.com/location/address/00000000",
  "name" : "Address branch"
}

Properties

name:String The name of the branch
locationHref:URI The href to the location resource