Skip to main content

Get All Place Sets

The ContentTools API has been deprecated and replaced by the Places API.

GET /placesets

Returns information about all the place sets within the account.

Request

Authorization: bearer {token}

Response

NameDescriptionData Type
IdUnique placeset identifier
Int
NameName of the placeset
string
ModifiedOnIndicates the last time the place was modified
DateTime
PlacesCountNumber of places within the placeset
Int
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.
Last updated December 2, 2022.