POST api/CommonMaster/MailTemplateMaster/GetMailSentDetails

Request Information

URI Parameters

None.

Body Parameters

MailSentDetailsViewModel
NameDescriptionTypeAdditional information
MailSentId

integer

None.

Code

integer

None.

MailTemplateId

integer

None.

EmployeeId

integer

None.

From

string

None.

To

string

None.

CC

string

None.

BCC

string

None.

Subject

string

None.

Body

string

None.

Attachment

string

None.

MailSentStatus

string

None.

MailSentAttempt

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

EmployeeId1

integer

None.

ClientId

integer

None.

CProjectId

integer

None.

ClientName

string

None.

EmployeeCode

string

None.

AttendanceCode

string

None.

FirstName

string

None.

MIddleName

string

None.

LastName

string

None.

EmployeeName

string

None.

EmployeeNameCode

string

None.

GenderId

integer

None.

GenderName

string

None.

MaritalStatusId

integer

None.

MaritalStatusName

string

None.

EmployeeTypeId

integer

None.

EmployeeTypeName

string

None.

ShiftId

integer

None.

DateOfJoining

date

None.

JoiningDays

integer

None.

DateofBirth

date

None.

AgeDays

integer

None.

SeniorityDate

date

None.

SeniorityDays

integer

None.

ManagerId

integer

None.

ManagerName

string

None.

WorkingDays

integer

None.

DesignationId

integer

None.

DesignationName

string

None.

DepartmentId

integer

None.

DepartmentCode

string

None.

DepartmentName

string

None.

CurrentCountryId

byte

None.

CurrentCountryName

string

None.

CurrentStateId

integer

None.

CurrentStateName

string

None.

CurrentContactNumber

string

None.

ParmanentCountryId

byte

None.

ParmanentCountryName

string

None.

ParmanentStateId

integer

None.

ParmanentStateName

string

None.

ParmanentContactNumber

string

None.

WorkLocationCountryId

byte

None.

WorkLocationCountryIdH

byte

None.

WorkLocationCountryName

string

None.

ClientIdHolidayApplicable

integer

None.

StateIdHolidayApplicable

integer

None.

WorkLocationStateId

integer

None.

WorkLocationStateName

string

None.

WorkLocationCityId

integer

None.

WorkLocationCityName

string

None.

WorkLocationContactNumber

string

None.

WorkLocationEmailId

string

None.

EmailId

string

None.

RoleId

integer

None.

RoleTypeCode

string

None.

EmployeeRoleName

string

None.

ClientCode

string

None.

ClientGroupId

integer

None.

EmployeeImagePath

string

None.

DesignationGroupId

integer

None.

DesignationGroupName

string

None.

DataCategory

string

None.

RoleDisplayName

string

None.

IsHourlyLeave

boolean

None.

IsActive

boolean

None.

IsActiveStatus

string

None.

DateofTermination

date

None.

IsHourlyTimesheet

string

None.

EmployeeCreatedDate

date

None.

OthCalDateId

integer

None.

DateFormat

string

None.

ColorStyle

string

None.

LayoutStyle

string

None.

PrimaryButtonStyle

string

None.

SecondaryButtonStyle

string

None.

TableLayoutStyle

string

None.

EmployeeCount

integer

None.

ReHireId

integer

None.

IsWorkLocationMailSent

boolean

None.

lstEmployee

Collection of string

None.

fromdate

date

None.

toDate

date

None.

RequestType

RequestTypeEnum

None.

lstMailSentId

Collection of string

None.

ModifyDate

date

None.

ModifyBy

integer

None.

UpdateType

string

None.

LocalIpAddress

string

None.

IpAddress

string

None.

DbUserAccount

string

None.

Source

string

None.

MailSentIdHistoryCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MailSentId": 1,
  "Code": 1,
  "MailTemplateId": 2,
  "EmployeeId": 1,
  "From": "sample string 3",
  "To": "sample string 4",
  "CC": "sample string 5",
  "BCC": "sample string 6",
  "Subject": "sample string 7",
  "Body": "sample string 8",
  "Attachment": "sample string 9",
  "MailSentStatus": "sample string 10",
  "MailSentAttempt": "sample string 11",
  "CreatedDate": "2026-01-07T07:14:26.8253127+05:30",
  "CreatedBy": 1,
  "EmployeeId1": 13,
  "ClientId": 14,
  "CProjectId": 1,
  "ClientName": "sample string 15",
  "EmployeeCode": "sample string 16",
  "AttendanceCode": "sample string 17",
  "FirstName": "sample string 18",
  "MIddleName": "sample string 19",
  "LastName": "sample string 20",
  "EmployeeName": "sample string 21",
  "EmployeeNameCode": "sample string 22",
  "GenderId": 1,
  "GenderName": "sample string 23",
  "MaritalStatusId": 1,
  "MaritalStatusName": "sample string 24",
  "EmployeeTypeId": 1,
  "EmployeeTypeName": "sample string 25",
  "ShiftId": 1,
  "DateOfJoining": "2026-01-07T07:14:26.8253127+05:30",
  "JoiningDays": 1,
  "DateofBirth": "2026-01-07T07:14:26.8253127+05:30",
  "AgeDays": 1,
  "SeniorityDate": "2026-01-07T07:14:26.8253127+05:30",
  "SeniorityDays": 1,
  "ManagerId": 1,
  "ManagerName": "sample string 26",
  "WorkingDays": 1,
  "DesignationId": 1,
  "DesignationName": "sample string 27",
  "DepartmentId": 1,
  "DepartmentCode": "sample string 28",
  "DepartmentName": "sample string 29",
  "CurrentCountryId": 64,
  "CurrentCountryName": "sample string 30",
  "CurrentStateId": 1,
  "CurrentStateName": "sample string 31",
  "CurrentContactNumber": "sample string 32",
  "ParmanentCountryId": 64,
  "ParmanentCountryName": "sample string 33",
  "ParmanentStateId": 1,
  "ParmanentStateName": "sample string 34",
  "ParmanentContactNumber": "sample string 35",
  "WorkLocationCountryId": 64,
  "WorkLocationCountryIdH": 64,
  "WorkLocationCountryName": "sample string 36",
  "ClientIdHolidayApplicable": 1,
  "StateIdHolidayApplicable": 1,
  "WorkLocationStateId": 1,
  "WorkLocationStateName": "sample string 37",
  "WorkLocationCityId": 1,
  "WorkLocationCityName": "sample string 38",
  "WorkLocationContactNumber": "sample string 39",
  "WorkLocationEmailId": "sample string 40",
  "EmailId": "sample string 41",
  "RoleId": 1,
  "RoleTypeCode": "sample string 42",
  "EmployeeRoleName": "sample string 43",
  "ClientCode": "sample string 44",
  "ClientGroupId": 1,
  "EmployeeImagePath": "sample string 45",
  "DesignationGroupId": 1,
  "DesignationGroupName": "sample string 46",
  "DataCategory": "sample string 47",
  "RoleDisplayName": "sample string 48",
  "IsHourlyLeave": true,
  "IsActive": true,
  "IsActiveStatus": "sample string 49",
  "DateofTermination": "2026-01-07T07:14:26.8253127+05:30",
  "IsHourlyTimesheet": "sample string 50",
  "EmployeeCreatedDate": "2026-01-07T07:14:26.8253127+05:30",
  "OthCalDateId": 1,
  "DateFormat": "sample string 51",
  "ColorStyle": "sample string 52",
  "LayoutStyle": "sample string 53",
  "PrimaryButtonStyle": "sample string 54",
  "SecondaryButtonStyle": "sample string 55",
  "TableLayoutStyle": "sample string 56",
  "EmployeeCount": 1,
  "ReHireId": 1,
  "IsWorkLocationMailSent": true,
  "lstEmployee": [
    "sample string 1",
    "sample string 2"
  ],
  "fromdate": "2026-01-07T07:14:26.8253127+05:30",
  "toDate": "2026-01-07T07:14:26.8253127+05:30",
  "RequestType": 0,
  "lstMailSentId": [
    "sample string 1",
    "sample string 2"
  ],
  "ModifyDate": "2026-01-07T07:14:26.8253127+05:30",
  "ModifyBy": 1,
  "UpdateType": "sample string 57",
  "LocalIpAddress": "sample string 58",
  "IpAddress": "sample string 59",
  "DbUserAccount": "sample string 60",
  "Source": "sample string 61",
  "MailSentIdHistoryCount": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.