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": "23338c71-1206-48dc-9ffa-da3f0807604b", "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": "20968145-b462-411c-9008-160a75bf7224", "image_id": "041f0267-ece1-4b7f-87ab-6de1b1c05fe4", "id_user_work_position": "5fbcd81b-ba49-4f33-89c1-b11b0718228c", "id_shift": "90a8389b-3adc-49c9-9ba8-0e867f800813", "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-04-04T09:48:28Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "20968145-b462-411c-9008-160a75bf7224", "image_id": "041f0267-ece1-4b7f-87ab-6de1b1c05fe4", "id_user_work_position": "5fbcd81b-ba49-4f33-89c1-b11b0718228c", "id_shift": "90a8389b-3adc-49c9-9ba8-0e867f800813", "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-04-04T09:48:28Z" } } }
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>23338c71-1206-48dc-9ffa-da3f0807604b</id> <mail_from>sample string 4</mail_from> <name>sample string 2</name> <subject>sample string 5</subject> <system_information> <creation> <date>2025-04-04T11:48:28.7299227+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>20968145-b462-411c-9008-160a75bf7224</id> <id_shift>90a8389b-3adc-49c9-9ba8-0e867f800813</id_shift> <id_user_work_position>5fbcd81b-ba49-4f33-89c1-b11b0718228c</id_user_work_position> <image_id>041f0267-ece1-4b7f-87ab-6de1b1c05fe4</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-04-04T11:48:28.7299227+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>20968145-b462-411c-9008-160a75bf7224</id> <id_shift>90a8389b-3adc-49c9-9ba8-0e867f800813</id_shift> <id_user_work_position>5fbcd81b-ba49-4f33-89c1-b11b0718228c</id_user_work_position> <image_id>041f0267-ece1-4b7f-87ab-6de1b1c05fe4</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>