get specific entry
GET /api/rest/admin/cdr/cdrs/:id
Request
Headers
Route
GET /api/rest/admin/cdr/cdrs/3
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "3",
"type": "cdrs",
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3"
},
"attributes": {
"time-start": "2024-11-14T09:54:50.915Z",
"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": "2024-11-14T09:54:50.915Z",
"time-end": "2024-11-14T09:55:20.915Z",
"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": "4af3b97d-c87f-4edf-aaa3-61546835d56d",
"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,
"metadata": null
},
"relationships": {
"rateplan": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/rateplan",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/rateplan"
},
"data": null
},
"dialpeer": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/dialpeer",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/dialpeer"
},
"data": null
},
"pop": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/pop",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/pop"
},
"data": null
},
"node": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/node",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/node"
},
"data": null
},
"routing-group": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/routing-group",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/routing-group"
},
"data": null
},
"routing-plan": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/routing-plan",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/routing-plan"
},
"data": null
},
"destination": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/destination",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/destination"
},
"data": null
},
"customer-auth": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/customer-auth",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/customer-auth"
},
"data": null
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/vendor",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/vendor"
},
"data": {
"type": "contractors",
"id": "43"
}
},
"customer": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/customer",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/customer"
},
"data": {
"type": "contractors",
"id": "42"
}
},
"customer-acc": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/customer-acc",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/customer-acc"
},
"data": {
"type": "accounts",
"id": "57"
}
},
"vendor-acc": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/vendor-acc",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/vendor-acc"
},
"data": {
"type": "accounts",
"id": "58"
}
},
"orig-gw": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/orig-gw",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/orig-gw"
},
"data": null
},
"term-gw": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/term-gw",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/term-gw"
},
"data": null
},
"dst-country": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/dst-country",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/dst-country"
},
"data": null
},
"dst-network": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/dst-network",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/dst-network"
},
"data": null
},
"src-country": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/src-country",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/src-country"
},
"data": null
},
"src-network": {
"links": {
"self": "http://example.org/api/rest/admin/cdr/cdrs/3/relationships/src-network",
"related": "http://example.org/api/rest/admin/cdr/cdrs/3/src-network"
},
"data": null
}
}
}
}