POST api/GetLeaveType
Request Information
URI Parameters
None.
Body Parameters
GetLeaveTypeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| InnovId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"InnovId": 1
}
application/xml, text/xml
Sample:
<GetLeaveTypeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models"> <InnovId>1</InnovId> </GetLeaveTypeInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetLeaveTypeList| Name | Description | Type | Additional information |
|---|---|---|---|
| LstAttnRegularizationType | Collection of GetLeaveTypeModel |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LstAttnRegularizationType": [
{
"RegularizationTypeID": 1,
"RegularizationType": "sample string 2"
},
{
"RegularizationTypeID": 1,
"RegularizationType": "sample string 2"
}
],
"Status": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GetLeaveTypeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
<LstAttnRegularizationType>
<GetLeaveTypeModel>
<RegularizationType>sample string 2</RegularizationType>
<RegularizationTypeID>1</RegularizationTypeID>
</GetLeaveTypeModel>
<GetLeaveTypeModel>
<RegularizationType>sample string 2</RegularizationType>
<RegularizationTypeID>1</RegularizationTypeID>
</GetLeaveTypeModel>
</LstAttnRegularizationType>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
</GetLeaveTypeList>