999 Hosted Number Ranges

Introduction

This API is designed to allow partners who have their number ranges hosted with aql to update their interface with BT's 999 system. This will provide an easy method for the update of BT's 999 record details for our customers.

Interface

Interface Protocols

The protocol presented is HTTPS. All the API methods will be executed by a standard POST request of the HTTPS protocol.

Interface Methods

The interface methods will be as follows:

  • Activate Customer
  • Cease Customer
  • Modify Customer
  • Export Number
  • Import Number
  • Get Record IDs By Number
  • Get Record By ID

Return Codes

Return codes used will be the standard meanings for 200 OK, 404 Unauthorised and 500 INTERNAL ERROR.

Activate Customer

Request: Used to activate a number with associated customer details at BT's TDM system.
URL: https://999.aql.com/matilda/ActivateCustomer
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: aql Description: 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: aql Description: 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone Number. Must start with 0, e.g. 01242111222
Parameter: postcode Type: Alphanumeric Required: Yes Length: 8 Description: Customer's postcode. This must be sent in the following format: LS11 5DF, S9 5AD, S60 3ML
Parameter: effective_date Type: Alphanumeric Required: Yes Length: Description: Date on which the command associated with the listing is to be executed. Format used must be YYYY-MM-DD (where Y = Year, M = Month & D = Day)
Parameter: surname Type: Alphanumeric Required: Yes Length: 50 Description: Name of the customer if residential or business name
Parameter: title Type: Alphanumeric Required: No Length: 20 Description: Title of the customer
Parameter: forename Type: Alphanumeric Required: No Length: 20 Description: Forename of the customer
Parameter: honours Type: Alphanumeric Required: No Length: 30 Description: Honours of the customer
Parameter: business_suffix Type: Alphanumeric Required: No Length: 50 Description: Business suffix
Parameter: line_type Type: Alphanumeric Required: No Length: 30 Description: Line type. This is for DDI/VoIP type number ranges or it basically will add a flag to show that the record which is being sent may not reflect the actual location of the caller. Options for the population of this field are EXT, DDI, FNET, or VOIP any of these possible mnemonic's will flag to the Operator as well as an Emergency Authority who has the EISEC service. (This allows the Emergency Authority to see the name and address details we have for a customer at the time of a 999 call)
Parameter: premises Type: Alphanumeric Required: No Length: 60 Description: Identifies premises on a thoroughfare i.e. house name and/or number. Example: 24 and/or Bleak House
Parameter: thoroughfare Type: Alphanumeric Required: No Length: 55 Description: The thoroughfare name and type. For example, Byron Close, Suffolk Lane, and High Street
Parameter: locality Type: Alphanumeric Required: No Length: 30 Description: Village or an area within a town and town if possible

Output Parameters

Parameter Value Description
Parameter: id Value: Numeric Description: ID of created record

Modify Customer: Remove

Request: Used to remove the requested number at BT's TDM system.
URL: https://999.aql.com/matilda/CeaseCustomer
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: Description: 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: Description: 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone Number. Must start with 0, e.g. 01242111222
Parameter: effective_date Type: Alphanumeric Required: Yes Length: Description: Date on which the command associated with the listing is to be executed. Format used must be YYYY-MM-DD (where Y = Year, M = Month & D = Day)

Output Parameters

Parameter Value Description
Parameter: id Value: Numeric Description: ID of removed record

Modify Customer: Modify

