POST api/PayrollDetails2_Allowances/AddPayrollDetails2_Allowances
Request Information
URI Parameters
None.
Body Parameters
PayrollDetails2_Allowances| Name | Description | Type | Additional information |
|---|---|---|---|
| HeaderAllowanceId | integer |
None. |
|
| AdmissionMasterId | integer |
None. |
|
| HeaderId | integer |
None. |
|
| CalculationId | integer |
None. |
|
| ContributionId | integer |
None. |
|
| DepartmentId | integer |
None. |
|
| DesignationId | integer |
None. |
|
| ServiceId | integer |
None. |
|
| SlabDetailsId | integer |
None. |
|
| AmountPercentage | decimal number |
None. |
|
| HeaderPayId | integer |
None. |
|
| AmountFixed | decimal number |
None. |
|
| HeaderPayAmount | decimal number |
None. |
|
| AmountFinal | decimal number |
None. |
|
| IsDeduction | string |
None. |
|
| IsActive | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | string |
None. |
|
| CreatedTime | string |
None. |
|
| MachineIP | string |
None. |
|
| Notes | string |
None. |
|
| OperationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"HeaderAllowanceId": 1,
"AdmissionMasterId": 2,
"HeaderId": 3,
"CalculationId": 4,
"ContributionId": 5,
"DepartmentId": 6,
"DesignationId": 7,
"ServiceId": 8,
"SlabDetailsId": 9,
"AmountPercentage": 10.1,
"HeaderPayId": 11,
"AmountFixed": 12.1,
"HeaderPayAmount": 13.1,
"AmountFinal": 14.1,
"IsDeduction": "sample string 15",
"IsActive": 16,
"CreatedBy": 17,
"CreatedDate": "sample string 18",
"CreatedTime": "sample string 19",
"MachineIP": "sample string 20",
"Notes": "sample string 21",
"OperationType": "sample string 22"
}
application/xml, text/xml
Sample:
<PayrollDetails2_Allowances xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models"> <AdmissionMasterId>2</AdmissionMasterId> <AmountFinal>14.1</AmountFinal> <AmountFixed>12.1</AmountFixed> <AmountPercentage>10.1</AmountPercentage> <CalculationId>4</CalculationId> <ContributionId>5</ContributionId> <CreatedBy>17</CreatedBy> <CreatedDate>sample string 18</CreatedDate> <CreatedTime>sample string 19</CreatedTime> <DepartmentId>6</DepartmentId> <DesignationId>7</DesignationId> <HeaderAllowanceId>1</HeaderAllowanceId> <HeaderId>3</HeaderId> <HeaderPayAmount>13.1</HeaderPayAmount> <HeaderPayId>11</HeaderPayId> <IsActive>16</IsActive> <IsDeduction>sample string 15</IsDeduction> <MachineIP>sample string 20</MachineIP> <Notes>sample string 21</Notes> <OperationType>sample string 22</OperationType> <ServiceId>8</ServiceId> <SlabDetailsId>9</SlabDetailsId> </PayrollDetails2_Allowances>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |