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": "25f4d324-ac13-41df-bdfa-55f82be824ad",
  "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": "5533743f-114b-4de3-9e99-1e6de04319a2",
        "image_id": "7e6dbfc3-3dff-40fe-bb13-f71756e280ff",
        "id_user_work_position": "45b18cb6-1f7c-421c-a629-fc9e6806f0b0",
        "id_shift": "2152dc64-fd28-4ff7-a12f-7c3b21037e00",
        "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-07-27T06:25:55Z"
    },
    "last_change": {
      "user": {
        "full_name": "sample string 12 sample string 11",
        "id": "5533743f-114b-4de3-9e99-1e6de04319a2",
        "image_id": "7e6dbfc3-3dff-40fe-bb13-f71756e280ff",
        "id_user_work_position": "45b18cb6-1f7c-421c-a629-fc9e6806f0b0",
        "id_shift": "2152dc64-fd28-4ff7-a12f-7c3b21037e00",
        "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-07-27T06:25:55Z"
    }
  }
}

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>25f4d324-ac13-41df-bdfa-55f82be824ad</id>
  <mail_from>sample string 4</mail_from>
  <name>sample string 2</name>
  <subject>sample string 5</subject>
  <system_information>
    <creation>
      <date>2024-07-27T08:25:55.1113002+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>5533743f-114b-4de3-9e99-1e6de04319a2</id>
        <id_shift>2152dc64-fd28-4ff7-a12f-7c3b21037e00</id_shift>
        <id_user_work_position>45b18cb6-1f7c-421c-a629-fc9e6806f0b0</id_user_work_position>
        <image_id>7e6dbfc3-3dff-40fe-bb13-f71756e280ff</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-07-27T08:25:55.1113002+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>5533743f-114b-4de3-9e99-1e6de04319a2</id>
        <id_shift>2152dc64-fd28-4ff7-a12f-7c3b21037e00</id_shift>
        <id_user_work_position>45b18cb6-1f7c-421c-a629-fc9e6806f0b0</id_user_work_position>
        <image_id>7e6dbfc3-3dff-40fe-bb13-f71756e280ff</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>