PUT api/v1/aircraftreservations/{aircraftReservationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
aircraftReservationId | globally unique identifier |
Required |
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": "5770a35a-92e9-44bf-9b66-987c62dc8bc0", "Start": "2024-11-21T10:12:46.8033424+01:00", "End": "2024-11-21T10:12:46.8033424+01:00", "IsAllDayReservation": true, "AircraftId": "881c484e-0654-4263-a3ef-dda66982d779", "PilotPersonId": "a65a9717-9cac-4d02-8b06-be00a4d93ef6", "LocationId": "652a0f33-1eb3-4d15-8a5c-6192b5e85441", "SecondCrewPersonId": "2572341b-988b-4d55-a382-c21a7f30d9d2", "ReservationTypeId": "ea0e12fe-8312-43f8-8fae-3a5255369600", "Remarks": "sample string 9", "Id": "5770a35a-92e9-44bf-9b66-987c62dc8bc0", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"5770a35a-92e9-44bf-9b66-987c62dc8bc0","Start":"2024-11-21T10:12:46.8033424+01:00","End":"2024-11-21T10:12:46.8033424+01:00","IsAllDayReservation":true,"AircraftId":"881c484e-0654-4263-a3ef-dda66982d779","PilotPersonId":"a65a9717-9cac-4d02-8b06-be00a4d93ef6","LocationId":"652a0f33-1eb3-4d15-8a5c-6192b5e85441","SecondCrewPersonId":"2572341b-988b-4d55-a382-c21a7f30d9d2","ReservationTypeId":"ea0e12fe-8312-43f8-8fae-3a5255369600","Remarks":"sample string 9","Id":"5770a35a-92e9-44bf-9b66-987c62dc8bc0","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">5770a35a-92e9-44bf-9b66-987c62dc8bc0</Id> <AircraftId>881c484e-0654-4263-a3ef-dda66982d779</AircraftId> <AircraftReservationId>5770a35a-92e9-44bf-9b66-987c62dc8bc0</AircraftReservationId> <End>2024-11-21T10:12:46.8033424+01:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>652a0f33-1eb3-4d15-8a5c-6192b5e85441</LocationId> <PilotPersonId>a65a9717-9cac-4d02-8b06-be00a4d93ef6</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>ea0e12fe-8312-43f8-8fae-3a5255369600</ReservationTypeId> <SecondCrewPersonId>2572341b-988b-4d55-a382-c21a7f30d9d2</SecondCrewPersonId> <Start>2024-11-21T10:12:46.8033424+01: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": "71ea0438-0bc9-47e9-acf2-20d11f943d55", "Start": "2024-11-21T10:12:46.8033424+01:00", "End": "2024-11-21T10:12:46.8033424+01:00", "IsAllDayReservation": true, "AircraftId": "2ed70a55-1b1b-4191-a869-4c0e6b261f0a", "PilotPersonId": "9ca9579e-8478-4c5e-8b95-b6095817623a", "LocationId": "dfdfeb7e-508f-4426-96de-08634336da3b", "SecondCrewPersonId": "f901d0c4-5f75-4b40-843b-d4da8824d334", "ReservationTypeId": "f9c8f5bb-d405-4344-93fa-2e01cc721e66", "Remarks": "sample string 9", "Id": "71ea0438-0bc9-47e9-acf2-20d11f943d55", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"71ea0438-0bc9-47e9-acf2-20d11f943d55","Start":"2024-11-21T10:12:46.8033424+01:00","End":"2024-11-21T10:12:46.8033424+01:00","IsAllDayReservation":true,"AircraftId":"2ed70a55-1b1b-4191-a869-4c0e6b261f0a","PilotPersonId":"9ca9579e-8478-4c5e-8b95-b6095817623a","LocationId":"dfdfeb7e-508f-4426-96de-08634336da3b","SecondCrewPersonId":"f901d0c4-5f75-4b40-843b-d4da8824d334","ReservationTypeId":"f9c8f5bb-d405-4344-93fa-2e01cc721e66","Remarks":"sample string 9","Id":"71ea0438-0bc9-47e9-acf2-20d11f943d55","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">71ea0438-0bc9-47e9-acf2-20d11f943d55</Id> <AircraftId>2ed70a55-1b1b-4191-a869-4c0e6b261f0a</AircraftId> <AircraftReservationId>71ea0438-0bc9-47e9-acf2-20d11f943d55</AircraftReservationId> <End>2024-11-21T10:12:46.8033424+01:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>dfdfeb7e-508f-4426-96de-08634336da3b</LocationId> <PilotPersonId>9ca9579e-8478-4c5e-8b95-b6095817623a</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>f9c8f5bb-d405-4344-93fa-2e01cc721e66</ReservationTypeId> <SecondCrewPersonId>f901d0c4-5f75-4b40-843b-d4da8824d334</SecondCrewPersonId> <Start>2024-11-21T10:12:46.8033424+01:00</Start> </AircraftReservationDetails>