POST api/Leave/PostLeaveCreditsEdit
Request Information
URI Parameters
None.
Body Parameters
LeaveCreditViewModelName | Description | Type | Additional information |
---|---|---|---|
NoofDays | decimal number |
None. |
|
IsDaysorHours | integer |
None. |
|
IsDaysorHoursText | string |
None. |
|
PersonId | integer |
None. |
|
LeaveTypeId | integer |
None. |
|
ModifiedNoofDays | integer |
None. |
|
Reason | string |
None. |
|
ApplicableYear | integer |
None. |
|
LogginEmployeeID | integer |
None. |
|
EmployeeID | integer |
None. |
|
Leavecredits | decimal number |
None. |
|
SendMailIND | boolean |
None. |
|
ServiceAnniversaryIND | boolean |
None. |
|
Comments | string |
None. |
|
LeaveCreditId | integer |
None. |
|
DocumentPath | string |
None. |
|
DocumentName | string |
None. |
|
MaximumEntitledLeaveIncrement | decimal number |
None. |
|
MaximumEntitledLeaveDecrement | decimal number |
None. |
|
BalanceLeaves | decimal number |
None. |
|
EmployeesStatus | string |
None. |
|
EmployeeClass | string |
None. |
|
WorkLocationId | integer |
None. |
|
DateOfJoining | string |
None. |
|
CreditDT | date |
None. |
|
DocumentPathExist | boolean |
None. |
|
TotalDays | decimal number |
None. |
|
Action | string |
None. |
|
DateofJoin | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "NoofDays": 1.0, "IsDaysorHours": 1, "IsDaysorHoursText": "sample string 2", "PersonId": 3, "LeaveTypeId": 4, "ModifiedNoofDays": 5, "Reason": "sample string 6", "ApplicableYear": 7, "LogginEmployeeID": 8, "EmployeeID": 9, "Leavecredits": 10.0, "SendMailIND": true, "ServiceAnniversaryIND": true, "Comments": "sample string 13", "LeaveCreditId": 14, "DocumentPath": "sample string 15", "DocumentName": "sample string 16", "MaximumEntitledLeaveIncrement": 17.0, "MaximumEntitledLeaveDecrement": 18.0, "BalanceLeaves": 19.0, "EmployeesStatus": "sample string 20", "EmployeeClass": "sample string 21", "WorkLocationId": 22, "DateOfJoining": "sample string 23", "CreditDT": "2025-04-04T23:55:45.7550167+05:30", "DocumentPathExist": true, "TotalDays": 26.0, "Action": "sample string 27", "DateofJoin": "2025-04-04T23:55:45.7550167+05:30" }
application/xml, text/xml
Sample:
<LeaveCreditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Leave"> <Action>sample string 27</Action> <ApplicableYear>7</ApplicableYear> <BalanceLeaves>19</BalanceLeaves> <Comments>sample string 13</Comments> <CreditDT>2025-04-04T23:55:45.7550167+05:30</CreditDT> <DateOfJoining>sample string 23</DateOfJoining> <DateofJoin>2025-04-04T23:55:45.7550167+05:30</DateofJoin> <DocumentName>sample string 16</DocumentName> <DocumentPath>sample string 15</DocumentPath> <DocumentPathExist>true</DocumentPathExist> <EmployeeClass>sample string 21</EmployeeClass> <EmployeeID>9</EmployeeID> <EmployeesStatus>sample string 20</EmployeesStatus> <IsDaysorHours>1</IsDaysorHours> <IsDaysorHoursText>sample string 2</IsDaysorHoursText> <LeaveCreditId>14</LeaveCreditId> <LeaveTypeId>4</LeaveTypeId> <Leavecredits>10</Leavecredits> <LogginEmployeeID>8</LogginEmployeeID> <MaximumEntitledLeaveDecrement>18</MaximumEntitledLeaveDecrement> <MaximumEntitledLeaveIncrement>17</MaximumEntitledLeaveIncrement> <ModifiedNoofDays>5</ModifiedNoofDays> <NoofDays>1</NoofDays> <PersonId>3</PersonId> <Reason>sample string 6</Reason> <SendMailIND>true</SendMailIND> <ServiceAnniversaryIND>true</ServiceAnniversaryIND> <TotalDays>26</TotalDays> <WorkLocationId>22</WorkLocationId> </LeaveCreditViewModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.