PUT {bucket}/mailtemplate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bucket

string

Required

Body Parameters

MailTemplateModel
NameDescriptionTypeAdditional information
Name

string

None.

MailSender

string

None.

MailObject

string

None.

MailBody

string

None.

MailAttachment

string

None.

ListMailTypeId

unsigned integer

None.

Private

boolean

None.

Editable

boolean

None.

Enabled

boolean

None.

CompanyId

unsigned integer

None.

EventInfoList

Collection of EventInfoModel

None.

Uid

unsigned integer

None.

Type

string

None.

Created

date

None.

Updated

date

None.

Archived

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

ArchivedBy

string

None.

Version

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "MailSender": "sample string 2",
  "MailObject": "sample string 3",
  "MailBody": "sample string 4",
  "MailAttachment": "sample string 5",
  "ListMailTypeId": 1,
  "Private": true,
  "Editable": true,
  "Enabled": true,
  "CompanyId": 1,
  "EventInfoList": [
    {
      "ListEventActionId": 1,
      "ChuckNorrisId": 1,
      "Response": {
        "EventId": 1,
        "ErrorMessage": "sample string 1"
      }
    },
    {
      "ListEventActionId": 1,
      "ChuckNorrisId": 1,
      "Response": {
        "EventId": 1,
        "ErrorMessage": "sample string 1"
      }
    }
  ],
  "Uid": 1,
  "Type": "sample string 6",
  "Created": "2025-01-11T00:07:54.7395701+01:00",
  "Updated": "2025-01-11T00:07:54.7395701+01:00",
  "Archived": "2025-01-11T00:07:54.7395701+01:00",
  "CreatedBy": "sample string 7",
  "UpdatedBy": "sample string 8",
  "ArchivedBy": "sample string 9",
  "Version": 1
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.