Cdrs API

get specific entry

GET /api/rest/admin/cdrs/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUxLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzcyMjEyMDAwfQ.EEjryBzplTRP4gNYSDi20HtSLxKNUzYYuE304WHFeJ0
Host: example.org
Cookie: 

Route

GET /api/rest/admin/cdrs/3

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/"6be73ed2b3ca773b4b6eb48a0ef29934"
cache-control: max-age=0, private, must-revalidate
x-request-id: 80bc9604-a868-4757-9f5d-96477c3daf7f
x-runtime: 0.020671
content-length: 6471

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "cdrs",
    "links": {
      "self": "http://example.org/api/rest/admin/cdrs/3"
    },
    "attributes": {
      "time-start": "2026-02-27T16:55:40.604Z",
      "destination-next-rate": "8.2",
      "destination-fee": "3.15",
      "dialpeer-next-rate": null,
      "dialpeer-fee": null,
      "internal-disconnect-code": null,
      "internal-disconnect-reason": null,
      "disconnect-initiator-id": null,
      "customer-price": "2.0",
      "vendor-price": null,
      "duration": 30,
      "success": true,
      "profit": null,
      "dst-prefix-in": "456",
      "dst-prefix-out": null,
      "src-prefix-in": "123",
      "src-prefix-out": null,
      "time-connect": "2026-02-27T16:55:40.604Z",
      "time-end": "2026-02-27T16:56:10.604Z",
      "sign-orig-ip": null,
      "sign-orig-port": null,
      "sign-orig-local-ip": null,
      "sign-orig-local-port": null,
      "sign-term-ip": null,
      "sign-term-port": null,
      "sign-term-local-ip": null,
      "sign-term-local-port": null,
      "orig-call-id": null,
      "term-call-id": null,
      "vendor-invoice-id": null,
      "customer-invoice-id": null,
      "local-tag": "EU",
      "destination-initial-rate": "10.5",
      "dialpeer-initial-rate": null,
      "destination-initial-interval": 30,
      "destination-next-interval": 60,
      "dialpeer-initial-interval": null,
      "dialpeer-next-interval": null,
      "routing-attempt": null,
      "is-last-cdr": true,
      "lega-disconnect-code": 200,
      "lega-disconnect-reason": "201",
      "src-name-in": "Src name In",
      "src-name-out": null,
      "diversion-in": "Deversion In",
      "diversion-out": null,
      "legb-disconnect-code": null,
      "legb-disconnect-reason": null,
      "dump-level-id": null,
      "auth-orig-ip": "127.0.0.1",
      "auth-orig-port": 8080,
      "global-tag": null,
      "src-prefix-routing": "SRC Prefix Routing",
      "dst-prefix-routing": "DST Prefix Routing",
      "routing-delay": null,
      "pdd": null,
      "rtt": null,
      "early-media-present": null,
      "lnp-database-id": null,
      "lrn": null,
      "destination-prefix": "Destination Prefix",
      "dialpeer-prefix": null,
      "audio-recorded": null,
      "ruri-domain": "rURI Domain",
      "to-domain": "To Domain",
      "from-domain": "From Domain",
      "src-area-id": null,
      "dst-area-id": null,
      "auth-orig-transport-protocol-id": 1,
      "sign-orig-transport-protocol-id": null,
      "sign-term-transport-protocol-id": null,
      "core-version": null,
      "yeti-version": null,
      "lega-user-agent": null,
      "legb-user-agent": null,
      "uuid": "f5908932-301c-46ae-bfb4-db0056c70380",
      "pai-in": null,
      "ppi-in": null,
      "privacy-in": null,
      "rpid-in": null,
      "rpid-privacy-in": null,
      "pai-out": null,
      "ppi-out": null,
      "privacy-out": null,
      "rpid-out": null,
      "rpid-privacy-out": null,
      "destination-reverse-billing": null,
      "dialpeer-reverse-billing": null,
      "is-redirected": null,
      "customer-account-check-balance": null,
      "customer-external-id": null,
      "customer-auth-external-id": null,
      "customer-acc-vat": null,
      "customer-acc-external-id": null,
      "routing-tag-ids": null,
      "vendor-external-id": null,
      "vendor-acc-external-id": null,
      "orig-gw-external-id": null,
      "term-gw-external-id": null,
      "failed-resource-type-id": null,
      "failed-resource-id": null,
      "customer-price-no-vat": null,
      "customer-duration": null,
      "vendor-duration": null,
      "destination-rate-policy-id": null,
      "p-charge-info-in": null,
      "metadata": null
    },
    "relationships": {
      "rateplan": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/rateplan",
          "related": "http://example.org/api/rest/admin/cdrs/3/rateplan"
        },
        "data": null
      },
      "dialpeer": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/dialpeer",
          "related": "http://example.org/api/rest/admin/cdrs/3/dialpeer"
        },
        "data": null
      },
      "pop": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/pop",
          "related": "http://example.org/api/rest/admin/cdrs/3/pop"
        },
        "data": null
      },
      "node": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/node",
          "related": "http://example.org/api/rest/admin/cdrs/3/node"
        },
        "data": null
      },
      "routing-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/routing-group",
          "related": "http://example.org/api/rest/admin/cdrs/3/routing-group"
        },
        "data": null
      },
      "routing-plan": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/routing-plan",
          "related": "http://example.org/api/rest/admin/cdrs/3/routing-plan"
        },
        "data": null
      },
      "destination": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/destination",
          "related": "http://example.org/api/rest/admin/cdrs/3/destination"
        },
        "data": null
      },
      "customer-auth": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/customer-auth",
          "related": "http://example.org/api/rest/admin/cdrs/3/customer-auth"
        },
        "data": null
      },
      "vendor": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/vendor",
          "related": "http://example.org/api/rest/admin/cdrs/3/vendor"
        },
        "data": {
          "type": "contractors",
          "id": "20"
        }
      },
      "customer": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/customer",
          "related": "http://example.org/api/rest/admin/cdrs/3/customer"
        },
        "data": {
          "type": "contractors",
          "id": "19"
        }
      },
      "customer-acc": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/customer-acc",
          "related": "http://example.org/api/rest/admin/cdrs/3/customer-acc"
        },
        "data": {
          "type": "accounts",
          "id": "34"
        }
      },
      "vendor-acc": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/vendor-acc",
          "related": "http://example.org/api/rest/admin/cdrs/3/vendor-acc"
        },
        "data": {
          "type": "accounts",
          "id": "35"
        }
      },
      "orig-gw": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/orig-gw",
          "related": "http://example.org/api/rest/admin/cdrs/3/orig-gw"
        },
        "data": null
      },
      "term-gw": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/term-gw",
          "related": "http://example.org/api/rest/admin/cdrs/3/term-gw"
        },
        "data": null
      },
      "dst-country": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/dst-country",
          "related": "http://example.org/api/rest/admin/cdrs/3/dst-country"
        },
        "data": null
      },
      "dst-network": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/dst-network",
          "related": "http://example.org/api/rest/admin/cdrs/3/dst-network"
        },
        "data": null
      },
      "dst-network-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/dst-network-type",
          "related": "http://example.org/api/rest/admin/cdrs/3/dst-network-type"
        },
        "data": null
      },
      "src-country": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/src-country",
          "related": "http://example.org/api/rest/admin/cdrs/3/src-country"
        },
        "data": null
      },
      "src-network": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/src-network",
          "related": "http://example.org/api/rest/admin/cdrs/3/src-network"
        },
        "data": null
      },
      "src-network-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/cdrs/3/relationships/src-network-type",
          "related": "http://example.org/api/rest/admin/cdrs/3/src-network-type"
        },
        "data": null
      }
    }
  }
}