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.eyJleHAiOjE3MzE1Nzg3NTMsInN1YiI6ODF9.k0CUZaYTDLZmiEW-2IgdWr6IleJIeb4usmRqyQWMzlc
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/"bffe3836b7db63e1a2440ebecfbda37f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3ec2975b-8077-48df-9a99-79dbb477cb84
X-Runtime: 0.012967
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": "2024-11-14T10:55:53.752Z",
      "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"
        }
      }
    }
  }
}