Dialpeers API

get specific entry

GET /api/rest/admin/dialpeers/:id

Request

Headers

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

Route

GET /api/rest/admin/dialpeers/1376791

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/"c50ec45aa34b23735af4d78517992f2f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 1f0d29ce-1406-4df7-980e-137fbb740324
X-Runtime: 0.013087
Content-Length: 2365

Status

200 OK

Body

{
  "data": {
    "id": "1376791",
    "type": "dialpeers",
    "links": {
      "self": "http://example.org/api/rest/admin/dialpeers/1376791"
    },
    "attributes": {
      "enabled": true,
      "next-rate": "0.0",
      "connect-fee": "0.0",
      "initial-rate": "0.0",
      "initial-interval": 60,
      "next-interval": 60,
      "valid-from": "2024-03-02T14:35:29.867Z",
      "valid-till": "2024-03-22T14:35:29.868Z",
      "prefix": "",
      "src-rewrite-rule": null,
      "dst-rewrite-rule": null,
      "acd-limit": 0.0,
      "asr-limit": 0.0,
      "src-rewrite-result": null,
      "dst-rewrite-result": null,
      "locked": false,
      "priority": 100,
      "exclusive-route": false,
      "capacity": 1,
      "lcr-rate-multiplier": "1.0",
      "force-hit-rate": null,
      "network-prefix-id": null,
      "created-at": "2024-03-12T14:35:29.934Z",
      "short-calls-limit": 1.0,
      "external-id": 8,
      "routing-tag-ids": [

      ],
      "dst-number-min-length": 0,
      "dst-number-max-length": 100,
      "reverse-billing": false
    },
    "relationships": {
      "gateway": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/gateway",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/gateway"
        }
      },
      "gateway-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/gateway-group",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/gateway-group"
        }
      },
      "routing-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routing-group",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/routing-group"
        }
      },
      "vendor": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/vendor",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/vendor"
        }
      },
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/account",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/account"
        }
      },
      "routing-tag-mode": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routing-tag-mode",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/routing-tag-mode"
        }
      },
      "routeset-discriminator": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/routeset-discriminator",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/routeset-discriminator"
        }
      },
      "dialpeer-next-rates": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376791/relationships/dialpeer-next-rates",
          "related": "http://example.org/api/rest/admin/dialpeers/1376791/dialpeer-next-rates"
        }
      }
    }
  }
}