POST api/Payroll/InsertPayroll?companyid={companyid}&fromdate={fromdate}&todate={todate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyid | integer |
Required |
|
| fromdate | date |
Required |
|
| todate | date |
Required |
Body Parameters
Collection of clInsertPayroll| Name | Description | Type | Additional information |
|---|---|---|---|
| salesexecutiveid | integer |
None. |
|
| salesexecutivename | string |
None. |
|
| totalworkingdaysmonth | decimal number |
None. |
|
| totalnoofworkingdays | decimal number |
None. |
|
| totalnoofworkinghours | decimal number |
None. |
|
| grosssalary | decimal number |
None. |
|
| lossofpay | decimal number |
None. |
|
| deduction | decimal number |
None. |
|
| pfamount | decimal number |
None. |
|
| esiamount | decimal number |
None. |
|
| netsalary | decimal number |
None. |
|
| fromdate | date |
None. |
|
| todate | date |
None. |
|
| totalnoofworkingdaymonth | decimal number |
None. |
|
| totalnoofworkingdayhours | decimal number |
None. |
|
| basicsalary | decimal number |
None. |
|
| tdspercentage | decimal number |
None. |
|
| dapercentage | decimal number |
None. |
|
| hrapercentage | decimal number |
None. |
|
| conveyancepercentage | decimal number |
None. |
|
| wapercentage | decimal number |
None. |
|
| ccapercentage | decimal number |
None. |
|
| bonuspercentage | decimal number |
None. |
|
| gratuitypercentage | decimal number |
None. |
|
| tdsamount | decimal number |
None. |
|
| daamount | decimal number |
None. |
|
| hraamount | decimal number |
None. |
|
| conveyanceamount | decimal number |
None. |
|
| waamount | decimal number |
None. |
|
| Allowance | decimal number |
None. |
|
| bonusamount | decimal number |
None. |
|
| gratuityamount | decimal number |
None. |
|
| proffessiontax | decimal number |
None. |
|
| Allowancepercentage | decimal number |
None. |
|
| pfperyesno | string |
None. |
|
| Allowanceyesno | string |
None. |
|
| tdsperperyesno | string |
None. |
|
| esiperyesno | string |
None. |
|
| daperyesno | string |
None. |
|
| hraperyesno | string |
None. |
|
| convperyesno | string |
None. |
|
| waperyesno | string |
None. |
|
| ccaperyesno | string |
None. |
|
| bonusperyesno | string |
None. |
|
| gratuityperyesno | string |
None. |
|
| rent | decimal number |
None. |
|
| advance | decimal number |
None. |
|
| esipercentage | decimal number |
None. |
|
| pfpercentage | decimal number |
None. |
|
| createdby | string |
None. |
|
| createddatetime | date |
None. |
|
| modifieddatetime | date |
None. |
|
| modifiedby | string |
None. |
|
| otamount | decimal number |
None. |
|
| ptamount | decimal number |
None. |
|
| ptaxyesno | string |
None. |
|
| ptaxpercentage | decimal number |
None. |
|
| employerpfpercentage | decimal number |
None. |
|
| employeresipercentage | decimal number |
None. |
|
| welfarepercentage | decimal number |
None. |
|
| employerpfperyesno | string |
None. |
|
| employeresiyesno | string |
None. |
|
| welfareperyesno | string |
None. |
|
| employerpf | decimal number |
None. |
|
| employeresi | decimal number |
None. |
|
| welfare | decimal number |
None. |
|
| salesexecutiveid1 | integer |
None. |
|
| arrears | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"salesexecutiveid": 1,
"salesexecutivename": "sample string 2",
"totalworkingdaysmonth": 1.0,
"totalnoofworkingdays": 1.0,
"totalnoofworkinghours": 1.0,
"grosssalary": 1.0,
"lossofpay": 1.0,
"deduction": 1.0,
"pfamount": 1.0,
"esiamount": 1.0,
"netsalary": 1.0,
"fromdate": "2026-02-06T21:34:51.5340507+00:00",
"todate": "2026-02-06T21:34:51.5340507+00:00",
"totalnoofworkingdaymonth": 1.0,
"totalnoofworkingdayhours": 1.0,
"basicsalary": 1.0,
"tdspercentage": 1.0,
"dapercentage": 1.0,
"hrapercentage": 1.0,
"conveyancepercentage": 1.0,
"wapercentage": 1.0,
"ccapercentage": 1.0,
"bonuspercentage": 1.0,
"gratuitypercentage": 1.0,
"tdsamount": 1.0,
"daamount": 1.0,
"hraamount": 1.0,
"conveyanceamount": 1.0,
"waamount": 1.0,
"Allowance": 1.0,
"bonusamount": 1.0,
"gratuityamount": 1.0,
"proffessiontax": 1.0,
"Allowancepercentage": 1.0,
"pfperyesno": "sample string 5",
"Allowanceyesno": "sample string 6",
"tdsperperyesno": "sample string 7",
"esiperyesno": "sample string 8",
"daperyesno": "sample string 9",
"hraperyesno": "sample string 10",
"convperyesno": "sample string 11",
"waperyesno": "sample string 12",
"ccaperyesno": "sample string 13",
"bonusperyesno": "sample string 14",
"gratuityperyesno": "sample string 15",
"rent": 1.0,
"advance": 1.0,
"esipercentage": 1.0,
"pfpercentage": 1.0,
"createdby": "sample string 16",
"createddatetime": "2026-02-06T21:34:51.535196+00:00",
"modifieddatetime": "2026-02-06T21:34:51.535196+00:00",
"modifiedby": "sample string 17",
"otamount": 1.0,
"ptamount": 1.0,
"ptaxyesno": "sample string 18",
"ptaxpercentage": 1.0,
"employerpfpercentage": 1.0,
"employeresipercentage": 1.0,
"welfarepercentage": 1.0,
"employerpfperyesno": "sample string 19",
"employeresiyesno": "sample string 20",
"welfareperyesno": "sample string 21",
"employerpf": 1.0,
"employeresi": 1.0,
"welfare": 1.0,
"salesexecutiveid1": 22,
"arrears": 1.0
},
{
"salesexecutiveid": 1,
"salesexecutivename": "sample string 2",
"totalworkingdaysmonth": 1.0,
"totalnoofworkingdays": 1.0,
"totalnoofworkinghours": 1.0,
"grosssalary": 1.0,
"lossofpay": 1.0,
"deduction": 1.0,
"pfamount": 1.0,
"esiamount": 1.0,
"netsalary": 1.0,
"fromdate": "2026-02-06T21:34:51.5340507+00:00",
"todate": "2026-02-06T21:34:51.5340507+00:00",
"totalnoofworkingdaymonth": 1.0,
"totalnoofworkingdayhours": 1.0,
"basicsalary": 1.0,
"tdspercentage": 1.0,
"dapercentage": 1.0,
"hrapercentage": 1.0,
"conveyancepercentage": 1.0,
"wapercentage": 1.0,
"ccapercentage": 1.0,
"bonuspercentage": 1.0,
"gratuitypercentage": 1.0,
"tdsamount": 1.0,
"daamount": 1.0,
"hraamount": 1.0,
"conveyanceamount": 1.0,
"waamount": 1.0,
"Allowance": 1.0,
"bonusamount": 1.0,
"gratuityamount": 1.0,
"proffessiontax": 1.0,
"Allowancepercentage": 1.0,
"pfperyesno": "sample string 5",
"Allowanceyesno": "sample string 6",
"tdsperperyesno": "sample string 7",
"esiperyesno": "sample string 8",
"daperyesno": "sample string 9",
"hraperyesno": "sample string 10",
"convperyesno": "sample string 11",
"waperyesno": "sample string 12",
"ccaperyesno": "sample string 13",
"bonusperyesno": "sample string 14",
"gratuityperyesno": "sample string 15",
"rent": 1.0,
"advance": 1.0,
"esipercentage": 1.0,
"pfpercentage": 1.0,
"createdby": "sample string 16",
"createddatetime": "2026-02-06T21:34:51.535196+00:00",
"modifieddatetime": "2026-02-06T21:34:51.535196+00:00",
"modifiedby": "sample string 17",
"otamount": 1.0,
"ptamount": 1.0,
"ptaxyesno": "sample string 18",
"ptaxpercentage": 1.0,
"employerpfpercentage": 1.0,
"employeresipercentage": 1.0,
"welfarepercentage": 1.0,
"employerpfperyesno": "sample string 19",
"employeresiyesno": "sample string 20",
"welfareperyesno": "sample string 21",
"employerpf": 1.0,
"employeresi": 1.0,
"welfare": 1.0,
"salesexecutiveid1": 22,
"arrears": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfclInsertPayroll xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GroundITMainDealerAPI.Controllers">
<clInsertPayroll>
<Allowance>1</Allowance>
<Allowancepercentage>1</Allowancepercentage>
<Allowanceyesno>sample string 6</Allowanceyesno>
<advance>1</advance>
<arrears>1</arrears>
<basicsalary>1</basicsalary>
<bonusamount>1</bonusamount>
<bonuspercentage>1</bonuspercentage>
<bonusperyesno>sample string 14</bonusperyesno>
<ccapercentage>1</ccapercentage>
<ccaperyesno>sample string 13</ccaperyesno>
<conveyanceamount>1</conveyanceamount>
<conveyancepercentage>1</conveyancepercentage>
<convperyesno>sample string 11</convperyesno>
<createdby>sample string 16</createdby>
<createddatetime>2026-02-06T21:34:51.535196+00:00</createddatetime>
<daamount>1</daamount>
<dapercentage>1</dapercentage>
<daperyesno>sample string 9</daperyesno>
<deduction>1</deduction>
<employeresi>1</employeresi>
<employeresipercentage>1</employeresipercentage>
<employeresiyesno>sample string 20</employeresiyesno>
<employerpf>1</employerpf>
<employerpfpercentage>1</employerpfpercentage>
<employerpfperyesno>sample string 19</employerpfperyesno>
<esiamount>1</esiamount>
<esipercentage>1</esipercentage>
<esiperyesno>sample string 8</esiperyesno>
<fromdate>2026-02-06T21:34:51.5340507+00:00</fromdate>
<gratuityamount>1</gratuityamount>
<gratuitypercentage>1</gratuitypercentage>
<gratuityperyesno>sample string 15</gratuityperyesno>
<grosssalary>1</grosssalary>
<hraamount>1</hraamount>
<hrapercentage>1</hrapercentage>
<hraperyesno>sample string 10</hraperyesno>
<lossofpay>1</lossofpay>
<modifiedby>sample string 17</modifiedby>
<modifieddatetime>2026-02-06T21:34:51.535196+00:00</modifieddatetime>
<netsalary>1</netsalary>
<otamount>1</otamount>
<pfamount>1</pfamount>
<pfpercentage>1</pfpercentage>
<pfperyesno>sample string 5</pfperyesno>
<proffessiontax>1</proffessiontax>
<ptamount>1</ptamount>
<ptaxpercentage>1</ptaxpercentage>
<ptaxyesno>sample string 18</ptaxyesno>
<rent>1</rent>
<salesexecutiveid>1</salesexecutiveid>
<salesexecutiveid1>22</salesexecutiveid1>
<salesexecutivename>sample string 2</salesexecutivename>
<tdsamount>1</tdsamount>
<tdspercentage>1</tdspercentage>
<tdsperperyesno>sample string 7</tdsperperyesno>
<todate>2026-02-06T21:34:51.5340507+00:00</todate>
<totalnoofworkingdayhours>1</totalnoofworkingdayhours>
<totalnoofworkingdaymonth>1</totalnoofworkingdaymonth>
<totalnoofworkingdays>1</totalnoofworkingdays>
<totalnoofworkinghours>1</totalnoofworkinghours>
<totalworkingdaysmonth>1</totalworkingdaysmonth>
<waamount>1</waamount>
<wapercentage>1</wapercentage>
<waperyesno>sample string 12</waperyesno>
<welfare>1</welfare>
<welfarepercentage>1</welfarepercentage>
<welfareperyesno>sample string 21</welfareperyesno>
</clInsertPayroll>
<clInsertPayroll>
<Allowance>1</Allowance>
<Allowancepercentage>1</Allowancepercentage>
<Allowanceyesno>sample string 6</Allowanceyesno>
<advance>1</advance>
<arrears>1</arrears>
<basicsalary>1</basicsalary>
<bonusamount>1</bonusamount>
<bonuspercentage>1</bonuspercentage>
<bonusperyesno>sample string 14</bonusperyesno>
<ccapercentage>1</ccapercentage>
<ccaperyesno>sample string 13</ccaperyesno>
<conveyanceamount>1</conveyanceamount>
<conveyancepercentage>1</conveyancepercentage>
<convperyesno>sample string 11</convperyesno>
<createdby>sample string 16</createdby>
<createddatetime>2026-02-06T21:34:51.535196+00:00</createddatetime>
<daamount>1</daamount>
<dapercentage>1</dapercentage>
<daperyesno>sample string 9</daperyesno>
<deduction>1</deduction>
<employeresi>1</employeresi>
<employeresipercentage>1</employeresipercentage>
<employeresiyesno>sample string 20</employeresiyesno>
<employerpf>1</employerpf>
<employerpfpercentage>1</employerpfpercentage>
<employerpfperyesno>sample string 19</employerpfperyesno>
<esiamount>1</esiamount>
<esipercentage>1</esipercentage>
<esiperyesno>sample string 8</esiperyesno>
<fromdate>2026-02-06T21:34:51.5340507+00:00</fromdate>
<gratuityamount>1</gratuityamount>
<gratuitypercentage>1</gratuitypercentage>
<gratuityperyesno>sample string 15</gratuityperyesno>
<grosssalary>1</grosssalary>
<hraamount>1</hraamount>
<hrapercentage>1</hrapercentage>
<hraperyesno>sample string 10</hraperyesno>
<lossofpay>1</lossofpay>
<modifiedby>sample string 17</modifiedby>
<modifieddatetime>2026-02-06T21:34:51.535196+00:00</modifieddatetime>
<netsalary>1</netsalary>
<otamount>1</otamount>
<pfamount>1</pfamount>
<pfpercentage>1</pfpercentage>
<pfperyesno>sample string 5</pfperyesno>
<proffessiontax>1</proffessiontax>
<ptamount>1</ptamount>
<ptaxpercentage>1</ptaxpercentage>
<ptaxyesno>sample string 18</ptaxyesno>
<rent>1</rent>
<salesexecutiveid>1</salesexecutiveid>
<salesexecutiveid1>22</salesexecutiveid1>
<salesexecutivename>sample string 2</salesexecutivename>
<tdsamount>1</tdsamount>
<tdspercentage>1</tdspercentage>
<tdsperperyesno>sample string 7</tdsperperyesno>
<todate>2026-02-06T21:34:51.5340507+00:00</todate>
<totalnoofworkingdayhours>1</totalnoofworkingdayhours>
<totalnoofworkingdaymonth>1</totalnoofworkingdaymonth>
<totalnoofworkingdays>1</totalnoofworkingdays>
<totalnoofworkinghours>1</totalnoofworkinghours>
<totalworkingdaysmonth>1</totalworkingdaysmonth>
<waamount>1</waamount>
<wapercentage>1</wapercentage>
<waperyesno>sample string 12</waperyesno>
<welfare>1</welfare>
<welfarepercentage>1</welfarepercentage>
<welfareperyesno>sample string 21</welfareperyesno>
</clInsertPayroll>
</ArrayOfclInsertPayroll>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.