POST Api/EmailTemplate/Search

Request Information

URI Parameters

None.

Body Parameters

EmailTempCondition
NameDescriptionTypeAdditional information
IsActive

boolean

None.

IsDeleted

boolean

None.

Code

string

None.

Name

string

None.

Type

MailType

None.

Language

Language

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "IsDeleted": true,
  "Code": "sample string 1",
  "Name": "sample string 2",
  "Type": 11,
  "Language": 0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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.

Response 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": "aa222c5b-ff09-46c4-bc73-cff4ef87fd76",
    "ClientId": "d289140b-382f-4a4e-b1f8-3611fa30076b",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-15 00:59:29",
    "UpdateDate": "2021-05-15 00:59:29",
    "CreateBy": "87c855fa-a95f-4d18-bab4-6448b9534604",
    "UpdateBy": "7189f777-a9c3-4271-a91a-3fa8327528a3"
  },
  {
    "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": "aa222c5b-ff09-46c4-bc73-cff4ef87fd76",
    "ClientId": "d289140b-382f-4a4e-b1f8-3611fa30076b",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-15 00:59:29",
    "UpdateDate": "2021-05-15 00:59:29",
    "CreateBy": "87c855fa-a95f-4d18-bab4-6448b9534604",
    "UpdateBy": "7189f777-a9c3-4271-a91a-3fa8327528a3"
  }
]