Get CDR Exports#

Description

Returns a collection of CDR Exports.

Forming Request#

Request Method: GET

Request Path: /v3/cdr_exports

URI Parameters:

Name

Type

Is Required?

Description

sort

string

Optional

Sorting

Sorting:

Value

Sorts by:

status

The status field.

created_at

The created_at field.

Example#

http

1GET /v3/cdr_exports HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]

curl

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

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5        "data": [{
 6                        "id": "47b08cb8-497a-491c-8263-323498d8bca3",
 7                        "type": "cdr_exports",
 8                        "attributes": {
 9                                "filters": {
10                                        "year": "2017",
11                                        "month": "3"
12                                },
13                                "status": "Completed",
14                                "created_at": "2017-06-25T14:56:31.513Z",
15                                "url": "https://api.didww.com/v3/cdr_exports/a4f6b765-f20c-45c7-98d2-80c2f3a41517.csv"
16                        }
17                },
18                {
19                        "id": "62b9a23f-4f54-4da1-9b29-c0f6e1b68a3e",
20                        "type": "cdr_exports",
21                        "attributes": {
22                                "filters": {
23                                        "year": "2017",
24                                        "month": "4"
25                                },
26                                "status": "Processing",
27                                "created_at": "2017-06-26T14:56:31.513Z",
28                                "url": null
29                        }
30                },
31                {
32                        "id": "77d59bda-33e5-441b-8d38-cc3f0045c673",
33                        "type": "cdr_exports",
34                        "attributes": {
35                                "filters": {
36                                        "year": "2017",
37                                        "month": "5"
38                                },
39                                "status": "Pending",
40                                "created_at": "2017-06-26T14:56:31.513Z",
41                                "url": null
42                        }
43                }
44        ],
45        "meta": {
46                "total_records": 3,
47                "api_version": "2017-09-18"
48        }
49}

Other Responses#

Code

Success

Description

401

No

Unauthorized