Invoice Service Data API

get listing

GET /api/rest/admin/invoice-service-data

Parameters

Name Description
filter[id] id filter
filter[amount-eq] amount eq filter
filter[amount-not-eq] amount not eq filter
filter[amount-gt] amount gt filter
filter[amount-gteq] amount gteq filter
filter[amount-lt] amount lt filter
filter[amount-lteq] amount lteq filter
filter[amount-in] amount in filter
filter[amount-not-in] amount not in filter
filter[transactions-count-eq] transactions count eq filter
filter[transactions-count-not-eq] transactions count not eq filter
filter[transactions-count-gt] transactions count gt filter
filter[transactions-count-gteq] transactions count gteq filter
filter[transactions-count-lt] transactions count lt filter
filter[transactions-count-lteq] transactions count lteq filter
filter[transactions-count-in] transactions count in filter
filter[transactions-count-not-in] transactions count not in filter
filter[spent-eq] spent eq filter
filter[spent-not-eq] spent not eq filter
filter[invoice-id-eq] invoice id eq filter
filter[invoice-id-not-eq] invoice id not eq filter
filter[invoice-id-in] invoice id in filter
filter[invoice-id-not-in] invoice id not in filter
filter[invoice-account-id-eq] invoice account id eq filter
filter[invoice-account-id-not-eq] invoice account id not eq filter
filter[invoice-account-id-in] invoice account id in filter
filter[invoice-account-id-not-in] invoice account id not in filter
filter[service-id-eq] service id eq filter
filter[service-id-not-eq] service id not eq filter
filter[service-id-in] service id in filter
filter[service-id-not-in] service id not in filter

Request

Headers

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

Route

GET /api/rest/admin/invoice-service-data

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"a3594c8deb0ab1b36c52bc3c405cade2"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: acd25333-13f7-465c-86ab-2b058db54c68
X-Runtime: 0.009143
Content-Length: 1404

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "invoice-service-data",
      "links": {
        "self": "http://example.org/api/rest/admin/invoice-service-data/1"
      },
      "attributes": {
        "amount": "129.0",
        "transactions-count": 43,
        "spent": true
      },
      "relationships": {
        "invoice": {
          "links": {
            "self": "http://example.org/api/rest/admin/invoice-service-data/1/relationships/invoice",
            "related": "http://example.org/api/rest/admin/invoice-service-data/1/invoice"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/admin/invoice-service-data/1/relationships/service",
            "related": "http://example.org/api/rest/admin/invoice-service-data/1/service"
          }
        }
      }
    },
    {
      "id": "2",
      "type": "invoice-service-data",
      "links": {
        "self": "http://example.org/api/rest/admin/invoice-service-data/2"
      },
      "attributes": {
        "amount": "292.0",
        "transactions-count": 73,
        "spent": true
      },
      "relationships": {
        "invoice": {
          "links": {
            "self": "http://example.org/api/rest/admin/invoice-service-data/2/relationships/invoice",
            "related": "http://example.org/api/rest/admin/invoice-service-data/2/invoice"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/admin/invoice-service-data/2/relationships/service",
            "related": "http://example.org/api/rest/admin/invoice-service-data/2/service"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/invoice-service-data?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/invoice-service-data?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}