Request: Used to modify the requested number at BT's TDM system.
URL: https://999.aql.com/matilda/ModifyCustomer
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: Description: 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: Description: 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone Number. Must start with 0, e.g. 01242111222
Parameter: postcode Type: Alphanumeric Required: Yes Length: 8 Description: Customer's postcode. This must be sent in the following format: LS11 5DF, S9 5AD, S60 3ML
Parameter: effective_date Type: Alphanumeric Required: Yes Length: Description: Date on which the command associated with the listing is to be executed. Format used must be YYYY-MM-DD (where Y = Year, M = Month & D = Day)
Parameter: surname Type: Alphanumeric Required: Yes Length: 50 Description: Name of the customer if residential or business name
Parameter: title Type: Alphanumeric Required: No Length: 20 Description: Title of the customer
Parameter: forename Type: Alphanumeric Required: No Length: 20 Description: Forename of the customer
Parameter: honours Type: Alphanumeric Required: No Length: 30 Description: Honours of the customer
Parameter: business_suffix Type: Alphanumeric Required: No Length: 50 Description: Business suffix
Parameter: line_type Type: Alphanumeric Required: No Length: 30 Line type. This is for DDI/VoIP type number ranges or it basically will add a flag to show that the record which is being sent may not reflect the actual location of the caller. Options for the population of this field are EXT, DDI, FNET, or VOIP any of these possible mnemonic's will flag to the operator as well as an Emergency Authority who has the EISEC service (this allows the Emergency Authority to see the name and address details we have for a customer at the time of a 999 call).
Parameter: premises Type: Alphanumeric Required: No Length: 60 Description: Identifies premises on a thoroughfare, i.e. house name and/or number. Example: 24 and/or Bleak House
Parameter: thoroughfare Type: Alphanumeric Required: No Length: 55 Description: The thoroughfare name and type. Examples: Byron Close, Suffolk Lane, and High Street.
Parameter: locality Type: Alphanumeric Required: No Length: 30 Description: Village or an area within a town and town if possible

Output Parameters

Parameter Value Description
Parameter: id Value: Numeric Description: ID of removed record

Export Number

Request: Use to initiate an export to another carrier at BT's TDM system.
URL: https://999.aql.com/matilda/ExportNumber
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: Description: aql 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: Description: aql 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone Number. Must start with 0, e.g. 01242111222
Parameter: postcode Type: Alphanumeric Required: Yes Length: 8 Description: Customer's postcode. This must be sent in the format of 'out-code space in-code', e.g. LS11 5DF, S9 5AD, S60 3ML
Parameter: effective_date Type: Alphanumeric Required: Yes Length: Description: Date on which the command associated with the listing is to be executed. Format used must be YYYY-MM-DD (where Y = Year, M = Month & D = Day)
Parameter: cp_identifier Type: Numeric Required: Yes Length: Description: CUPID of importing CP

Output Parameters

Parameter Value Description
Parameter: id Value: Numeric Description: ID of exported record

Import Number

Request: Used to confirm the import of a number from other carrier at BT's TDM system.
URL: https://999.aql.com/matilda/ImportNumber
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: Description: aql 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: Description: aql 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone Number. Must start with 0, e.g. 01242111222
Parameter: postcode Type: Alphanumeric Required: Yes Length: 8 Description: Customer's postcode. This must be sent in the format of 'out-code space in-code', e.g. LS11 5DF, S9 5AD, S60 3ML
Parameter: effective_date Type: Alphanumeric Required: Yes Length: Description: Date on which the command associated with the listing is to be executed. Format used must be YYYY-MM-DD (where Y = Year, M = Month & D = Day)
Parameter: surname Type: Alphanumeric Required: Yes Length: 50 Description: Name of the customer
Parameter: title Type: Alphanumeric Required: No Length: 20 Description: Title of the customer
Parameter: forename Type: Alphanumeric Required: No Length: 20 Description: Forename of the customer
Parameter: honours Type: Alphanumeric Required: No Length: 30 Description: Honours of the customer
Parameter: business_suffix Type: Alphanumeric Required: No Length: 50 Description: Business suffix
Parameter: line_type Type: Alphanumeric Required: No Length: 30 Description: Line type. This is for DDI/VoIP type number ranges or it basically will add a flag to show that the record which is being sent may not reflect the actual location of the caller. Options for the population of this field are EXT, DDI, FNET, or VOIP any of these possible mnemonic's will flag to the Operator as well as an Emergency Authority who has the EISEC service. (This allows the Emergency Authority to see the name and address details we have for a customer at the time of a 999 call)
Parameter: premises Type: Alphanumeric Required: No Length: 60 Description: Identifies premises on a thoroughfare, i.e. house name and/or number. E.g. 24 and/or Bleak House
Parameter: thoroughfare Type: Alphanumeric Required: No Length: 55 Description: The thoroughfare name and type, e.g. Byron Close, Suffolk Lane, and High Street
Parameter: locality Type: Alphanumeric Required: No Length: 30 Description: Village or an area within a town and town if possible

