Create CDR Export
POST https://{{host}}/v3/cdr_exports
Attention
Please note that the Inbound CDR export is available for current + 2 last months.
Creates a single CDR Export. DIDWW performs deletion of CDR Export in 1 month after completion.
Request Body Scheme
{
data (object, required)
{
type (string, required): : cdr_exports
attributes (object, required)
{
filters (object, required)
{
CDR Export Filters Objectyear (integer, NOT nullable, required)
Year of the CDR timestamp.month (integer, NOT nullable, required)
Month of the CDR timestamp.did_number (integer, NOT nullable, optional)
Filters CDRs by DID number.
}
}
}
}
Request Body Example
{
"data": {
"type": "cdr_exports",
"attributes": {
"filters": {
"year": 2017,
"month": 5,
"did_number": "123456789"
}
}
}
}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string | ||
Api-Key | string |
RESPONSES
status: Created
{"data":{"id":"9cccd228-2c1a-435f-b7eb-77ce6fc00a86","type":"cdr_exports","attributes":{"filters":{"year":"2017","month":"5","did_number":"123456789"},"status":"Pending","created_at":"2017-06-25T14:56:31.513Z","url":null}},"meta":{"api_version":"2017-09-18"}}