POST api/SalaryApi

Request Information

URI Parameters

None.

Body Parameters

SalaryViewModel
NameDescriptionTypeAdditional information
SalaryId

integer

None.

EmployeeId

integer

None.

EmployeeName

string

None.

AbsentAllowExcessAmt

decimal number

None.

BaseSalary

decimal number

None.

AbsentFeeAllow

integer

None.

LateFeeAllow

integer

None.

AbsentFee

decimal number

None.

LateFee

decimal number

None.

JoiningDate

date

None.

WorkedDays

integer

None.

HalfDayDeduction

decimal number

None.

HouseRentAllowance

decimal number

None.

Allowance

decimal number

None.

MedicalAllowance

decimal number

None.

PF

decimal number

None.

ESI

decimal number

None.

LateDeduction

decimal number

None.

AbsentDeduction

decimal number

None.

TotalPresent

integer

None.

TotalAbsent

integer

None.

TotalLate

integer

None.

DailyAllowance

decimal number

None.

TotalAllowance

decimal number

None.

TotalDection

decimal number

None.

NetSalary

decimal number

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Status

integer

None.

SaaSid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SalaryId": 1,
  "EmployeeId": 2,
  "EmployeeName": "sample string 3",
  "AbsentAllowExcessAmt": 4.0,
  "BaseSalary": 5.0,
  "AbsentFeeAllow": 6,
  "LateFeeAllow": 7,
  "AbsentFee": 8.0,
  "LateFee": 9.0,
  "JoiningDate": "2026-09-16T00:45:20.1149483+05:30",
  "WorkedDays": 11,
  "HalfDayDeduction": 12.0,
  "HouseRentAllowance": 13.0,
  "Allowance": 14.0,
  "MedicalAllowance": 15.0,
  "PF": 16.0,
  "ESI": 17.0,
  "LateDeduction": 18.0,
  "AbsentDeduction": 19.0,
  "TotalPresent": 20,
  "TotalAbsent": 21,
  "TotalLate": 22,
  "DailyAllowance": 23.0,
  "TotalAllowance": 24.0,
  "TotalDection": 25.0,
  "NetSalary": 26.0,
  "CreatedBy": "sample string 27",
  "CreatedDate": "2026-09-16T00:45:20.1156845+05:30",
  "UpdatedBy": "sample string 29",
  "UpdatedDate": "2026-09-16T00:45:20.1156845+05:30",
  "Status": 31,
  "SaaSid": "sample string 32"
}

application/xml, text/xml

Sample:
<SalaryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSPRO.BusinessModel">
  <AbsentAllowExcessAmt>4</AbsentAllowExcessAmt>
  <AbsentDeduction>19</AbsentDeduction>
  <AbsentFee>8</AbsentFee>
  <AbsentFeeAllow>6</AbsentFeeAllow>
  <Allowance>14</Allowance>
  <BaseSalary>5</BaseSalary>
  <CreatedBy>sample string 27</CreatedBy>
  <CreatedDate>2026-09-16T00:45:20.1156845+05:30</CreatedDate>
  <DailyAllowance>23</DailyAllowance>
  <ESI>17</ESI>
  <EmployeeId>2</EmployeeId>
  <EmployeeName>sample string 3</EmployeeName>
  <HalfDayDeduction>12</HalfDayDeduction>
  <HouseRentAllowance>13</HouseRentAllowance>
  <JoiningDate>2026-09-16T00:45:20.1149483+05:30</JoiningDate>
  <LateDeduction>18</LateDeduction>
  <LateFee>9</LateFee>
  <LateFeeAllow>7</LateFeeAllow>
  <MedicalAllowance>15</MedicalAllowance>
  <NetSalary>26</NetSalary>
  <PF>16</PF>
  <SaaSid>sample string 32</SaaSid>
  <SalaryId>1</SalaryId>
  <Status>31</Status>
  <TotalAbsent>21</TotalAbsent>
  <TotalAllowance>24</TotalAllowance>
  <TotalDection>25</TotalDection>
  <TotalLate>22</TotalLate>
  <TotalPresent>20</TotalPresent>
  <UpdatedBy>sample string 29</UpdatedBy>
  <UpdatedDate>2026-09-16T00:45:20.1156845+05:30</UpdatedDate>
  <WorkedDays>11</WorkedDays>
</SalaryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>