Skip to main content
POST
Create Feature Code

Authorizations

Authorization
string
header
required

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

Body

application/json
tenantId
integer
required
Required range: 0 <= x <= 9007199254740991
code
string
required
Pattern: ^(#|\*){1}([0-9]){1}\d+$
comment
string
required
Minimum string length: 3
numVar
enum<string> | null
Available options:
EXT,
NUM
destinations
object[]

Response

200 - application/json

Created feature code

id
number
required

Feature code ID

tenantId
number
required

Tenant ID (0 = global)

code
string
required

Feature code (e.g. *67)

numVar
string | null
required

Number variable (EXT/NUM)

comment
string
required

Human-readable description

destinations
object[]
required

Routing destinations