Destinations API

get specific entry

GET /api/rest/admin/routing/destinations/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTksInN1YiI6MTYxfQ.IddDeG6qdeZ9G47R3nBX3qKvmpSQh7tJ6cvf3dOsUMI
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/destinations/4201538

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/"0236331787e70ca04ae7e11e28bafbc0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7f508ce1-9c72-455a-b52a-d1c1fe7689fb
X-Runtime: 0.012422
Content-Length: 1080

Status

200 OK

Body

{
  "data": {
    "id": "4201538",
    "type": "destinations",
    "links": {
      "self": "http://example.org/api/rest/admin/routing/destinations/4201538"
    },
    "attributes": {
      "enabled": true,
      "next-rate": "0.0",
      "connect-fee": "0.0",
      "initial-interval": 60,
      "next-interval": 60,
      "dp-margin-fixed": "0.0",
      "dp-margin-percent": "0.0",
      "initial-rate": "0.0",
      "asr-limit": 0.0,
      "acd-limit": 0.0,
      "short-calls-limit": 0.0,
      "prefix": "",
      "reject-calls": false,
      "use-dp-intervals": false,
      "valid-from": "2024-11-13T09:55:59.729Z",
      "valid-till": "2024-11-15T09:55:59.729Z",
      "external-id": 8,
      "routing-tag-ids": [

      ],
      "dst-number-min-length": 0,
      "dst-number-max-length": 100,
      "reverse-billing": false,
      "profit-control-mode-id": 2,
      "rate-policy-id": 1
    },
    "relationships": {
      "country": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/destinations/4201538/relationships/country",
          "related": "http://example.org/api/rest/admin/routing/destinations/4201538/country"
        }
      },
      "network": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/destinations/4201538/relationships/network",
          "related": "http://example.org/api/rest/admin/routing/destinations/4201538/network"
        }
      }
    }
  }
}