Services API

get listing

GET /api/rest/admin/billing/services

Parameters

Name Description
filter[id] id filter
filter[account-id-eq] account id eq filter
filter[account-id-not-eq] account id not eq filter
filter[account-id-in] account id in filter
filter[account-id-not-in] account id not in filter
filter[type-id-eq] type id eq filter
filter[type-id-not-eq] type id not eq filter
filter[type-id-in] type id in filter
filter[type-id-not-in] type id not in filter
filter[uuid-eq] uuid eq filter
filter[uuid-not-eq] uuid not eq filter
filter[uuid-in] uuid in filter
filter[uuid-not-in] uuid 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[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter
filter[initial-price-eq] initial price eq filter
filter[initial-price-not-eq] initial price not eq filter
filter[initial-price-gt] initial price gt filter
filter[initial-price-gteq] initial price gteq filter
filter[initial-price-lt] initial price lt filter
filter[initial-price-lteq] initial price lteq filter
filter[initial-price-in] initial price in filter
filter[initial-price-not-in] initial price not in filter
filter[renew-price-eq] renew price eq filter
filter[renew-price-not-eq] renew price not eq filter
filter[renew-price-gt] renew price gt filter
filter[renew-price-gteq] renew price gteq filter
filter[renew-price-lt] renew price lt filter
filter[renew-price-lteq] renew price lteq filter
filter[renew-price-in] renew price in filter
filter[renew-price-not-in] renew price not in filter
filter[renew-at-eq] renew at eq filter
filter[renew-at-not-eq] renew at not eq filter
filter[renew-at-gt] renew at gt filter
filter[renew-at-gteq] renew at gteq filter
filter[renew-at-lt] renew at lt filter
filter[renew-at-lteq] renew at lteq filter
filter[renew-at-in] renew at in filter
filter[renew-at-not-in] renew at not in filter
filter[renew-period-eq] renew period eq filter
filter[renew-period-not-eq] renew period not eq filter
filter[renew-period-in] renew period in filter
filter[renew-period-not-in] renew period not in filter

Request

Headers

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

Route

GET /api/rest/admin/billing/services

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/"d486c73e052e83b92d8974465f2ca370"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5200057a-d82e-4d90-8bad-4802993e1a55
X-Runtime: 0.008411
Content-Length: 2182

Status

200 OK

Body

{
  "data": [
    {
      "id": "4",
      "type": "services",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/services/4"
      },
      "attributes": {
        "name": "Service_4",
        "variables": {
          "baz": 123
        },
        "state": "Active",
        "initial-price": "1.24",
        "renew-price": "4.41",
        "created-at": "2024-11-14T08:56:50.105Z",
        "renew-at": null,
        "renew-period": "Disabled",
        "uuid": "7d0b50c0-bce7-4778-aab0-ce1aa35d0a0a"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/4/relationships/account",
            "related": "http://example.org/api/rest/admin/billing/services/4/account"
          },
          "data": {
            "type": "accounts",
            "id": "48"
          }
        },
        "service-type": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/4/relationships/service-type",
            "related": "http://example.org/api/rest/admin/billing/services/4/service-type"
          }
        },
        "transactions": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/4/relationships/transactions",
            "related": "http://example.org/api/rest/admin/billing/services/4/transactions"
          }
        }
      }
    },
    {
      "id": "5",
      "type": "services",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/services/5"
      },
      "attributes": {
        "name": "Service_5",
        "variables": {
          "baz": 123
        },
        "state": "Active",
        "initial-price": "94.59",
        "renew-price": "92.37",
        "created-at": "2024-11-14T06:08:50.171Z",
        "renew-at": null,
        "renew-period": "Disabled",
        "uuid": "d95827f9-cc94-4f0a-89ae-3de847d14757"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/5/relationships/account",
            "related": "http://example.org/api/rest/admin/billing/services/5/account"
          },
          "data": {
            "type": "accounts",
            "id": "49"
          }
        },
        "service-type": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/5/relationships/service-type",
            "related": "http://example.org/api/rest/admin/billing/services/5/service-type"
          }
        },
        "transactions": {
          "links": {
            "self": "http://example.org/api/rest/admin/billing/services/5/relationships/transactions",
            "related": "http://example.org/api/rest/admin/billing/services/5/transactions"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/billing/services?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/billing/services?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}