GET api/v1/aircraftreservations/{aircraftReservationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
aircraftReservationId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
AircraftReservationDetailsName | Description | Type | Additional information |
---|---|---|---|
AircraftReservationId | globally unique identifier |
None. |
|
Start | date |
Required |
|
End | date |
Required |
|
IsAllDayReservation | boolean |
Required |
|
AircraftId | globally unique identifier |
Required |
|
PilotPersonId | globally unique identifier |
Required |
|
LocationId | globally unique identifier |
Required |
|
SecondCrewPersonId | globally unique identifier |
None. |
|
ReservationTypeId | globally unique identifier |
Required |
|
Remarks | string |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "AircraftReservationId": "17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4", "Start": "2024-11-21T09:32:27.1003208+01:00", "End": "2024-11-21T09:32:27.1003208+01:00", "IsAllDayReservation": true, "AircraftId": "791827ad-dc22-4ea8-9626-2597cc623c2f", "PilotPersonId": "5764f970-b287-4a67-9ea1-ebdf9bf0a1f3", "LocationId": "94b4ffa9-7774-4c66-acd5-f33f595a6f19", "SecondCrewPersonId": "3bf14155-d7be-4d81-9978-b33cb374bc9c", "ReservationTypeId": "aa706ced-af70-4f01-b1c2-9d6f5102c9c9", "Remarks": "sample string 9", "Id": "17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4","Start":"2024-11-21T09:32:27.1003208+01:00","End":"2024-11-21T09:32:27.1003208+01:00","IsAllDayReservation":true,"AircraftId":"791827ad-dc22-4ea8-9626-2597cc623c2f","PilotPersonId":"5764f970-b287-4a67-9ea1-ebdf9bf0a1f3","LocationId":"94b4ffa9-7774-4c66-acd5-f33f595a6f19","SecondCrewPersonId":"3bf14155-d7be-4d81-9978-b33cb374bc9c","ReservationTypeId":"aa706ced-af70-4f01-b1c2-9d6f5102c9c9","Remarks":"sample string 9","Id":"17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<AircraftReservationDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.AircraftReservation"> <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord> <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord> <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4</Id> <AircraftId>791827ad-dc22-4ea8-9626-2597cc623c2f</AircraftId> <AircraftReservationId>17048e71-7eb3-4e37-aa2f-4b9ebacf5bc4</AircraftReservationId> <End>2024-11-21T09:32:27.1003208+01:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>94b4ffa9-7774-4c66-acd5-f33f595a6f19</LocationId> <PilotPersonId>5764f970-b287-4a67-9ea1-ebdf9bf0a1f3</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>aa706ced-af70-4f01-b1c2-9d6f5102c9c9</ReservationTypeId> <SecondCrewPersonId>3bf14155-d7be-4d81-9978-b33cb374bc9c</SecondCrewPersonId> <Start>2024-11-21T09:32:27.1003208+01:00</Start> </AircraftReservationDetails>