Dialpeer next rates API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MjEyMzYzMTMsInN1YiI6ODB9.BbCMASnxDDVjrWZcPU7TICkZlFUaLheyVbncF4xgcQ4
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-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/"3c07ef87e603b9393da491de8e9fc139"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6eea20f6-bdc0-4d47-b40c-1e4ea21ca822
X-Runtime: 0.010756
Content-Length: 518

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": "2024-07-17T18:01:53.284Z",
      "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"
        }
      }
    }
  }
}