GET api/v1/email_templates/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

EmailTemplate
NameDescriptionTypeAdditional 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": "1cb780ca-2717-40c6-a439-ea0398e5ca9c",
  "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": "a3db67dd-68ad-4819-a5ce-f6630ad9f1e9",
        "image_id": "7f30adbd-74d8-4ab1-aaa6-ae1c26665779",
        "id_user_work_position": "135c11bc-14e3-4152-b4d5-25d4e30dc6a2",
        "id_shift": "da45048d-8275-421a-996b-f03f16b707a2",
        "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-03-05T13:21:12Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "a3db67dd-68ad-4819-a5ce-f6630ad9f1e9",
        "image_id": "7f30adbd-74d8-4ab1-aaa6-ae1c26665779",
        "id_user_work_position": "135c11bc-14e3-4152-b4d5-25d4e30dc6a2",
        "id_shift": "da45048d-8275-421a-996b-f03f16b707a2",
        "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-03-05T13:21:12Z"
    }
  }
}

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>1cb780ca-2717-40c6-a439-ea0398e5ca9c</id>
  <mail_from>sample string 4</mail_from>
  <name>sample string 2</name>
  <subject>sample string 5</subject>
  <system_information>
    <creation>
      <date>2024-03-05T14:21:12.8044138+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>a3db67dd-68ad-4819-a5ce-f6630ad9f1e9</id>
        <id_shift>da45048d-8275-421a-996b-f03f16b707a2</id_shift>
        <id_user_work_position>135c11bc-14e3-4152-b4d5-25d4e30dc6a2</id_user_work_position>
        <image_id>7f30adbd-74d8-4ab1-aaa6-ae1c26665779</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-03-05T14:21:12.8044138+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>a3db67dd-68ad-4819-a5ce-f6630ad9f1e9</id>
        <id_shift>da45048d-8275-421a-996b-f03f16b707a2</id_shift>
        <id_user_work_position>135c11bc-14e3-4152-b4d5-25d4e30dc6a2</id_user_work_position>
        <image_id>7f30adbd-74d8-4ab1-aaa6-ae1c26665779</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>