POST request to add a new group.
The identifier for the newly added group is included in the JSON object returned as the response.
The request will fail when the group name contains illegal characters.
The details for the location category in a JSON object included in the HTTP body.
Ensure you set the content-type of the request body to “application/json;charset=UTF-8”.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The name for the group - name must not contain any of the characters <>?"/|%{}*[]
"Group Name"
Unique, unchangeable system generated identifier (alphanumeric) for the parent of this group.
this value is mandatory, a new top root node for the hierarchy cannot be created.
"parentGroupId"
Newly created group
Unique, unchangeable system generated identifier (alphanumeric) of the group.
"groupID"
Name of the group.
"group-name"
Unique, unchangeable system generated identifier (alphanumeric) for the parent of this group.
Not included for the root group in the hierarchy.
"rootGroupId"
List of the unique, unchangeable system generated identifiers (alphanumeric) for all the parent groups (starting from the root node) of this group, separated by full stops.
The list includes the identifier for this group.
"rootGroupId.groupID"
Array of unique, unchangeable system generated identifiers (alphanumeric) for the vehicles assigned to this group.
Wil be an empty array for a newly created group.
["vehicleID1", "vehicleID2"]Array of unique, unchangeable system generated identifiers (alphanumeric) for the drivers and web users assigned to this group.
Wil be an empty array for a newly created group.
["personID1", "personID2"]