Output Parameters

Parameter Value Description
Parameter: id Value: Numeric Description: ID of imported record

Get Record IDs by Number

Request: Returns the ID numbers of all records associated with the requested phone number. Record ID numbers will be ordered from most recent to oldest.
URL: https://999.aql.com/matilda/GetRecordIDsByNumber
Method: POST

Parameter Type Required Length Description
Parameter: username Type: Alphanumeric Required: Yes Length: Description: aql 999 username
Parameter: password Type: Alphanumeric Required: Yes Length: Description: aql 999 password
Parameter: number Type: Numeric Required: Yes Length: 15 Description: Telephone number. Must start with 0, e.g. 01242111222

Response

Parameter Value Description
Parameter: id Value: Alphanumeric Description: List of record IDs separated by commas, ordered by most recent record to oldest, e.g. '135,141,156'

Get Record by ID

Request: Used to activate a number with associated customer details at BT's TDM system.
URL: https://999.aql.com/matilda/ActivateCustomer
Method: POST

Parameter Value Description
Parameter: id Value: Numeric Description: ID of record
Parameter: created Value: Alphanumeric Description: Date and time of when the request was made to aql 999. Format: YYYY-MM-DD HH:MM.SS.mmmmmm
Parameter: command Value: Alphanumeric Description: Command (A, C, M, E, I)
Parameter: status Value: Alphanumeric Description: Record status (see below)
Parameter: postcode Value: Alphanumeric Description: Customer's postcode
Parameter: effective_date Value: Alphanumeric Description: Date on which the command associated with the listing is to be executed. Format used is YYYY-MM- DD (where Y = Year, M = Month & D = Day)
Parameter: surname Value: Alphanumeric Description: Name of the customer
Parameter: title Value: Alphanumeric Description: Title of the customer
Parameter: forename Value: Alphanumeric Description: Forename of the customer
Parameter: honours Value: Alphanumeric Description: Honours of the customer
Parameter: business_suffix Value: Alphanumeric Description: Business suffix
Parameter: line_type Value: Alphanumeric Description: Line type. This is for DDI/VoIP type number ranges or it basically will add a flag to show that the record which is being sent may not reflect the actual location of the caller. Options for the population of this field are EXT, DDI, FNET, or VOIP any of these possible mnemonic's will flag to the Operator as well as an Emergency Authority who has the EISEC service. (This allows the Emergency Authority to see the name and address details we have for a customer at the time of a 999 call)
Parameter: premises Value: Alphanumeric Description: Identifies premises on a thoroughfare i.e. house name and/or number. E.g. 24 and/or Bleak House
Parameter: thoroughfare Value: Alphanumeric Description: The thoroughfare name and type Examples: Byron Close, Suffolk Lane, and High Street
Parameter: locality Value: Alphanumeric Description: Village or an area within a town and town if possible
Parameter: cp_identifier Value: Numeric Description: CUPID
Parameter: ret_code Value: Numeric Description: Return code after processing record
Parameter: err_msg Value: Alphanumeric Description: Any error message received

Response Status

Status Description
Status: READY Description: Data captured and ready to send. All 999 update requests are collated and sent in batches periodically
Status: PENDING Description: Data submitted
Status: COMPLETE Description: Request completed
Status: FAILED Description: Request failed
AutoJemma®

How can I help you today?

Can't find what you're looking for, ask a question below!

Additional Details

AutoJemma® can make mistakes, please verify any critical information.