Retrieves all PDF templates, optionally filtered via OData query options.
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the list of PDF templates.
pdf_template| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| sales_organization_id |
Foreign key of the sales organization this template belongs to. |
globally unique identifier | |
| print_layout_id |
Print layout id |
globally unique identifier | |
| name |
Name |
string | |
| trigger_code |
Some fixed value (Odyssee.Constant) like "JobApproval" |
string | |
| template |
Contains the layout in json format |
string | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "36d11ac5-2c51-49d2-9cbd-e0b9813a582a",
"sales_organization_id": "a188e3a0-a8c9-466e-981b-0febbf02dae8",
"print_layout_id": "8fa41cf3-fd6f-4714-8718-0807cd0ba69b",
"name": "sample string 4",
"trigger_code": "sample string 5",
"template": "sample string 6",
"modified_dateutc": "2026-09-16T08:35:15.2020688+00:00"
}
application/xml, text/xml
Sample:
<pdf_template xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <id>36d11ac5-2c51-49d2-9cbd-e0b9813a582a</id> <modified_dateutc>2026-09-16T08:35:15.202Z</modified_dateutc> <name>sample string 4</name> <print_layout_id>8fa41cf3-fd6f-4714-8718-0807cd0ba69b</print_layout_id> <sales_organization_id>a188e3a0-a8c9-466e-981b-0febbf02dae8</sales_organization_id> <template>sample string 6</template> <trigger_code>sample string 5</trigger_code> </pdf_template>