Class 5 Group Member

Create

Create a new Class 5 Group Member record.

post/api/cp/class5/group-member

Request body

idinteger

Id

group_idinteger required

Group Id (references c5_group.id)

destinationstring

Destination

destination_type'external' | 'internal' | 'uri' | 'user'

Destination Type

ring_timeoutinteger

Ring Timeout

idxinteger

Idx

weightinteger

Weight

Example request

{
  "id": 12345,
  "group_id": 1,
  "destination": "example_destination",
  "destination_type": "external",
  "ring_timeout": 1,
  "idx": 1,
  "weight": 1
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes