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

GET /v3/cdr_exports 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/cdr_exports -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
        "data": [{
                        "id": "47b08cb8-497a-491c-8263-323498d8bca3",
                        "type": "cdr_exports",
                        "attributes": {
                                "filters": {
                                        "year": "2017",
                                        "month": "3"
                                },
                                "status": "Completed",
                                "created_at": "2017-06-25T14:56:31.513Z",
                                "url": "https://api.didww.com/v3/cdr_exports/a4f6b765-f20c-45c7-98d2-80c2f3a41517.csv"
                        }
                },
                {
                        "id": "62b9a23f-4f54-4da1-9b29-c0f6e1b68a3e",
                        "type": "cdr_exports",
                        "attributes": {
                                "filters": {
                                        "year": "2017",
                                        "month": "4"
                                },
                                "status": "Processing",
                                "created_at": "2017-06-26T14:56:31.513Z",
                                "url": null
                        }
                },
                {
                        "id": "77d59bda-33e5-441b-8d38-cc3f0045c673",
                        "type": "cdr_exports",
                        "attributes": {
                                "filters": {
                                        "year": "2017",
                                        "month": "5"
                                },
                                "status": "Pending",
                                "created_at": "2017-06-26T14:56:31.513Z",
                                "url": null
                        }
                }
        ],
        "meta": {
                "total_records": 3,
                "api_version": "2017-09-18"
        }
}

Other Responses

Code

Success

Description

401

No

Unauthorized