POST AdminApi/EmailTemplate/Save

Request Information

URI Parameters

None.

Body Parameters

EmailTemplate
NameDescriptionTypeAdditional information
EmailType

MailType

Required

EmailTypeDesc

string

None.

Code

string

Max length: 20

Name

string

Max length: 40

Subject

string

Max length: 80

LangText

string

None.

EmailContent

string

None.

MessageContent

string

None.

Lang

Language

None.

Id

globally unique identifier

None.

ClientId

globally unique identifier

None.

IsActive

boolean

Required

IsDeleted

boolean

Required

CreateDate

date

Required

UpdateDate

date

None.

CreateBy

globally unique identifier

Required

UpdateBy

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailType": 11,
  "EmailTypeDesc": "sample string 1",
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Subject": "sample string 4",
  "LangText": "sample string 5",
  "EmailContent": "sample string 6",
  "MessageContent": "sample string 7",
  "Lang": 0,
  "Id": "e12ee4fe-2c2c-4990-9d46-63f23a657670",
  "ClientId": "c7c4cc1d-18f3-42bd-b2dc-4af52d87cead",
  "IsActive": true,
  "IsDeleted": true,
  "CreateDate": "2021-05-11 16:15:10",
  "UpdateDate": "2021-05-11 16:15:10",
  "CreateBy": "9e385318-a96d-4479-b980-1809dc25bc35",
  "UpdateBy": "e709ee11-45aa-4664-8975-5aef6380e6dd"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}