Get details of PDF template

GET /api-v1/pdf-template/{id}

Headers

Path parameters

  • id integer Required

    id

Responses

GET /api-v1/pdf-template/{id}
curl \
 -X GET http://10.10.10.132/api-v1/pdf-template/{id} \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
{
  "countryId": 42,
  "description": "string",
  "id": 42,
  "isActive": true,
  "name": "string",
  "previewImage": {
    "createdOn": "2024-05-04T09:42:00+00:00",
    "fileExtension": "string",
    "id": 42,
    "name": "string",
    "organizationId": 42,
    "size": 42
  },
  "previewTemplate": {
    "createdOn": "2024-05-04T09:42:00+00:00",
    "fileExtension": "string",
    "id": 42,
    "name": "string",
    "organizationId": 42,
    "size": 42
  },
  "sourceTemplate": {
    "createdOn": "2024-05-04T09:42:00+00:00",
    "fileExtension": "string",
    "id": 42,
    "name": "string",
    "organizationId": 42,
    "size": 42
  },
  "templateType": "SALES_INVOICE"
}