Dialpeer next rates API

get specific entry

GET /api/rest/admin/dialpeer-next-rates/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjg0LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTY0fQ.CvO6pgdQq3fEJAupTKXwzMMLuE6tJKgTg6KRoMq3FLc
Host: example.org
Cookie: 

Route

GET /api/rest/admin/dialpeer-next-rates/3

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"3e5c3cfe3a4776644e3bb485cf9b9b82"
cache-control: max-age=0, private, must-revalidate
x-request-id: 74484f76-0c19-470c-ac90-2945e22ba967
x-runtime: 0.006389
content-length: 561

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "dialpeer-next-rates",
    "links": {
      "self": "http://example.org/api/rest/admin/dialpeer-next-rates/3"
    },
    "attributes": {
      "next-rate": "0.0",
      "initial-rate": "0.0",
      "initial-interval": 5,
      "next-interval": 10,
      "connect-fee": "0.0",
      "apply-time": "2026-01-02T13:46:04.198Z",
      "applied": false,
      "external-id": null
    },
    "relationships": {
      "dialpeer": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeer-next-rates/3/relationships/dialpeer",
          "related": "http://example.org/api/rest/admin/dialpeer-next-rates/3/dialpeer"
        },
        "data": {
          "type": "dialpeers",
          "id": "1376785"
        }
      }
    }
  }
}