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": "f26146b4-6fc0-4304-bafb-d570fc193c1a", "Start": "2025-04-04T02:39:13.9977443+02:00", "End": "2025-04-04T02:39:13.9977443+02:00", "IsAllDayReservation": true, "AircraftId": "d442039c-d3ff-442f-8fbc-0bd37f6ac5ad", "PilotPersonId": "8ce302de-9f76-4920-b4f2-8c5c209270d5", "LocationId": "11888024-8337-4d78-8b9b-acfc6060e754", "SecondCrewPersonId": "3a13d8f3-3e7c-4553-a49b-e7aee9a5fb0d", "ReservationTypeId": "2b80af8c-49c2-42d8-806f-547e738bd140", "Remarks": "sample string 9", "Id": "f26146b4-6fc0-4304-bafb-d570fc193c1a", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"f26146b4-6fc0-4304-bafb-d570fc193c1a","Start":"2025-04-04T02:39:13.9977443+02:00","End":"2025-04-04T02:39:13.9977443+02:00","IsAllDayReservation":true,"AircraftId":"d442039c-d3ff-442f-8fbc-0bd37f6ac5ad","PilotPersonId":"8ce302de-9f76-4920-b4f2-8c5c209270d5","LocationId":"11888024-8337-4d78-8b9b-acfc6060e754","SecondCrewPersonId":"3a13d8f3-3e7c-4553-a49b-e7aee9a5fb0d","ReservationTypeId":"2b80af8c-49c2-42d8-806f-547e738bd140","Remarks":"sample string 9","Id":"f26146b4-6fc0-4304-bafb-d570fc193c1a","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">f26146b4-6fc0-4304-bafb-d570fc193c1a</Id> <AircraftId>d442039c-d3ff-442f-8fbc-0bd37f6ac5ad</AircraftId> <AircraftReservationId>f26146b4-6fc0-4304-bafb-d570fc193c1a</AircraftReservationId> <End>2025-04-04T02:39:13.9977443+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>11888024-8337-4d78-8b9b-acfc6060e754</LocationId> <PilotPersonId>8ce302de-9f76-4920-b4f2-8c5c209270d5</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>2b80af8c-49c2-42d8-806f-547e738bd140</ReservationTypeId> <SecondCrewPersonId>3a13d8f3-3e7c-4553-a49b-e7aee9a5fb0d</SecondCrewPersonId> <Start>2025-04-04T02:39:13.9977443+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": "8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd", "Start": "2025-04-04T02:39:13.9977443+02:00", "End": "2025-04-04T02:39:13.9977443+02:00", "IsAllDayReservation": true, "AircraftId": "8c6357c0-b8e7-4e29-a30e-f0b744dc8366", "PilotPersonId": "dc1339d9-6d28-4f28-a31c-4651ea81c790", "LocationId": "5e3d8fc6-82f3-46fc-becb-c7303033a1ee", "SecondCrewPersonId": "a887e876-6b9b-4659-8f29-f622e9c74543", "ReservationTypeId": "a473e628-b20b-48cc-a016-aa5a808f3d1b", "Remarks": "sample string 9", "Id": "8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd","Start":"2025-04-04T02:39:13.9977443+02:00","End":"2025-04-04T02:39:13.9977443+02:00","IsAllDayReservation":true,"AircraftId":"8c6357c0-b8e7-4e29-a30e-f0b744dc8366","PilotPersonId":"dc1339d9-6d28-4f28-a31c-4651ea81c790","LocationId":"5e3d8fc6-82f3-46fc-becb-c7303033a1ee","SecondCrewPersonId":"a887e876-6b9b-4659-8f29-f622e9c74543","ReservationTypeId":"a473e628-b20b-48cc-a016-aa5a808f3d1b","Remarks":"sample string 9","Id":"8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd","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">8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd</Id> <AircraftId>8c6357c0-b8e7-4e29-a30e-f0b744dc8366</AircraftId> <AircraftReservationId>8dbe7209-fd9b-4cbb-84fc-9df92a9b5fbd</AircraftReservationId> <End>2025-04-04T02:39:13.9977443+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>5e3d8fc6-82f3-46fc-becb-c7303033a1ee</LocationId> <PilotPersonId>dc1339d9-6d28-4f28-a31c-4651ea81c790</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>a473e628-b20b-48cc-a016-aa5a808f3d1b</ReservationTypeId> <SecondCrewPersonId>a887e876-6b9b-4659-8f29-f622e9c74543</SecondCrewPersonId> <Start>2025-04-04T02:39:13.9977443+02:00</Start> </AircraftReservationDetails>