Subscriber History Record
This documentation defines the Subscriber History Record (ALTRANHD) schema fields.
Please Note This documentation defines the most relevant fields. Treat the response from the View Table Schema (
XMGETFMT) endpoint as the authoritative field list for any specific site.
Date formats
NTD is a timestamp format used by DICE. NTD dates are used when defining time frames within endpoint calls. See the Date Format documentation for information on converting NTD to UNIX and vice versa if needed.
Field definitions
| # | Name | Description | Length | Padding Type |
|---|---|---|---|---|
| 1 | ACCOUNT_NUMBER | The subscriber account number assigned upon creation. | 9 | Right justify data and pad with leading spaces. |
| 2 | HISTORY_EVENT_NTD | The NTD timestamp of when the history event occurred. | 12 | Pad with trailing spaces. |
| 3 | INCIDENT_NUMBER | Unique identifier created by the system and assigned to the event. | 8 | Pad with trailing spaces. |
| 4 | SEIA_CODE | If applicable, the SEIA alarm code. | 5 | Pad with trailing spaces. |
| 5 | ZONE_CODE_1 | The zone code sent by the panel. | 6 | Pad with trailing spaces. |
| 6 | ZONE_CODE_2 | The zone or user that was sent. The SECOND_ZONE_IS field determines whether it was processed as a zone or a user. | 6 | Pad with trailing spaces. |
| 7 | AREA | If applicable, the area that was sent by the panel. | 3 | Pad with trailing spaces. |
| 8 | TYPE | TThe alarm code received. | 6 | Pad with trailing spaces. |
| 9 | OPR | The operator code of the individual who handled the alarm. | 3 | Pad with trailing spaces. |
| 10 | ALARM_CATEGORY | The category assigned to the alarm. See the Alarm Category documentation for descriptions of the available categories. | 1 | Pad with trailing spaces. |
| 11 | PRIORITY | The importance assigned to the alarm type. | 1 | Pad with trailing spaces. |
| 12 | HIST_TEXT | The alarm description written to account history. | 50 | Pad with trailing spaces. |
| 13 | ALARM_RESOLUTION | If applicable, the resolution code applied to the alarm. | 2 | Pad with trailing spaces. |
| 14 | AM_NOTIFY | If applicable, indicates whether a notification was sent for this event. | 1 | Pad with trailing spaces. |
| 15 | DUPLICATE_SIGS | The number of duplicate signals received for this event. | 3 | Pad with trailing spaces. |
| 16 | PENDING_TIME | The NTD time the alarm was delivered to pending. | 12 | Pad with trailing spaces. |
| 17 | PR_CHECKSUM | A checksum value used to audit the integrity of the event record. | 3 | Pad with trailing spaces. |
| 18 | SECOND_ZONE_IS | Determines whether the value in ZONE_CODE_2 was processed as a zone or a user. | 1 | Pad with trailing spaces. |
Example request
curl --request GET \
--url 'https://example.securemcloud.com/rest/rest.php?dataSource=dice&*view=altranhd&*limit=1&*blanks=all' \
--header 'X-DICE-APPKEY: {{X-DICE-APPKEY}}' \
--header 'X-DICE-USERNAME: {{X-DICE-USERNAME}}' \
--header 'X-DICE-DATE: {{X-DICE-DATE}}' \
--header 'X-DICE-NONCE: {{X-DICE-NONCE}}' \
--header 'X-DICE-DIGEST: {{X-DICE-DIGEST}}' \
--header 'Accept: application/json' \
Example response
{
"ALTRANHD": [
{
"ACCOUNT_NUMBER": " C",
"HISTORY_EVENT_NTD": "739807.56560",
"INCIDENT_NUMBER": "!!06565.",
"SEIA_CODE": "",
"ZONE_CODE_1": "",
"ZONE_CODE_2": "",
"AREA": "",
"TYPE": "AUDIT",
"OPR": "NW",
"ALARM_CATEGORY": "N",
"PRIORITY": "",
"HIST_TEXT": "AUDIT DETAILS FOR Contact Call List",
"ALARM_RESOLUTION": "",
"AM_NOTIFY": "",
"DUPLICATE_SIGS": "",
"PENDING_TIME": "739807.56560",
"PR_CHECKSUM": 0,
"SECOND_ZONE_IS": ""
}
],
"totalRecords": 1
}