Get All Place Sets

GET /placesets

Returns information about all the place sets within the account.

Request

Authorization: bearer {token}

Response

NameDescriptionData Type
IdUnique placeset identifierInt
NameName of the placesetstring
ModifiedOnIndicates the last time the place was modifiedDateTime
PlacesCountNumber of places within the placesetInt
CategoryCategory associated with the placeset
Valid categories include:
  • truck
  • auto_rental
  • entertainment
  • retail
  • restaurant
  • parking
  • other
  • medical
  • hotel
  • fuel
  • charging_station
  • distribution_center
  • bank
  • airport
string

Sample Response

{
  "data": [
    {
      "Name": "Truck Stops",
      "Id": 204737,
      "PlacesCount": 3,
      "ModifiedOn": "2019-02-19T22:47:37.93+00:00",
      "Categories": ["truck"],
      "Places": []
    },
    {
      "Name": "Gas Stations",
      "Id": 218306,
      "PlacesCount": 0,
      "ModifiedOn": "2019-02-19T22:47:37.93+00:00",
      "Categories": ["fuel"],
      "Places": []
    }
  ]
}

Error Codes

NameDescription
401 UnauthorizedThis error is thrown when Authorization token is invalid or expired.