Get a Specific Place Set
The ContentTools API has been deprecated and replaced by the Places API.
GET /placesets/{setId}
Returns information about a place set associated with the setId.
Request
Authorization: bearer {token}
Response
Name | Description | Data Type |
---|---|---|
SetId
| 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 |
Categories
| Category associated with the placeset Valid categories include:
|
string |
Sample Response
{
"data": [
{
"Name": "Truck Stops",
"Id": 204737,
"PlacesCount": 3,
"ModifiedOn": "2019-02-19T22:47:37.93+00:00",
"Categories": ["truck"],
"Places": []
}
]
}
Error Codes
Name | Description |
---|---|
Cannot find Set with supplied id | This error will be thrown when the setId does not belong to the account. |