Invoice template API

get listing

GET /api/rest/admin/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.eyJzdWIiOjEyNSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzM30.ohC9M5ewzS4JX2nGU6Fw0ThmO6r2jvt-33R_VOO784w
Host: example.org
Cookie: 

Route

GET /api/rest/admin/invoice-template

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/"8e1ac1fcd38dcb720fc20707bc986791"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f18c8a34-2bac-41d6-a57d-277aff996e6f
X-Runtime: 0.008499
Content-Length: 600

Status

200 OK

Body

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