Get NANPA Prefix
GET https://{{host}}/v3/nanpa_prefixes/:id
Returns information about single NANPA prefix.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | null | Comma-separated values of include parameter. | |
The response will include a top-level object relationships with associated data under the appropriate resource key. | |||
Details in Inclusion of Related Resources Article. |
Allowed values:
country - Country Object
region - Region Object *** |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string | ||
Api-Key | string |
RESPONSES
status: OK
{"data":{"id":"1d968dcf-8ee7-40fa-8073-cdbc027bc3b3","type":"nanpa_prefixes","attributes":{"npa":"201","nxx":"221"},"relationships":{"country":{"links":{"self":"https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/country","related":"https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/country"}},"region":{"links":{"self":"https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/region","related":"https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/region"}}}},"meta":{"api_version":"2022-05-10"}}