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": "08202067-e2e2-4540-b327-103012364a28", "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": "0c04ca90-2b1d-4321-bed0-2ad1817db232", "image_id": "9ea3f9d8-b6ce-4204-bf2c-a0efb56f17de", "id_user_work_position": "cbe978f7-929d-4939-9939-b14c36e738b5", "id_shift": "e5ee3ba0-2ea4-4c27-a543-b4e5651072af", "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": "2024-11-21T09:50:44Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "0c04ca90-2b1d-4321-bed0-2ad1817db232", "image_id": "9ea3f9d8-b6ce-4204-bf2c-a0efb56f17de", "id_user_work_position": "cbe978f7-929d-4939-9939-b14c36e738b5", "id_shift": "e5ee3ba0-2ea4-4c27-a543-b4e5651072af", "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": "2024-11-21T09:50:44Z" } } }
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>08202067-e2e2-4540-b327-103012364a28</id> <mail_from>sample string 4</mail_from> <name>sample string 2</name> <subject>sample string 5</subject> <system_information> <creation> <date>2024-11-21T10:50:44.2686982+01: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>0c04ca90-2b1d-4321-bed0-2ad1817db232</id> <id_shift>e5ee3ba0-2ea4-4c27-a543-b4e5651072af</id_shift> <id_user_work_position>cbe978f7-929d-4939-9939-b14c36e738b5</id_user_work_position> <image_id>9ea3f9d8-b6ce-4204-bf2c-a0efb56f17de</image_id> <introduction>sample string 10</introduction> <last_name>sample string 12</last_name> <title>sample string 9</title> </user> </creation> <last_change> <date>2024-11-21T10:50:44.2686982+01: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>0c04ca90-2b1d-4321-bed0-2ad1817db232</id> <id_shift>e5ee3ba0-2ea4-4c27-a543-b4e5651072af</id_shift> <id_user_work_position>cbe978f7-929d-4939-9939-b14c36e738b5</id_user_work_position> <image_id>9ea3f9d8-b6ce-4204-bf2c-a0efb56f17de</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>