GET api/v1/email_templates/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
EmailTemplateName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
name | string |
Required |
|
code | string |
Required |
|
mail_from | string |
Required |
|
subject | string |
Required |
|
body | string |
Required |
|
deleted | boolean |
Required |
|
system_information | SystemInformation |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "44c57e18-503e-4b2d-b643-56dc988e2c3e", "name": "sample string 2", "code": "sample string 3", "mail_from": "sample string 4", "subject": "sample string 5", "body": "sample string 6", "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "ba347c0e-7956-49aa-be36-be35d7162518", "image_id": "ab64997e-9103-41c4-a6b1-ac35ef7c0eac", "id_user_work_position": "51e2094a-0feb-46e2-afa1-48ca90164d37", "id_shift": "38307e4a-5189-4a30-8ae5-f97275084e55", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2025-06-01T14:43:08Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "ba347c0e-7956-49aa-be36-be35d7162518", "image_id": "ab64997e-9103-41c4-a6b1-ac35ef7c0eac", "id_user_work_position": "51e2094a-0feb-46e2-afa1-48ca90164d37", "id_shift": "38307e4a-5189-4a30-8ae5-f97275084e55", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2025-06-01T14:43:08Z" } } }
application/xml, text/xml
Sample:
<EmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <body>sample string 6</body> <code>sample string 3</code> <deleted>true</deleted> <id>44c57e18-503e-4b2d-b643-56dc988e2c3e</id> <mail_from>sample string 4</mail_from> <name>sample string 2</name> <subject>sample string 5</subject> <system_information> <creation> <date>2025-06-01T16:43:08.8016697+02:00</date> <user> <code>sample string 5</code> <code2>sample string 6</code2> <first_name>sample string 11</first_name> <full_name>sample string 12 sample string 11</full_name> <id>ba347c0e-7956-49aa-be36-be35d7162518</id> <id_shift>38307e4a-5189-4a30-8ae5-f97275084e55</id_shift> <id_user_work_position>51e2094a-0feb-46e2-afa1-48ca90164d37</id_user_work_position> <image_id>ab64997e-9103-41c4-a6b1-ac35ef7c0eac</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </creation> <last_change> <date>2025-06-01T16:43:08.8016697+02:00</date> <user> <code>sample string 5</code> <code2>sample string 6</code2> <first_name>sample string 11</first_name> <full_name>sample string 12 sample string 11</full_name> <id>ba347c0e-7956-49aa-be36-be35d7162518</id> <id_shift>38307e4a-5189-4a30-8ae5-f97275084e55</id_shift> <id_user_work_position>51e2094a-0feb-46e2-afa1-48ca90164d37</id_user_work_position> <image_id>ab64997e-9103-41c4-a6b1-ac35ef7c0eac</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </last_change> </system_information> </EmailTemplate>