get_carrier_voice_type()

The Broadband API

This function tells you what type of voice carrier a specific line at a specific address has. Given a zipcode-housenumber combination and a telephone number (use the carriercheck() function to obtain a list of registered telephone numbers at a location) it tells you if the line is a POTS or ISDN line.

Production URL:
https://api.nextpertise.nl/broadband/v1
Testing URL:
https://api.nextpertise.nl/test/broadband/v1 See Testing for more information.

Method

get_carrier_voice_type

Input

get_carrier_voice_type request v1

http://api.nextpertise.nl/schemas/broadband/get_carrier_voice_type_request_v1.json
Gets the type (ISDN/POTS) of a single line.
type object
allOf
Location
type object
properties
  • reqphone
Telephone number

Output

get_carrier_voice_type reply v1

http://api.nextpertise.nl/schemas/broadband/get_carrier_voice_type_reply_v1.json
Gets the type (ISDN/POTS) of a single line.
type object
properties
  • technology
Specify the voice line technology.
type string
enum POTS, ISDN
additionalProperties False

Example

Request

curl -s -u 'user:pass' https://api.nextpertise.nl/broadband/v1 -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "get_carrier_voice_type",
    "params": {
        "zipcode": "9999ZZ",
        "housenr": 0,
        "reqphone":"0......."
    }
}' | jq .

Reply

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "technology": "POTS"
    }
}