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": "4dec829e-2aae-4532-8509-63bd6b76af5a", "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": "39f8e746-8d55-4cc8-a82f-66ef2893a7c8", "image_id": "c5720818-6251-410b-9d2c-04383bbd58a3", "id_user_work_position": "30864ce5-4934-42f8-8271-c6be05f518ae", "id_shift": "ffd8c417-057a-4daf-b5dc-66c01656a743", "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-10-30T01:31:57Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "39f8e746-8d55-4cc8-a82f-66ef2893a7c8", "image_id": "c5720818-6251-410b-9d2c-04383bbd58a3", "id_user_work_position": "30864ce5-4934-42f8-8271-c6be05f518ae", "id_shift": "ffd8c417-057a-4daf-b5dc-66c01656a743", "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-10-30T01:31:57Z" } } }
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>4dec829e-2aae-4532-8509-63bd6b76af5a</id> <mail_from>sample string 4</mail_from> <name>sample string 2</name> <subject>sample string 5</subject> <system_information> <creation> <date>2024-10-30T02:31:57.6085699+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>39f8e746-8d55-4cc8-a82f-66ef2893a7c8</id> <id_shift>ffd8c417-057a-4daf-b5dc-66c01656a743</id_shift> <id_user_work_position>30864ce5-4934-42f8-8271-c6be05f518ae</id_user_work_position> <image_id>c5720818-6251-410b-9d2c-04383bbd58a3</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-10-30T02:31:57.6085699+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>39f8e746-8d55-4cc8-a82f-66ef2893a7c8</id> <id_shift>ffd8c417-057a-4daf-b5dc-66c01656a743</id_shift> <id_user_work_position>30864ce5-4934-42f8-8271-c6be05f518ae</id_user_work_position> <image_id>c5720818-6251-410b-9d2c-04383bbd58a3</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>