POST api/AddUpdateSalarySlip

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
SalarySlipList
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "SalarySlipID": 1,
    "UserID": 2,
    "MonthYear": "sample string 3",
    "TotalWorkingDays": "sample string 4",
    "TotalPresentDays": "sample string 5",
    "TotalAbsentDays": "sample string 6",
    "BasicSalary": "sample string 7",
    "DearnessAllowance": "sample string 8",
    "HRA": "sample string 9",
    "MedicalAllowance": "sample string 10",
    "PF": "sample string 11",
    "ProfessionalTax": "sample string 12",
    "TDS": "sample string 13",
    "LeaveDeduction": "sample string 14",
    "TotalIncome": "sample string 15",
    "TotalDeduction": "sample string 16",
    "NetSalary": "sample string 17",
    "CreatedOnDate": "sample string 18",
    "CreatedByUserID": 19,
    "IsActive": true,
    "UserCode": "sample string 21",
    "FirstName": "sample string 22",
    "LastName": "sample string 23",
    "Email": "sample string 24",
    "Mobile": "sample string 25",
    "UserType": "sample string 26",
    "PANCARD": "sample string 27",
    "DOJ": "sample string 28"
  },
  {
    "SalarySlipID": 1,
    "UserID": 2,
    "MonthYear": "sample string 3",
    "TotalWorkingDays": "sample string 4",
    "TotalPresentDays": "sample string 5",
    "TotalAbsentDays": "sample string 6",
    "BasicSalary": "sample string 7",
    "DearnessAllowance": "sample string 8",
    "HRA": "sample string 9",
    "MedicalAllowance": "sample string 10",
    "PF": "sample string 11",
    "ProfessionalTax": "sample string 12",
    "TDS": "sample string 13",
    "LeaveDeduction": "sample string 14",
    "TotalIncome": "sample string 15",
    "TotalDeduction": "sample string 16",
    "NetSalary": "sample string 17",
    "CreatedOnDate": "sample string 18",
    "CreatedByUserID": 19,
    "IsActive": true,
    "UserCode": "sample string 21",
    "FirstName": "sample string 22",
    "LastName": "sample string 23",
    "Email": "sample string 24",
    "Mobile": "sample string 25",
    "UserType": "sample string 26",
    "PANCARD": "sample string 27",
    "DOJ": "sample string 28"
  },
  {
    "SalarySlipID": 1,
    "UserID": 2,
    "MonthYear": "sample string 3",
    "TotalWorkingDays": "sample string 4",
    "TotalPresentDays": "sample string 5",
    "TotalAbsentDays": "sample string 6",
    "BasicSalary": "sample string 7",
    "DearnessAllowance": "sample string 8",
    "HRA": "sample string 9",
    "MedicalAllowance": "sample string 10",
    "PF": "sample string 11",
    "ProfessionalTax": "sample string 12",
    "TDS": "sample string 13",
    "LeaveDeduction": "sample string 14",
    "TotalIncome": "sample string 15",
    "TotalDeduction": "sample string 16",
    "NetSalary": "sample string 17",
    "CreatedOnDate": "sample string 18",
    "CreatedByUserID": 19,
    "IsActive": true,
    "UserCode": "sample string 21",
    "FirstName": "sample string 22",
    "LastName": "sample string 23",
    "Email": "sample string 24",
    "Mobile": "sample string 25",
    "UserType": "sample string 26",
    "PANCARD": "sample string 27",
    "DOJ": "sample string 28"
  }
]

text/html

Sample:
[{"SalarySlipID":1,"UserID":2,"MonthYear":"sample string 3","TotalWorkingDays":"sample string 4","TotalPresentDays":"sample string 5","TotalAbsentDays":"sample string 6","BasicSalary":"sample string 7","DearnessAllowance":"sample string 8","HRA":"sample string 9","MedicalAllowance":"sample string 10","PF":"sample string 11","ProfessionalTax":"sample string 12","TDS":"sample string 13","LeaveDeduction":"sample string 14","TotalIncome":"sample string 15","TotalDeduction":"sample string 16","NetSalary":"sample string 17","CreatedOnDate":"sample string 18","CreatedByUserID":19,"IsActive":true,"UserCode":"sample string 21","FirstName":"sample string 22","LastName":"sample string 23","Email":"sample string 24","Mobile":"sample string 25","UserType":"sample string 26","PANCARD":"sample string 27","DOJ":"sample string 28"},{"SalarySlipID":1,"UserID":2,"MonthYear":"sample string 3","TotalWorkingDays":"sample string 4","TotalPresentDays":"sample string 5","TotalAbsentDays":"sample string 6","BasicSalary":"sample string 7","DearnessAllowance":"sample string 8","HRA":"sample string 9","MedicalAllowance":"sample string 10","PF":"sample string 11","ProfessionalTax":"sample string 12","TDS":"sample string 13","LeaveDeduction":"sample string 14","TotalIncome":"sample string 15","TotalDeduction":"sample string 16","NetSalary":"sample string 17","CreatedOnDate":"sample string 18","CreatedByUserID":19,"IsActive":true,"UserCode":"sample string 21","FirstName":"sample string 22","LastName":"sample string 23","Email":"sample string 24","Mobile":"sample string 25","UserType":"sample string 26","PANCARD":"sample string 27","DOJ":"sample string 28"},{"SalarySlipID":1,"UserID":2,"MonthYear":"sample string 3","TotalWorkingDays":"sample string 4","TotalPresentDays":"sample string 5","TotalAbsentDays":"sample string 6","BasicSalary":"sample string 7","DearnessAllowance":"sample string 8","HRA":"sample string 9","MedicalAllowance":"sample string 10","PF":"sample string 11","ProfessionalTax":"sample string 12","TDS":"sample string 13","LeaveDeduction":"sample string 14","TotalIncome":"sample string 15","TotalDeduction":"sample string 16","NetSalary":"sample string 17","CreatedOnDate":"sample string 18","CreatedByUserID":19,"IsActive":true,"UserCode":"sample string 21","FirstName":"sample string 22","LastName":"sample string 23","Email":"sample string 24","Mobile":"sample string 25","UserType":"sample string 26","PANCARD":"sample string 27","DOJ":"sample string 28"}]

