Get Trunk Group
Description
Returns a single Trunk Group.
Request
HTTP Method: GET
URI Path: /v3/trunk_groups/
URI Query Parameters:
Name |
Type |
Is Required? |
Description |
---|---|---|---|
id |
|
Yes |
Unique ID identifier of the Trunk Group. |
include |
|
Optional |
Includes:
Value |
Description |
---|---|
trunks |
Examples
GET /v3/trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664 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/trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664 -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
GET /v3/trunk_groups/418fe352-04b8-4e03-a7ce-cb57efd8c664 HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
GET /v3/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae?include=trunks 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/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae?include=trunks' -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
GET /v3/trunk_groups/465b059a-b4a2-4c8e-ab3b-33dc60e096ae?include=trunks HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
Other Responses
Code |
Success |
Description |
---|---|---|
404 |
No |
|
401 |
No |