Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEzOCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4NjM2MDI5M30.n4Vz4jcTWiZDtjYpDbCBW3S1JN22sZPlGg1iVSwRGtk Host: example.org Cookie:
GET /api/rest/admin/invoice-template/5
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/"4e62e2dc4214c0f89e9d08b51d4926cd" cache-control: max-age=0, private, must-revalidate x-request-id: b7d007f8-d65e-47e9-bcdd-13266a05b6fe x-runtime: 0.005434 content-length: 281
200 OK
{
"data": {
"id": "5",
"type": "invoice-templates",
"links": {
"self": "http://example.org/api/rest/admin/invoice-templates/5"
},
"attributes": {
"name": "invoice_template3",
"html-template": "<html><body>{{ invoice.reference }}</body></html>",
"filename-template": "invoice-{{invoice.reference}}"
}
}
}