Services API

get listing

GET /api/rest/customer/v1/services

Parameters

Name Description
filter[id] id 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[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[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.eyJzdWIiOjM4LCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzIxMjM1Nzg4fQ.PeM0zRMPZo7QV-JNycBHf_EwU8970ixv5AJlMfXZzsw
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/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/"4bea0cd36dfb8a2fab0b538efae4ffca"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 85de9049-955e-4181-8a43-eb9cc8f62b03
X-Runtime: 0.017917
Content-Length: 2044

Status

200 OK

Body

{
  "data": [
    {
      "id": "430264d5-a1dd-407e-8b7b-9df0ac79318f",
      "type": "services",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/services/430264d5-a1dd-407e-8b7b-9df0ac79318f"
      },
      "attributes": {
        "name": "Service_9",
        "state": "Active",
        "initial-price": "21.53",
        "renew-price": "47.35",
        "created-at": "2024-07-17T09:24:08.609Z",
        "renew-at": null,
        "renew-period": "Disabled",
        "service-type": "Service Type 15"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/services/430264d5-a1dd-407e-8b7b-9df0ac79318f/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/services/430264d5-a1dd-407e-8b7b-9df0ac79318f/account"
          }
        },
        "transactions": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/services/430264d5-a1dd-407e-8b7b-9df0ac79318f/relationships/transactions",
            "related": "http://example.org/api/rest/customer/v1/services/430264d5-a1dd-407e-8b7b-9df0ac79318f/transactions"
          }
        }
      }
    },
    {
      "id": "bdfb6702-c151-46ec-a0dc-3e67759c777f",
      "type": "services",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/services/bdfb6702-c151-46ec-a0dc-3e67759c777f"
      },
      "attributes": {
        "name": "Service_8",
        "state": "Active",
        "initial-price": "97.89",
        "renew-price": "45.68",
        "created-at": "2024-07-17T07:46:08.578Z",
        "renew-at": null,
        "renew-period": "Disabled",
        "service-type": "Service Type 14"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/services/bdfb6702-c151-46ec-a0dc-3e67759c777f/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/services/bdfb6702-c151-46ec-a0dc-3e67759c777f/account"
          }
        },
        "transactions": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/services/bdfb6702-c151-46ec-a0dc-3e67759c777f/relationships/transactions",
            "related": "http://example.org/api/rest/customer/v1/services/bdfb6702-c151-46ec-a0dc-3e67759c777f/transactions"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/customer/v1/services?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/customer/v1/services?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}