Invoice template API

get listing

GET /api/rest/admin/billing/invoice-template

Parameters

Name Description
filter[id] id 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[filename-eq] filename eq filter
filter[filename-not-eq] filename not eq filter
filter[filename-cont] filename cont filter
filter[filename-start] filename start filter
filter[filename-end] filename end filter
filter[filename-in] filename in filter
filter[filename-not-in] filename not in filter
filter[filename-cont-any] filename cont any filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NDgsInN1YiI6MzJ9.b6hFL8CTjRxK32Z37k8o_PqiM-4gRaKxTo0mCdRHlhc
Host: example.org
Cookie: 

Route

GET /api/rest/admin/billing/invoice-template

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/"cf30fa032c0eceeaeebbc09ed6a8dd32"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 652f039c-a2a1-4755-b527-cd95271954c7
X-Runtime: 0.008723
Content-Length: 632

Status

200 OK

Body

{
  "data": [
    {
      "id": "3",
      "type": "invoice-templates",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/invoice-templates/3"
      },
      "attributes": {
        "name": "invoice_template1",
        "filename": "filename.odt"
      }
    },
    {
      "id": "4",
      "type": "invoice-templates",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/invoice-templates/4"
      },
      "attributes": {
        "name": "invoice_template2",
        "filename": "filename.odt"
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/billing/invoice-templates?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/billing/invoice-templates?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}