CONSTANTS & ENUMERATED TYPES


Several types are used in various objects throughout the API.

Constant Types


Constant types are represented as integer values. Each item in a constant type list will be returned in the following format:

Id Name
The integer value of the type. The descriptive name of the type.

For example:

GET ivrapi/System/TerminationDndTypes

{
  "status": "success",
  "message": "",
  "data": 
  [
    {
      "Id": 0,
      "Name": "Off"
    },
    {
      "Id": 1,
      "Name": "Do Not Disturb"
    },
    {
      "Id": 2,
      "Name": "Out of Service"
    }
  ]
}

Enumerated Types


Enumerated types are represented as names. Each item in an enumerated type list will be returned in the following format:

Id Name Enumerated Type Name
A value used to identify the order of the item in the list. It does not correspond to the ordinal value of the type itself. The descriptive name of the type. The enumerated type value, which will be used for assignment to an object property.

For example:
GET /System/AccountAliasTypes

{
  "status": "success",
  "message": "",
  "data": 
  [
    {
      "Id": 1,
      "Name": "Authentication",
      "EnumeratedTypeName": "aatAuthentication" <-------------
    },
    {
      "Id": 2,
      "Name": "Registration",
      "EnumeratedTypeName": "aatRegistration" <-------------
    }
  ]
}

Account Alias Types

Account Status Types

Account Types

Batch Generation Method Types

gmMostEfficient, gmMostRandom

Billing Entry Types

Billing Package Item Types

Billing Types

Call Types

CAMEL MO Routing Types

CAMEL MT Routing Types

Charge Types

Codec Types

Cost Types

Disconnect Charge Types

Disconnect Codes

Endpoint Types

Event Log - Log Types

Event Log - Event Types

HLR Status Types

IMSI Status Types

Interrupt Call Types

Invoice Batch Types

Minimum Balance Types

Mobile Charge Types

MT SMS Delivery Types

Notification Method Types

Password Generation Types

Portal Types

Rate Types

Redirect Types

Registration Types

SIM Status Types

SMS Number Types

SMS Numbering Plan Types

Termination Types

Username Generation Types