Phone Numbers

Table Name: GXT_PHONENUMBERS_TBL

List

Request a list of phone numbers.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_PHONENUMBERS_TBL
  • Response:

    Copy
    0=Phone Number 1&1=Phone Number 2

Detail

Request the details of a specific phone number.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_PHONENUMBERS_TBL&RecId=<RecId>
  • Response:

    Copy
    PhoneNumberId=0&Name=Phone Number 1&OperatingSchedule=2147483647&SecondaryPhoneNumber=2147483647&PhoneNumber=0

Update

Update a specific phone number.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_PHONENUMBERS_TBL&PhoneNumberId=1&Name=Monitoring Station
  • Response:

    Copy
    OK

Create

Create a phone number. To create a phone number, use the same parameters as update but leave the PhoneNumberId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_PHONENUMBERS_TBL&PhoneNumberId=&Name=Phone Number 1&OperatingSchedule=2147483647&SecondaryPhoneNumber=2147483647&PhoneNumber=0
  • Response:

    Copy
    OK

Delete

Delete a specific phone number.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_PHONENUMBERS_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Notes

PhoneNumberId

Database ID

0

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Phone Number 1

 

OperatingSchedule

Operating Schedule

2147483647

Default schedule is Always.

SecondaryPhoneNumber

Secondary Phone Number

2147483647

 

PhoneNumber

Phone Number

0