Skip to main content
POST
Add group

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Body

application/json;charset=UTF-8
Name of the group
string
required
Required string length: 1 - 255
Example:

"Group Name"

parentId
string

ID of parent group / hierarchy node. When empty it is used node id of request context

Maximum string length: 255
Pattern: ^[a-z0-9]*$
Example:

"parentGroupId"

Response

Newly created group

id
string
required

ID of group

Required string length: 1 - 24
Pattern: ^[a-z0-9]+$
Example:

"groupID"

name
string

Group name

Maximum string length: 255
Example:

"group-name"

parentId
string

ID of parent group, in case for changing the hierarchy

Example:

"rootGroupId"

path
string
read-only

Hierarchy path from root group

Example:

"rootGroupId.groupID"

vehicleIds
string[]

List of Vehicle IDs to assign for concrete group

personIds
string[]

List of Person IDs to assign for concrete group