Create a Place Set

POST /placesets

Adds a place set.

Request

Authorization: bearer {token}

Body:

NameDescriptionData Type
Name(Required) Name of the place set

Criteria:
  • Place set names are unique per account.
  • Place set name cannot be null.
  • Place set name should support alphanumeric values.
  • Place set names cannot exceed 100 characters.
string
Category(Optional) 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
The place set will be marked as other when no category is specified.
string

Response

NameDescriptionData Type
idUnique place set identifierInt
ModifiedOnIndicates the last time the place was modifiedDateTime

Sample Request

{
  "Name": "placeSetName",
  "Category": "truck"
}

Sample Response

{
  "data": [
    {
      "Id": 10386508,
      "ModifiedOn": "2019-02-26T15:30:32.663+00:00"
    }
  ]
}

Error Codes

NameDescription
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.