POST api/LeaveCategory
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objDat | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "LEAVE_CAT_ID": 1, "LEAVE_CAT_NAME": "sample string 2", "RES_STATUS": "sample string 3", "EMP_VISIBLE": true, "PAYROLL_IMPACT": true, "IS_ACCURED": true, "IS_PAID": true, "IS_NEED_ASS_DOCS": true, "IS_INCLUDE_WEEKEND_HOLIDAY": true, "PERIODIC_CYCLE": 1, "GENDER_ID": 1, "IS_LOSS_OF_PAY": true, "TOTAL_LEAVES_PER_PC": 1.0, "MIN_LEAVES_ALLOWED_PER_PC": 1.0, "MAX_LEAVES_ALLOWED_PER_PC": 1.0, "MAX_CONSECUTIVE_LEAVES_PER_PC": 1.0, "IS_CARRY_FORWARD": true, "IS_ENCASHABLE": true, "NO_OF_ACCURED_LEAVES_PER_PC": 1.0, "NO_OF_INSTANCE_PER_PC": 1, "CARRYFORWARD_LEAVE_LIMIT": 1.0, "MIN_ELIGIBLE_MONTHS": 1, "LEAVE_TYPE": "sample string 4", "GENDER_NAME": "sample string 5" }
application/xml, text/xml
Sample:
<LeaveCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource"> <CARRYFORWARD_LEAVE_LIMIT>1</CARRYFORWARD_LEAVE_LIMIT> <EMP_VISIBLE>true</EMP_VISIBLE> <GENDER_ID>1</GENDER_ID> <GENDER_NAME>sample string 5</GENDER_NAME> <IS_ACCURED>true</IS_ACCURED> <IS_CARRY_FORWARD>true</IS_CARRY_FORWARD> <IS_ENCASHABLE>true</IS_ENCASHABLE> <IS_INCLUDE_WEEKEND_HOLIDAY>true</IS_INCLUDE_WEEKEND_HOLIDAY> <IS_LOSS_OF_PAY>true</IS_LOSS_OF_PAY> <IS_NEED_ASS_DOCS>true</IS_NEED_ASS_DOCS> <IS_PAID>true</IS_PAID> <LEAVE_CAT_ID>1</LEAVE_CAT_ID> <LEAVE_CAT_NAME>sample string 2</LEAVE_CAT_NAME> <LEAVE_TYPE>sample string 4</LEAVE_TYPE> <MAX_CONSECUTIVE_LEAVES_PER_PC>1</MAX_CONSECUTIVE_LEAVES_PER_PC> <MAX_LEAVES_ALLOWED_PER_PC>1</MAX_LEAVES_ALLOWED_PER_PC> <MIN_ELIGIBLE_MONTHS>1</MIN_ELIGIBLE_MONTHS> <MIN_LEAVES_ALLOWED_PER_PC>1</MIN_LEAVES_ALLOWED_PER_PC> <NO_OF_ACCURED_LEAVES_PER_PC>1</NO_OF_ACCURED_LEAVES_PER_PC> <NO_OF_INSTANCE_PER_PC>1</NO_OF_INSTANCE_PER_PC> <PAYROLL_IMPACT>true</PAYROLL_IMPACT> <PERIODIC_CYCLE>1</PERIODIC_CYCLE> <RES_STATUS>sample string 3</RES_STATUS> <TOTAL_LEAVES_PER_PC>1</TOTAL_LEAVES_PER_PC> </LeaveCategory>
application/x-www-form-urlencoded
Sample: