Get All Place Sets

GET /placesets

Returns information about all the place sets within the account.

Request

Authorization: bearer {token}

Response

Name Description Data Type
Id Unique placeset identifier
Int
Name Name of the placeset
string
ModifiedOn Indicates the last time the place was modified
DateTime
PlacesCount Number of places within the placeset
Int
Category Category 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

Name Description
401 Unauthorized This error is thrown when Authorization token is invalid or expired.