Get Trunk Groups

Description

Returns a collection of Trunk Groups.

Request

HTTP Method: GET

URI Path: /v3/trunk_groups

URI Query Parameters:

Name

Type

Is Required?

Description

include

string

Optional

Inclusion

sort

string

Optional

Sorting

Includes:

Value

Description

trunks

List of Trunk Objects

Sorting:

Value

Sorts by:

name

The name field.

created_at

The created_at field.

capacity_limit

The capacity_limit field.

Fielding:

Value

Returns:

name

The name attribute.

created_at

The created_at attribute.

capacity_limit

The capacity_limit attribute.

Examples

http

GET /v3/trunk_groups HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]

curl

curl -i -X GET https://api.didww.com/v3/trunk_groups -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

GET /v3/trunk_groups 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

401

No

Unauthorized