Get Export

Description

Returns a single Export.

Forming Request

Request Method: GET

Request Path: /v3/exports/

URI Parameters:

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of CDR Export.

Example

http

GET /v3/exports/77ebb57f-7b01-4178-bc84-9d1a8d2ae850 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/exports/77ebb57f-7b01-4178-bc84-9d1a8d2ae850 -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": "77ebb57f-7b01-4178-bc84-9d1a8d2ae850",
      "type": "exports",
      "attributes":       {
         "status": "Completed",
         "created_at": "2022-02-23T17:21:32.591Z",
         "url": "https://api.didww.com/v3/exports/baf6d4cf-e6e8-4920-b15f-b2abc6cb4a7d.csv.gz",
         "callback_url": "http://example.com",
         "callback_method": "POST",
         "export_type": "cdr_out"
      }
   },
   "meta": {"api_version": "2022-05-10"}
}

Other Responses

Code

Success

Description

404

No

Not Found

401

No

Unauthorized