Dialpeer next rates API

get listing

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

Parameters

Name Description
filter[id] id filter
filter[external-id] external id filter
filter[next-rate-eq] next rate eq filter
filter[next-rate-not-eq] next rate not eq filter
filter[next-rate-gt] next rate gt filter
filter[next-rate-gteq] next rate gteq filter
filter[next-rate-lt] next rate lt filter
filter[next-rate-lteq] next rate lteq filter
filter[next-rate-in] next rate in filter
filter[next-rate-not-in] next rate not in filter
filter[initial-rate-eq] initial rate eq filter
filter[initial-rate-not-eq] initial rate not eq filter
filter[initial-rate-gt] initial rate gt filter
filter[initial-rate-gteq] initial rate gteq filter
filter[initial-rate-lt] initial rate lt filter
filter[initial-rate-lteq] initial rate lteq filter
filter[initial-rate-in] initial rate in filter
filter[initial-rate-not-in] initial rate not in filter
filter[initial-interval-eq] initial interval eq filter
filter[initial-interval-not-eq] initial interval not eq filter
filter[initial-interval-gt] initial interval gt filter
filter[initial-interval-gteq] initial interval gteq filter
filter[initial-interval-lt] initial interval lt filter
filter[initial-interval-lteq] initial interval lteq filter
filter[initial-interval-in] initial interval in filter
filter[initial-interval-not-in] initial interval not in filter
filter[next-interval-eq] next interval eq filter
filter[next-interval-not-eq] next interval not eq filter
filter[next-interval-gt] next interval gt filter
filter[next-interval-gteq] next interval gteq filter
filter[next-interval-lt] next interval lt filter
filter[next-interval-lteq] next interval lteq filter
filter[next-interval-in] next interval in filter
filter[next-interval-not-in] next interval not in filter
filter[connect-fee-eq] connect fee eq filter
filter[connect-fee-not-eq] connect fee not eq filter
filter[connect-fee-gt] connect fee gt filter
filter[connect-fee-gteq] connect fee gteq filter
filter[connect-fee-lt] connect fee lt filter
filter[connect-fee-lteq] connect fee lteq filter
filter[connect-fee-in] connect fee in filter
filter[connect-fee-not-in] connect fee not in filter
filter[applied-eq] applied eq filter
filter[applied-not-eq] applied not eq filter
filter[external-id-eq] external id eq filter
filter[external-id-not-eq] external id not eq filter
filter[external-id-gt] external id gt filter
filter[external-id-gteq] external id gteq filter
filter[external-id-lt] external id lt filter
filter[external-id-lteq] external id lteq filter
filter[external-id-in] external id in filter
filter[external-id-not-in] external id not in filter

Request

Headers

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

Route

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

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/"0e3cf9c3622614e27d15416fe610a3de"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 58f08f73-b486-4daa-a0ff-edef1de25fbe
X-Runtime: 0.009024
Content-Length: 1352

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "dialpeer-next-rates",
      "links": {
        "self": "http://example.org/api/rest/admin/dialpeer-next-rates/1"
      },
      "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.620Z",
        "applied": false,
        "external-id": null
      },
      "relationships": {
        "dialpeer": {
          "links": {
            "self": "http://example.org/api/rest/admin/dialpeer-next-rates/1/relationships/dialpeer",
            "related": "http://example.org/api/rest/admin/dialpeer-next-rates/1/dialpeer"
          },
          "data": {
            "type": "dialpeers",
            "id": "1376784"
          }
        }
      }
    },
    {
      "id": "2",
      "type": "dialpeer-next-rates",
      "links": {
        "self": "http://example.org/api/rest/admin/dialpeer-next-rates/2"
      },
      "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.629Z",
        "applied": false,
        "external-id": null
      },
      "relationships": {
        "dialpeer": {
          "links": {
            "self": "http://example.org/api/rest/admin/dialpeer-next-rates/2/relationships/dialpeer",
            "related": "http://example.org/api/rest/admin/dialpeer-next-rates/2/dialpeer"
          },
          "data": {
            "type": "dialpeers",
            "id": "1376784"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/dialpeer-next-rates?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/dialpeer-next-rates?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}