application/xml, text/xml

Sample:
<ArrayOfSalarySlipViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.SalarySlip">
  <SalarySlipViewModel>
    <BasicSalary>sample string 7</BasicSalary>
    <CreatedByUserID>19</CreatedByUserID>
    <CreatedOnDate>sample string 18</CreatedOnDate>
    <DOJ>sample string 28</DOJ>
    <DearnessAllowance>sample string 8</DearnessAllowance>
    <Email>sample string 24</Email>
    <FirstName>sample string 22</FirstName>
    <HRA>sample string 9</HRA>
    <IsActive>true</IsActive>
    <LastName>sample string 23</LastName>
    <LeaveDeduction>sample string 14</LeaveDeduction>
    <MedicalAllowance>sample string 10</MedicalAllowance>
    <Mobile>sample string 25</Mobile>
    <MonthYear>sample string 3</MonthYear>
    <NetSalary>sample string 17</NetSalary>
    <PANCARD>sample string 27</PANCARD>
    <PF>sample string 11</PF>
    <ProfessionalTax>sample string 12</ProfessionalTax>
    <SalarySlipID>1</SalarySlipID>
    <TDS>sample string 13</TDS>
    <TotalAbsentDays>sample string 6</TotalAbsentDays>
    <TotalDeduction>sample string 16</TotalDeduction>
    <TotalIncome>sample string 15</TotalIncome>
    <TotalPresentDays>sample string 5</TotalPresentDays>
    <TotalWorkingDays>sample string 4</TotalWorkingDays>
    <UserCode>sample string 21</UserCode>
    <UserID>2</UserID>
    <UserType>sample string 26</UserType>
  </SalarySlipViewModel>
  <SalarySlipViewModel>
    <BasicSalary>sample string 7</BasicSalary>
    <CreatedByUserID>19</CreatedByUserID>
    <CreatedOnDate>sample string 18</CreatedOnDate>
    <DOJ>sample string 28</DOJ>
    <DearnessAllowance>sample string 8</DearnessAllowance>
    <Email>sample string 24</Email>
    <FirstName>sample string 22</FirstName>
    <HRA>sample string 9</HRA>
    <IsActive>true</IsActive>
    <LastName>sample string 23</LastName>
    <LeaveDeduction>sample string 14</LeaveDeduction>
    <MedicalAllowance>sample string 10</MedicalAllowance>
    <Mobile>sample string 25</Mobile>
    <MonthYear>sample string 3</MonthYear>
    <NetSalary>sample string 17</NetSalary>
    <PANCARD>sample string 27</PANCARD>
    <PF>sample string 11</PF>
    <ProfessionalTax>sample string 12</ProfessionalTax>
    <SalarySlipID>1</SalarySlipID>
    <TDS>sample string 13</TDS>
    <TotalAbsentDays>sample string 6</TotalAbsentDays>
    <TotalDeduction>sample string 16</TotalDeduction>
    <TotalIncome>sample string 15</TotalIncome>
    <TotalPresentDays>sample string 5</TotalPresentDays>
    <TotalWorkingDays>sample string 4</TotalWorkingDays>
    <UserCode>sample string 21</UserCode>
    <UserID>2</UserID>
    <UserType>sample string 26</UserType>
  </SalarySlipViewModel>
  <SalarySlipViewModel>
    <BasicSalary>sample string 7</BasicSalary>
    <CreatedByUserID>19</CreatedByUserID>
    <CreatedOnDate>sample string 18</CreatedOnDate>
    <DOJ>sample string 28</DOJ>
    <DearnessAllowance>sample string 8</DearnessAllowance>
    <Email>sample string 24</Email>
    <FirstName>sample string 22</FirstName>
    <HRA>sample string 9</HRA>
    <IsActive>true</IsActive>
    <LastName>sample string 23</LastName>
    <LeaveDeduction>sample string 14</LeaveDeduction>
    <MedicalAllowance>sample string 10</MedicalAllowance>
    <Mobile>sample string 25</Mobile>
    <MonthYear>sample string 3</MonthYear>
    <NetSalary>sample string 17</NetSalary>
    <PANCARD>sample string 27</PANCARD>
    <PF>sample string 11</PF>
    <ProfessionalTax>sample string 12</ProfessionalTax>
    <SalarySlipID>1</SalarySlipID>
    <TDS>sample string 13</TDS>
    <TotalAbsentDays>sample string 6</TotalAbsentDays>
    <TotalDeduction>sample string 16</TotalDeduction>
    <TotalIncome>sample string 15</TotalIncome>
    <TotalPresentDays>sample string 5</TotalPresentDays>
    <TotalWorkingDays>sample string 4</TotalWorkingDays>
    <UserCode>sample string 21</UserCode>
    <UserID>2</UserID>
    <UserType>sample string 26</UserType>
  </SalarySlipViewModel>
</ArrayOfSalarySlipViewModel>

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 'List`1'.