Destination next rates API

get listing

GET /api/rest/admin/routing/destination-next-rates

Parameters

Name Description
filter[id] id filter
filter[external-id] external id 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[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-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[apply-time-eq] apply time eq filter
filter[apply-time-not-eq] apply time not eq filter
filter[apply-time-gt] apply time gt filter
filter[apply-time-gteq] apply time gteq filter
filter[apply-time-lt] apply time lt filter
filter[apply-time-lteq] apply time lteq filter
filter[apply-time-in] apply time in filter
filter[apply-time-not-in] apply time not in filter
filter[created-at-eq] created at eq filter
filter[created-at-not-eq] created at not eq filter
filter[created-at-gt] created at gt filter
filter[created-at-gteq] created at gteq filter
filter[created-at-lt] created at lt filter
filter[created-at-lteq] created at lteq filter
filter[created-at-in] created at in filter
filter[created-at-not-in] created at not in filter
filter[updated-at-eq] updated at eq filter
filter[updated-at-not-eq] updated at not eq filter
filter[updated-at-gt] updated at gt filter
filter[updated-at-gteq] updated at gteq filter
filter[updated-at-lt] updated at lt filter
filter[updated-at-lteq] updated at lteq filter
filter[updated-at-in] updated at in filter
filter[updated-at-not-in] updated at 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.eyJleHAiOjE3MzE1Nzg3NTksInN1YiI6MTU1fQ.wZchepi5vy1sqMHdkwaDDyNexsJ5d428jc0EdNKZIZE
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/destination-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/"cec4067ab67d1407341d66f9840b70c9"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3ea35ea2-6614-4d71-940f-189aa63f6caf
X-Runtime: 0.008449
Content-Length: 1378

Status

200 OK

Body

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