Rename a Place Set

PUT /placesets/{setId}

Updates a place set using the unique setID.

Request

Authorization: bearer {token}

Body:

NameDescriptionData Type
Name(Optional) Name of the place set
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
string

Response

NameDescriptionData Type
idUnique place set identifier
Int
ModifiedOnIndicates the last time the place was modified
DateTime

Sample Request

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

Sample Response

{
  "data": [
    {
      "ItemsModified": 1,
      "ModifiedOn": "2019-02-26T18:58:11.413+00:00"
    }
  ]
}

Error Codes

NameDescription
Set with that name and/or tag already exists.This will be thrown when you update place set with the same name that already exists in the account.