GET api/Leave/Period/{id}
Returns leave period
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LeavePeriodName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Message | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
StartPlanningDate | date |
None. |
|
EndPlanningDate | date |
None. |
|
ExtraCodes | Collection of LeaveExtraCode |
None. |
|
FinalExtraCodeID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Message": "sample string 3", "StartDate": "2024-12-22T07:48:52.2563322+01:00", "EndDate": "2024-12-22T07:48:52.2563322+01:00", "StartPlanningDate": "2024-12-22T07:48:52.2563322+01:00", "EndPlanningDate": "2024-12-22T07:48:52.2563322+01:00", "ExtraCodes": [ { "ID": 1, "Name": "sample string 2" }, { "ID": 1, "Name": "sample string 2" } ], "FinalExtraCodeID": 4 }
application/xml, text/xml
Sample:
<LeavePeriod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.WebShared.Models"> <EndDate>2024-12-22T07:48:52.2563322+01:00</EndDate> <EndPlanningDate>2024-12-22T07:48:52.2563322+01:00</EndPlanningDate> <ExtraCodes> <LeaveExtraCode> <ID>1</ID> <Name>sample string 2</Name> </LeaveExtraCode> <LeaveExtraCode> <ID>1</ID> <Name>sample string 2</Name> </LeaveExtraCode> </ExtraCodes> <FinalExtraCodeID>4</FinalExtraCodeID> <ID>1</ID> <Message>sample string 3</Message> <Name>sample string 2</Name> <StartDate>2024-12-22T07:48:52.2563322+01:00</StartDate> <StartPlanningDate>2024-12-22T07:48:52.2563322+01:00</StartPlanningDate> </LeavePeriod>