Cdrs API

get specific entry

GET /api/rest/customer/v1/cdrs/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxOSwiZXhwIjoxNzY3MzU4MDMzfQ.2Ip22JuNEHxV30_kvqRXLPj4keHohsTwURQqKytRavI
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/cdrs/8

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"d938572bd9ca522316143661b7e582bf"
cache-control: max-age=0, private, must-revalidate
x-request-id: 98b6ad70-24e0-4cf9-8808-0852fab4b1b1
x-runtime: 0.009023
content-length: 1403

Status

200 OK

Body

{
  "data": {
    "id": "8",
    "type": "cdrs",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/cdrs/8"
    },
    "attributes": {
      "time-start": "2026-01-02T12:45:13.788Z",
      "time-connect": "2026-01-02T12:45:13.788Z",
      "time-end": "2026-01-02T12:45:43.788Z",
      "duration": 30,
      "success": true,
      "destination-initial-interval": 30,
      "destination-initial-rate": "10.5",
      "destination-next-interval": 60,
      "destination-next-rate": "8.2",
      "destination-fee": "3.15",
      "customer-price": "2.0",
      "customer-duration": null,
      "src-name-in": "Src name In",
      "src-prefix-in": "123",
      "from-domain": "From Domain",
      "dst-prefix-in": "456",
      "to-domain": "To Domain",
      "ruri-domain": "rURI Domain",
      "diversion-in": "Deversion In",
      "local-tag": "EU",
      "lega-disconnect-code": 200,
      "lega-disconnect-reason": "201",
      "auth-orig-transport-protocol-id": 1,
      "auth-orig-ip": "127.0.0.1",
      "auth-orig-port": 8080,
      "src-prefix-routing": "SRC Prefix Routing",
      "dst-prefix-routing": "DST Prefix Routing",
      "destination-prefix": "Destination Prefix",
      "orig-call-id": null,
      "lega-user-agent": null,
      "rec": false
    },
    "relationships": {
      "auth-orig-transport-protocol": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/cdrs/8/relationships/auth-orig-transport-protocol",
          "related": "http://example.org/api/rest/customer/v1/cdrs/8/auth-orig-transport-protocol"
        }
      },
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/cdrs/8/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/cdrs/8/account"
        }
      }
    }
  }
}