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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoyMCwiZXhwIjoxNzg2MzU5NzYwfQ.71y6vk6eCnVR8K5lnwZ0Mj4YZMq501hMsrphqQ6_kRc
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/"67db0f276b706b81a0da198ed81e8efb"
cache-control: max-age=0, private, must-revalidate
x-request-id: eafb9d70-1128-48ae-a66f-2a512bcf8b5d
x-runtime: 0.009561
content-length: 1173

Status

200 OK

Body

{
  "data": {
    "id": "8",
    "type": "cdrs",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/cdrs/8"
    },
    "attributes": {
      "time-start": "2026-08-10T11:00:40.114Z",
      "time-connect": "2026-08-10T11:00:40.114Z",
      "time-end": "2026-08-10T11:01:10.115Z",
      "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": {
      "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"
        }
      }
    }
  }
}