POST api/genEmployeeHistory/Getall

Request Information

URI Parameters

None.

Body Parameters

genEmployeeHistory
NameDescriptionTypeAdditional information
ActionTypeId

integer

None.

Active

boolean

None.

AlteredOn

date

None.

CreatedOn

date

None.

FromDate

date

None.

ProbationEnding

date

None.

ToDate

date

None.

WithEffectFrom

date

None.

TotalSalary

decimal number

None.

PayableAcId

integer

None.

ExpenseAccountId

integer

None.

LoanAcId

integer

None.

DepartmentId

integer

None.

EmployeeGroupId

integer

None.

DesignationId

integer

None.

EmployeeHistoryLineId

integer

None.

JobId

integer

None.

SectionId

integer

None.

ShiftId

integer

None.

StoreId

integer

None.

AlteredById

integer

None.

BranchId

integer

None.

CreatedById

integer

None.

EmployeeHistoryId

integer

None.

EmployeeId

integer

None.

LocationId

integer

None.

PartyLocationId

integer

None.

ReportToEmployeeId

integer

None.

UserLogId

integer

None.

Description

string

None.

FooterCoverLetterText

string

None.

HeaderCoverLetterText

string

None.

OrganizationId

integer

None.

CompanyId

integer

None.

ProjectId

integer

None.

EmployeeTypeProfileId

integer

None.

Location

string

None.

ReportedBranch

string

None.

Section

string

None.

Store

string

None.

Designation

string

None.

ShiftName

string

None.

ReportedPerson

string

None.

DepartmentName

string

None.

FistName

string

None.

MiddleName

string

None.

LastName

string

None.

EmployeeType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActionTypeId": 1,
  "Active": true,
  "AlteredOn": "2025-10-29T13:11:36.2707561+05:00",
  "CreatedOn": "2025-10-29T13:11:36.2707561+05:00",
  "FromDate": "2025-10-29T13:11:36.2707561+05:00",
  "ProbationEnding": "2025-10-29T13:11:36.2707561+05:00",
  "ToDate": "2025-10-29T13:11:36.2707561+05:00",
  "WithEffectFrom": "2025-10-29T13:11:36.2707561+05:00",
  "TotalSalary": 9.0,
  "PayableAcId": 10,
  "ExpenseAccountId": 11,
  "LoanAcId": 12,
  "DepartmentId": 13,
  "EmployeeGroupId": 14,
  "DesignationId": 15,
  "EmployeeHistoryLineId": 16,
  "JobId": 17,
  "SectionId": 18,
  "ShiftId": 19,
  "StoreId": 20,
  "AlteredById": 21,
  "BranchId": 22,
  "CreatedById": 23,
  "EmployeeHistoryId": 24,
  "EmployeeId": 25,
  "LocationId": 26,
  "PartyLocationId": 27,
  "ReportToEmployeeId": 28,
  "UserLogId": 29,
  "Description": "sample string 30",
  "FooterCoverLetterText": "sample string 31",
  "HeaderCoverLetterText": "sample string 32",
  "OrganizationId": 33,
  "CompanyId": 34,
  "ProjectId": 35,
  "EmployeeTypeProfileId": 36,
  "Location": "sample string 37",
  "ReportedBranch": "sample string 38",
  "Section": "sample string 39",
  "Store": "sample string 40",
  "Designation": "sample string 41",
  "ShiftName": "sample string 42",
  "ReportedPerson": "sample string 43",
  "DepartmentName": "sample string 44",
  "FistName": "sample string 45",
  "MiddleName": "sample string 46",
  "LastName": "sample string 47",
  "EmployeeType": "sample string 48"
}

application/xml, text/xml

Sample:
<genEmployeeHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.EmployeeManagement">
  <ActionTypeId>1</ActionTypeId>
  <Active>true</Active>
  <AlteredById>21</AlteredById>
  <AlteredOn>2025-10-29T13:11:36.2707561+05:00</AlteredOn>
  <BranchId>22</BranchId>
  <CompanyId>34</CompanyId>
  <CreatedById>23</CreatedById>
  <CreatedOn>2025-10-29T13:11:36.2707561+05:00</CreatedOn>
  <DepartmentId>13</DepartmentId>
  <DepartmentName>sample string 44</DepartmentName>
  <Description>sample string 30</Description>
  <Designation>sample string 41</Designation>
  <DesignationId>15</DesignationId>
  <EmployeeGroupId>14</EmployeeGroupId>
  <EmployeeHistoryId>24</EmployeeHistoryId>
  <EmployeeHistoryLineId>16</EmployeeHistoryLineId>
  <EmployeeId>25</EmployeeId>
  <EmployeeType>sample string 48</EmployeeType>
  <EmployeeTypeProfileId>36</EmployeeTypeProfileId>
  <ExpenseAccountId>11</ExpenseAccountId>
  <FistName>sample string 45</FistName>
  <FooterCoverLetterText>sample string 31</FooterCoverLetterText>
  <FromDate>2025-10-29T13:11:36.2707561+05:00</FromDate>
  <HeaderCoverLetterText>sample string 32</HeaderCoverLetterText>
  <JobId>17</JobId>
  <LastName>sample string 47</LastName>
  <LoanAcId>12</LoanAcId>
  <Location>sample string 37</Location>
  <LocationId>26</LocationId>
  <MiddleName>sample string 46</MiddleName>
  <OrganizationId>33</OrganizationId>
  <PartyLocationId>27</PartyLocationId>
  <PayableAcId>10</PayableAcId>
  <ProbationEnding>2025-10-29T13:11:36.2707561+05:00</ProbationEnding>
  <ProjectId>35</ProjectId>
  <ReportToEmployeeId>28</ReportToEmployeeId>
  <ReportedBranch>sample string 38</ReportedBranch>
  <ReportedPerson>sample string 43</ReportedPerson>
  <Section>sample string 39</Section>
  <SectionId>18</SectionId>
  <ShiftId>19</ShiftId>
  <ShiftName>sample string 42</ShiftName>
  <Store>sample string 40</Store>
  <StoreId>20</StoreId>
  <ToDate>2025-10-29T13:11:36.2707561+05:00</ToDate>
  <TotalSalary>9</TotalSalary>
  <UserLogId>29</UserLogId>
  <WithEffectFrom>2025-10-29T13:11:36.2707561+05:00</WithEffectFrom>
</genEmployeeHistory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'genEmployeeHistory'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.