GET api/Leave/{id}
returns a specific leave request of the user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of leave request |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LeaveRequestName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ExtraCodeID | integer |
None. |
|
ExtraCodeName | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Comment | string |
None. |
|
LeavePeriodID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "ExtraCodeID": 2, "ExtraCodeName": "sample string 3", "StartDate": "2024-12-22T08:30:38.0129962+01:00", "EndDate": "2024-12-22T08:30:38.0129962+01:00", "Comment": "sample string 6", "LeavePeriodID": 7 }
application/xml, text/xml
Sample:
<LeaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models"> <Comment>sample string 6</Comment> <EndDate>2024-12-22T08:30:38.0129962+01:00</EndDate> <ExtraCodeID>2</ExtraCodeID> <ExtraCodeName>sample string 3</ExtraCodeName> <ID>1</ID> <LeavePeriodID>7</LeavePeriodID> <StartDate>2024-12-22T08:30:38.0129962+01:00</StartDate> </LeaveRequest>