POST api/v1/aircraftreservations
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "AircraftReservationId": "71b9bfc2-1a11-4dff-96e4-45817776e163", "Start": "2025-08-30T06:45:08.8416657+02:00", "End": "2025-08-30T06:45:08.8416657+02:00", "IsAllDayReservation": true, "AircraftId": "0dcfdca8-1d3f-41ca-8dd2-8fb32cff3e7d", "PilotPersonId": "4b884317-a58a-441c-b550-feefa143a43c", "LocationId": "81c0ba03-c68b-4417-bb56-984bf6a00228", "SecondCrewPersonId": "9faf28e7-1425-40d1-8c04-9c76582a685f", "ReservationTypeId": "edb560e0-a357-4f04-b77f-cb4180347f95", "Remarks": "sample string 9", "Id": "71b9bfc2-1a11-4dff-96e4-45817776e163", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"71b9bfc2-1a11-4dff-96e4-45817776e163","Start":"2025-08-30T06:45:08.8416657+02:00","End":"2025-08-30T06:45:08.8416657+02:00","IsAllDayReservation":true,"AircraftId":"0dcfdca8-1d3f-41ca-8dd2-8fb32cff3e7d","PilotPersonId":"4b884317-a58a-441c-b550-feefa143a43c","LocationId":"81c0ba03-c68b-4417-bb56-984bf6a00228","SecondCrewPersonId":"9faf28e7-1425-40d1-8c04-9c76582a685f","ReservationTypeId":"edb560e0-a357-4f04-b77f-cb4180347f95","Remarks":"sample string 9","Id":"71b9bfc2-1a11-4dff-96e4-45817776e163","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">71b9bfc2-1a11-4dff-96e4-45817776e163</Id> <AircraftId>0dcfdca8-1d3f-41ca-8dd2-8fb32cff3e7d</AircraftId> <AircraftReservationId>71b9bfc2-1a11-4dff-96e4-45817776e163</AircraftReservationId> <End>2025-08-30T06:45:08.8416657+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>81c0ba03-c68b-4417-bb56-984bf6a00228</LocationId> <PilotPersonId>4b884317-a58a-441c-b550-feefa143a43c</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>edb560e0-a357-4f04-b77f-cb4180347f95</ReservationTypeId> <SecondCrewPersonId>9faf28e7-1425-40d1-8c04-9c76582a685f</SecondCrewPersonId> <Start>2025-08-30T06:45:08.8416657+02:00</Start> </AircraftReservationDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "fdec3b31-d012-4604-a273-c7f9624d5816", "Start": "2025-08-30T06:45:08.8416657+02:00", "End": "2025-08-30T06:45:08.8416657+02:00", "IsAllDayReservation": true, "AircraftId": "42879078-e141-4204-82e2-95a91ab88435", "PilotPersonId": "c732bc2f-ed44-4214-ba76-259d956644b9", "LocationId": "10d8eda2-cf09-4a98-85b6-6d540d1ce787", "SecondCrewPersonId": "b430a3a8-ce12-43ad-a36b-c7bb93037cda", "ReservationTypeId": "70d90421-87fc-42a3-9cbc-ed5508a3a5ce", "Remarks": "sample string 9", "Id": "fdec3b31-d012-4604-a273-c7f9624d5816", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"fdec3b31-d012-4604-a273-c7f9624d5816","Start":"2025-08-30T06:45:08.8416657+02:00","End":"2025-08-30T06:45:08.8416657+02:00","IsAllDayReservation":true,"AircraftId":"42879078-e141-4204-82e2-95a91ab88435","PilotPersonId":"c732bc2f-ed44-4214-ba76-259d956644b9","LocationId":"10d8eda2-cf09-4a98-85b6-6d540d1ce787","SecondCrewPersonId":"b430a3a8-ce12-43ad-a36b-c7bb93037cda","ReservationTypeId":"70d90421-87fc-42a3-9cbc-ed5508a3a5ce","Remarks":"sample string 9","Id":"fdec3b31-d012-4604-a273-c7f9624d5816","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">fdec3b31-d012-4604-a273-c7f9624d5816</Id> <AircraftId>42879078-e141-4204-82e2-95a91ab88435</AircraftId> <AircraftReservationId>fdec3b31-d012-4604-a273-c7f9624d5816</AircraftReservationId> <End>2025-08-30T06:45:08.8416657+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>10d8eda2-cf09-4a98-85b6-6d540d1ce787</LocationId> <PilotPersonId>c732bc2f-ed44-4214-ba76-259d956644b9</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>70d90421-87fc-42a3-9cbc-ed5508a3a5ce</ReservationTypeId> <SecondCrewPersonId>b430a3a8-ce12-43ad-a36b-c7bb93037cda</SecondCrewPersonId> <Start>2025-08-30T06:45:08.8416657+02:00</Start> </AircraftReservationDetails>