Cdrs API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2LCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4MjI2fQ.MImYj-romFkm29esjgzHvTQJniMsoSpUKP_qjDptN5Y
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-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"02c0b3cc186aaecdfb4104dc3cc5a166"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 570b3f25-bbbb-4bc2-a732-2c8d874d2878
X-Runtime: 0.010400
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": "2024-11-14T09:55:06.395Z",
      "time-connect": "2024-11-14T09:55:06.395Z",
      "time-end": "2024-11-14T09:55:36.395Z",
      "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"
        }
      }
    }
  }
}