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.eyJzdWIiOjE2LCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzEwMjU0MjAwfQ.fu7kQviazn55fCLAYzf3eTUeggsCHPsSQuRVYqJHEBU
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/cdrs/26f464a1-37dd-4abe-9f9d-149e23fae6bc

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/"c8a8075ef8e0b3b6583b53efcfff9aee"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f2157f9f-46b5-4ee4-9dfd-4d319273a728
X-Runtime: 0.009222
Content-Length: 1613

Status

200 OK

Body

{
  "data": {
    "id": "26f464a1-37dd-4abe-9f9d-149e23fae6bc",
    "type": "cdrs",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/cdrs/26f464a1-37dd-4abe-9f9d-149e23fae6bc"
    },
    "attributes": {
      "time-start": "2024-03-12T14:34:40.791Z",
      "time-connect": "2024-03-12T14:34:40.791Z",
      "time-end": "2024-03-12T14:35:10.791Z",
      "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/26f464a1-37dd-4abe-9f9d-149e23fae6bc/relationships/auth-orig-transport-protocol",
          "related": "http://example.org/api/rest/customer/v1/cdrs/26f464a1-37dd-4abe-9f9d-149e23fae6bc/auth-orig-transport-protocol"
        }
      },
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/cdrs/26f464a1-37dd-4abe-9f9d-149e23fae6bc/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/cdrs/26f464a1-37dd-4abe-9f9d-149e23fae6bc/account"
        }
      }
    }
  }
}