Skip to main content
POST
/
v1
/
card-hierarchies
/
{cardHierarchyId}
/
groups
Create Card Hierarchy Group
curl --request POST \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/hierarchy/v1/card-hierarchies/{cardHierarchyId}/groups' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "parentId": "<string>",
  "type": "ROOT"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "type": "ROOT",
  "parentId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cardHierarchyId
string<biginteger>
required

Card hierarchy id

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
name
string
required

Name of the group

parentId
string<biginteger>
required

Id of the parent group

type
enum<string>
required

Only INTERMEDIATE and CARD are allowed here

Available options:
ROOT,
INTERMEDIATE,
CARD

Response

Card Hierarchy group successfully created

id
string<biginteger>
required

Generated id of the group

name
string
required

Name of the group

type
enum<string>
required

Type of the group

Available options:
ROOT,
INTERMEDIATE,
CARD
parentId
string<biginteger>

Id of the parent group