Create a Place Set
The ContentTools API has been deprecated and replaced by the Places API.
POST /placesets
Adds a place set.
Request
Authorization: bearer {token}
Body:
Name | Description | Data Type |
---|---|---|
Name
| (Required) Name of the place set Criteria:
|
string |
Category
| (Optional) Category associated with the placeset Valid categories include:
|
string |
Response
Name | Description | Data Type |
---|---|---|
id | Unique place set identifier |
Int |
ModifiedOn | Indicates the last time the place was modified |
DateTime |
Sample Request
{
"Name": "placeSetName",
"Category": "truck"
}
Sample Response
{
"data": [
{
"Id": 10386508,
"ModifiedOn": "2019-02-26T15:30:32.663+00:00"
}
]
}
Error Codes
Name | Description |
---|---|
Set with that name and/or tag already exists. | This will be thrown when you add a place set with the same name that already exists in the account. |