Get DID Group Type
Description
Returns a single DID Group Type. A DID Group Type defines a broad category of DID services supported by DIDWW (for example, mobile, local and toll-free).
Request
HTTP Method: GET
URI Path: /v3/did_group_types/
URI Query Parameters:
Name |
Type |
Is Required? |
Description |
---|---|---|---|
id |
|
Yes |
Unique ID number of a DID Group Type. |
Example
GET /v3/did_group_types/4e057223-2a0a-4707-8b35-4e6ef96c9dd9 HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API Token]
curl -i -X GET https://api.didww.com/v3/did_group_types/4e057223-2a0a-4707-8b35-4e6ef96c9dd9 -H "Accept: application/vnd.api+json" -H "Api-Key: [API Token]" -H "Content-Type: application/vnd.api+json"
HTTP/2 200 OK
Content-Type: application/vnd.api+json
{
"data": {
"id": "4e057223-2a0a-4707-8b35-4e6ef96c9dd9",
"type": "did_group_types",
"attributes": {
"name": "Local"
}
},
"meta": {
"api_version": "2017-09-18"
}
}
Other Responses
Code |
Success |
Description |
---|---|---|
404 |
No |
|
401 |
No |