Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE0MSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc5MjYxOTgwOH0.P1uGcyQZm5HEXth-tX3Ye1ydDYOLiyk6dIuHTVq0XPQ 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: d8f5f5b3-23ea-472d-872b-11b2049bc48b x-runtime: 0.009920 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}}"
}
}
}