POST api/PayrollDetails6_Leave/AddPayrollDetails6_Leave
Request Information
URI Parameters
None.
Body Parameters
PayrollDetails6_Leave| Name | Description | Type | Additional information |
|---|---|---|---|
| LeaveDetailsId | integer |
None. |
|
| LeaveMasterId | integer |
None. |
|
| LeaveDate | string |
None. |
|
| IsDeduction | string |
None. |
|
| AdmissionMasterId | integer |
None. |
|
| TotalLeaveCount | integer |
None. |
|
| ForTheMonth | integer |
None. |
|
| ForTheYear | integer |
None. |
|
| MyLeaveId | integer |
None. |
|
| LeaveTypeId | integer |
None. |
|
| MyLeaveCount | integer |
None. |
|
| MyLeaveValidFromDate | string |
None. |
|
| MyLeaveValidToDate | 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:
{
"LeaveDetailsId": 1,
"LeaveMasterId": 2,
"LeaveDate": "sample string 3",
"IsDeduction": "sample string 4",
"AdmissionMasterId": 5,
"TotalLeaveCount": 6,
"ForTheMonth": 7,
"ForTheYear": 8,
"MyLeaveId": 9,
"LeaveTypeId": 10,
"MyLeaveCount": 11,
"MyLeaveValidFromDate": "sample string 12",
"MyLeaveValidToDate": "sample string 13",
"IsActive": 14,
"CreatedBy": 15,
"CreatedDate": "sample string 16",
"CreatedTime": "sample string 17",
"MachineIP": "sample string 18",
"Notes": "sample string 19",
"OperationType": "sample string 20"
}
application/xml, text/xml
Sample:
<PayrollDetails6_Leave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models"> <AdmissionMasterId>5</AdmissionMasterId> <CreatedBy>15</CreatedBy> <CreatedDate>sample string 16</CreatedDate> <CreatedTime>sample string 17</CreatedTime> <ForTheMonth>7</ForTheMonth> <ForTheYear>8</ForTheYear> <IsActive>14</IsActive> <IsDeduction>sample string 4</IsDeduction> <LeaveDate>sample string 3</LeaveDate> <LeaveDetailsId>1</LeaveDetailsId> <LeaveMasterId>2</LeaveMasterId> <LeaveTypeId>10</LeaveTypeId> <MachineIP>sample string 18</MachineIP> <MyLeaveCount>11</MyLeaveCount> <MyLeaveId>9</MyLeaveId> <MyLeaveValidFromDate>sample string 12</MyLeaveValidFromDate> <MyLeaveValidToDate>sample string 13</MyLeaveValidToDate> <Notes>sample string 19</Notes> <OperationType>sample string 20</OperationType> <TotalLeaveCount>6</TotalLeaveCount> </PayrollDetails6_Leave>
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. |