POST api/EmployeePayroll/GetSalarySlipDetails

Request Information

URI Parameters

None.

Body Parameters

EmployeeSalaryInfoModel
NameDescriptionTypeAdditional information
StaffId

integer

None.

MonthId

integer

None.

Year

integer

None.

EmployeeSalaryList

Collection of EmployeeSalaryInfo

None.

PaySlipList

Collection of SalarySlipInfo

None.

MonthList

Collection of MonthModel

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffId": 1,
  "MonthId": 1,
  "Year": 1,
  "EmployeeSalaryList": [
    {
      "Month": "sample string 1",
      "MonthId": 1,
      "Year": 1,
      "WorkingDays": 1,
      "PayableDays": 1.1,
      "TotalAmount": 1.1,
      "NetPayableAmount": 1.1
    },
    {
      "Month": "sample string 1",
      "MonthId": 1,
      "Year": 1,
      "WorkingDays": 1,
      "PayableDays": 1.1,
      "TotalAmount": 1.1,
      "NetPayableAmount": 1.1
    }
  ],
  "PaySlipList": [
    {
      "PayCommission": "sample string 1",
      "EmployeeCode": "sample string 2",
      "EmployeeName": "sample string 3",
      "FatherSpouseName": "sample string 4",
      "Designation": "sample string 5",
      "DateOfAppointment": "2021-05-14T21:19:27.2678258-07:00",
      "PFNumber": "sample string 6",
      "PensionAccNo": "sample string 7",
      "BankAccountNo": "sample string 8",
      "BasicPayAmount": 1.1,
      "Year": 1,
      "MonthId": 1,
      "Month": "sample string 9",
      "WorkingDays": 10,
      "PayableDays": 1.1,
      "JobType": "sample string 11",
      "PayBand": "sample string 12",
      "GradePay": 1.1,
      "PayLevel": "sample string 13",
      "ArrearAmount": 1.1,
      "DAPerc": 1.1,
      "DAAmount": 1.1,
      "HRAPerc": 1.1,
      "HRAAmount": 1.1,
      "TAAmount": 1.1,
      "OtherAllowanceAmt": 1.1,
      "PfEmployeeAmount": 1.1,
      "IncomeTaxAmount": 1.1,
      "TDSAmount": 1.1,
      "PFLoanAmount": 1.1,
      "LICAmount": 1.1,
      "ProfessionTaxAmount": 1.1,
      "OtherDeductionAmt": 1.1,
      "TotalAmount": 1.1,
      "NetPayableAmount": 1.1,
      "BasicPayCalcAmount": 1.1,
      "LeaveEncashment": 1.1,
      "GratuityPoolFund": 1.1,
      "EDLI": 1.1,
      "AdmnCharges": 1.1,
      "TotalEarnings": 1.1,
      "TotalDeductions": 1.1
    },
    {
      "PayCommission": "sample string 1",
      "EmployeeCode": "sample string 2",
      "EmployeeName": "sample string 3",
      "FatherSpouseName": "sample string 4",
      "Designation": "sample string 5",
      "DateOfAppointment": "2021-05-14T21:19:27.2678258-07:00",
      "PFNumber": "sample string 6",
      "PensionAccNo": "sample string 7",
      "BankAccountNo": "sample string 8",
      "BasicPayAmount": 1.1,
      "Year": 1,
      "MonthId": 1,
      "Month": "sample string 9",
      "WorkingDays": 10,
      "PayableDays": 1.1,
      "JobType": "sample string 11",
      "PayBand": "sample string 12",
      "GradePay": 1.1,
      "PayLevel": "sample string 13",
      "ArrearAmount": 1.1,
      "DAPerc": 1.1,
      "DAAmount": 1.1,
      "HRAPerc": 1.1,
      "HRAAmount": 1.1,
      "TAAmount": 1.1,
      "OtherAllowanceAmt": 1.1,
      "PfEmployeeAmount": 1.1,
      "IncomeTaxAmount": 1.1,
      "TDSAmount": 1.1,
      "PFLoanAmount": 1.1,
      "LICAmount": 1.1,
      "ProfessionTaxAmount": 1.1,
      "OtherDeductionAmt": 1.1,
      "TotalAmount": 1.1,
      "NetPayableAmount": 1.1,
      "BasicPayCalcAmount": 1.1,
      "LeaveEncashment": 1.1,
      "GratuityPoolFund": 1.1,
      "EDLI": 1.1,
      "AdmnCharges": 1.1,
      "TotalEarnings": 1.1,
      "TotalDeductions": 1.1
    }
  ],
  "MonthList": [
    {
      "ID": 1,
      "MonthName": "sample string 2",
      "Abbr": "sample string 3",
      "Code": 4,
      "IsSelected": true
    },
    {
      "ID": 1,
      "MonthName": "sample string 2",
      "Abbr": "sample string 3",
      "Code": 4,
      "IsSelected": true
    }
  ],
  "Status": 2,
  "Message": "sample string 3",
  "Domain": "sample string 4"
}

application/xml, text/xml

Sample:
<EmployeeSalaryInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.Employee">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 3</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">2</Status>
  <EmployeeSalaryList>
    <EmployeeSalaryInfo>
      <Month>sample string 1</Month>
      <MonthId>1</MonthId>
      <NetPayableAmount>1.1</NetPayableAmount>
      <PayableDays>1.1</PayableDays>
      <TotalAmount>1.1</TotalAmount>
      <WorkingDays>1</WorkingDays>
      <Year>1</Year>
    </EmployeeSalaryInfo>
    <EmployeeSalaryInfo>
      <Month>sample string 1</Month>
      <MonthId>1</MonthId>
      <NetPayableAmount>1.1</NetPayableAmount>
      <PayableDays>1.1</PayableDays>
      <TotalAmount>1.1</TotalAmount>
      <WorkingDays>1</WorkingDays>
      <Year>1</Year>
    </EmployeeSalaryInfo>
  </EmployeeSalaryList>
  <MonthId>1</MonthId>
  <MonthList xmlns:d2p1="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
    <d2p1:MonthModel>
      <d2p1:Abbr>sample string 3</d2p1:Abbr>
      <d2p1:Code>4</d2p1:Code>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:MonthName>sample string 2</d2p1:MonthName>
    </d2p1:MonthModel>
    <d2p1:MonthModel>
      <d2p1:Abbr>sample string 3</d2p1:Abbr>
      <d2p1:Code>4</d2p1:Code>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSelected>true</d2p1:IsSelected>
      <d2p1:MonthName>sample string 2</d2p1:MonthName>
    </d2p1:MonthModel>
  </MonthList>
  <PaySlipList>
    <SalarySlipInfo>
      <AdmnCharges>1.1</AdmnCharges>
      <ArrearAmount>1.1</ArrearAmount>
      <BankAccountNo>sample string 8</BankAccountNo>
      <BasicPayAmount>1.1</BasicPayAmount>
      <BasicPayCalcAmount>1.1</BasicPayCalcAmount>
      <DAAmount>1.1</DAAmount>
      <DAPerc>1.1</DAPerc>
      <DateOfAppointment>2021-05-14T21:19:27.2678258-07:00</DateOfAppointment>
      <Designation>sample string 5</Designation>
      <EDLI>1.1</EDLI>
      <EmployeeCode>sample string 2</EmployeeCode>
      <EmployeeName>sample string 3</EmployeeName>
      <FatherSpouseName>sample string 4</FatherSpouseName>
      <GradePay>1.1</GradePay>
      <GratuityPoolFund>1.1</GratuityPoolFund>
      <HRAAmount>1.1</HRAAmount>
      <HRAPerc>1.1</HRAPerc>
      <IncomeTaxAmount>1.1</IncomeTaxAmount>
      <JobType>sample string 11</JobType>
      <LICAmount>1.1</LICAmount>
      <LeaveEncashment>1.1</LeaveEncashment>
      <Month>sample string 9</Month>
      <MonthId>1</MonthId>
      <NetPayableAmount>1.1</NetPayableAmount>
      <OtherAllowanceAmt>1.1</OtherAllowanceAmt>
      <OtherDeductionAmt>1.1</OtherDeductionAmt>
      <PFLoanAmount>1.1</PFLoanAmount>
      <PFNumber>sample string 6</PFNumber>
      <PayBand>sample string 12</PayBand>
      <PayCommission>sample string 1</PayCommission>
      <PayLevel>sample string 13</PayLevel>
      <PayableDays>1.1</PayableDays>
      <PensionAccNo>sample string 7</PensionAccNo>
      <PfEmployeeAmount>1.1</PfEmployeeAmount>
      <ProfessionTaxAmount>1.1</ProfessionTaxAmount>
      <TAAmount>1.1</TAAmount>
      <TDSAmount>1.1</TDSAmount>
      <TotalAmount>1.1</TotalAmount>
      <TotalDeductions>1.1</TotalDeductions>
      <TotalEarnings>1.1</TotalEarnings>
      <WorkingDays>10</WorkingDays>
      <Year>1</Year>
    </SalarySlipInfo>
    <SalarySlipInfo>
      <AdmnCharges>1.1</AdmnCharges>
      <ArrearAmount>1.1</ArrearAmount>
      <BankAccountNo>sample string 8</BankAccountNo>
      <BasicPayAmount>1.1</BasicPayAmount>
      <BasicPayCalcAmount>1.1</BasicPayCalcAmount>
      <DAAmount>1.1</DAAmount>
      <DAPerc>1.1</DAPerc>
      <DateOfAppointment>2021-05-14T21:19:27.2678258-07:00</DateOfAppointment>
      <Designation>sample string 5</Designation>
      <EDLI>1.1</EDLI>
      <EmployeeCode>sample string 2</EmployeeCode>
      <EmployeeName>sample string 3</EmployeeName>
      <FatherSpouseName>sample string 4</FatherSpouseName>
      <GradePay>1.1</GradePay>
      <GratuityPoolFund>1.1</GratuityPoolFund>
      <HRAAmount>1.1</HRAAmount>
      <HRAPerc>1.1</HRAPerc>
      <IncomeTaxAmount>1.1</IncomeTaxAmount>
      <JobType>sample string 11</JobType>
      <LICAmount>1.1</LICAmount>
      <LeaveEncashment>1.1</LeaveEncashment>
      <Month>sample string 9</Month>
      <MonthId>1</MonthId>
      <NetPayableAmount>1.1</NetPayableAmount>
      <OtherAllowanceAmt>1.1</OtherAllowanceAmt>
      <OtherDeductionAmt>1.1</OtherDeductionAmt>
      <PFLoanAmount>1.1</PFLoanAmount>
      <PFNumber>sample string 6</PFNumber>
      <PayBand>sample string 12</PayBand>
      <PayCommission>sample string 1</PayCommission>
      <PayLevel>sample string 13</PayLevel>
      <PayableDays>1.1</PayableDays>
      <PensionAccNo>sample string 7</PensionAccNo>
      <PfEmployeeAmount>1.1</PfEmployeeAmount>
      <ProfessionTaxAmount>1.1</ProfessionTaxAmount>
      <TAAmount>1.1</TAAmount>
      <TDSAmount>1.1</TDSAmount>
      <TotalAmount>1.1</TotalAmount>
      <TotalDeductions>1.1</TotalDeductions>
      <TotalEarnings>1.1</TotalEarnings>
      <WorkingDays>10</WorkingDays>
      <Year>1</Year>
    </SalarySlipInfo>
  </PaySlipList>
  <StaffId>1</StaffId>
  <Year>1</Year>
</EmployeeSalaryInfoModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.