GET Api/Availabilities/{id}
Wyszukuje object Availability po jego identyfikatorze
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
unikalny identyfikator obiektu |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
obiekt Availability posiadajÄ…cy wybrany identyfikator
AvailabilityDtoName | Description | Type | Additional information |
---|---|---|---|
AvailabilityId | integer |
Required |
|
ProfileId | string |
Required |
|
SelectedDate | date |
Required |
|
Hours | string |
Required |
|
LeaveRequestId | integer |
None. |
|
HomeOfficeRequestId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "availabilityId": 1, "profileId": "sample string 2", "selectedDate": "2024-05-18T08:21:02.8632847+00:00", "hours": "sample string 4", "leaveRequestId": 1, "homeOfficeRequestId": 1 }
multipart/form-data
Sample:
{"availabilityId":1,"profileId":"sample string 2","selectedDate":"2024-05-18T08:21:02.8632847+00:00","hours":"sample string 4","leaveRequestId":1,"homeOfficeRequestId":1}
application/xml, text/xml
Sample:
<AvailabilityDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AvailabilityId>1</AvailabilityId> <ProfileId>sample string 2</ProfileId> <SelectedDate /> <Hours>sample string 4</Hours> <LeaveRequestId>1</LeaveRequestId> <HomeOfficeRequestId>1</HomeOfficeRequestId> </AvailabilityDto>