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": "56595cc1-5bf7-4597-bf00-518befef7950",
"sales_organization_id": "eb6d7aaf-c55a-4363-aab8-b418409aa284",
"print_layout_id": "5f02c56d-7d5a-4b44-a5c6-db7a6b1f6521",
"name": "sample string 4",
"trigger_code": "sample string 5",
"template": "sample string 6",
"modified_dateutc": "2026-11-12T14:28:13.0565864+00:00"
}
application/xml, text/xml
Sample:
<pdf_template xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <id>56595cc1-5bf7-4597-bf00-518befef7950</id> <modified_dateutc>2026-11-12T14:28:13.056Z</modified_dateutc> <name>sample string 4</name> <print_layout_id>5f02c56d-7d5a-4b44-a5c6-db7a6b1f6521</print_layout_id> <sales_organization_id>eb6d7aaf-c55a-4363-aab8-b418409aa284</sales_organization_id> <template>sample string 6</template> <trigger_code>sample string 5</trigger_code> </pdf_template>