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": "bdee0b74-8795-4a71-afea-ca09c167699d", "Start": "2025-04-04T02:45:31.9508695+02:00", "End": "2025-04-04T02:45:31.9508695+02:00", "IsAllDayReservation": true, "AircraftId": "90f228e2-bdf9-43e5-8aac-bf4fd540520a", "PilotPersonId": "5a3114fc-d51f-4079-93ac-fc232660bde6", "LocationId": "b0baf149-d572-43e4-bf89-21ea2e0aac01", "SecondCrewPersonId": "d4001ab6-7dc7-4be3-bae9-2560a6a19d86", "ReservationTypeId": "93ce3800-5a60-4870-b9ac-af6d1664d331", "Remarks": "sample string 9", "Id": "bdee0b74-8795-4a71-afea-ca09c167699d", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"bdee0b74-8795-4a71-afea-ca09c167699d","Start":"2025-04-04T02:45:31.9508695+02:00","End":"2025-04-04T02:45:31.9508695+02:00","IsAllDayReservation":true,"AircraftId":"90f228e2-bdf9-43e5-8aac-bf4fd540520a","PilotPersonId":"5a3114fc-d51f-4079-93ac-fc232660bde6","LocationId":"b0baf149-d572-43e4-bf89-21ea2e0aac01","SecondCrewPersonId":"d4001ab6-7dc7-4be3-bae9-2560a6a19d86","ReservationTypeId":"93ce3800-5a60-4870-b9ac-af6d1664d331","Remarks":"sample string 9","Id":"bdee0b74-8795-4a71-afea-ca09c167699d","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">bdee0b74-8795-4a71-afea-ca09c167699d</Id> <AircraftId>90f228e2-bdf9-43e5-8aac-bf4fd540520a</AircraftId> <AircraftReservationId>bdee0b74-8795-4a71-afea-ca09c167699d</AircraftReservationId> <End>2025-04-04T02:45:31.9508695+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>b0baf149-d572-43e4-bf89-21ea2e0aac01</LocationId> <PilotPersonId>5a3114fc-d51f-4079-93ac-fc232660bde6</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>93ce3800-5a60-4870-b9ac-af6d1664d331</ReservationTypeId> <SecondCrewPersonId>d4001ab6-7dc7-4be3-bae9-2560a6a19d86</SecondCrewPersonId> <Start>2025-04-04T02:45:31.9508695+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": "530b7b67-4977-45e8-a391-fca7334ca63e", "Start": "2025-04-04T02:45:31.9508695+02:00", "End": "2025-04-04T02:45:31.9508695+02:00", "IsAllDayReservation": true, "AircraftId": "360fe2fb-3bda-450f-bdac-bca055146042", "PilotPersonId": "e157f36f-db0c-4f3d-b6eb-bf554b0286e9", "LocationId": "480cf493-bfb8-4bf5-bc28-b6ffe5720cbf", "SecondCrewPersonId": "edfa72df-4615-40d5-95c5-30754024895e", "ReservationTypeId": "c78c14e9-4328-4ba2-9891-e4f030e18fe5", "Remarks": "sample string 9", "Id": "530b7b67-4977-45e8-a391-fca7334ca63e", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"AircraftReservationId":"530b7b67-4977-45e8-a391-fca7334ca63e","Start":"2025-04-04T02:45:31.9508695+02:00","End":"2025-04-04T02:45:31.9508695+02:00","IsAllDayReservation":true,"AircraftId":"360fe2fb-3bda-450f-bdac-bca055146042","PilotPersonId":"e157f36f-db0c-4f3d-b6eb-bf554b0286e9","LocationId":"480cf493-bfb8-4bf5-bc28-b6ffe5720cbf","SecondCrewPersonId":"edfa72df-4615-40d5-95c5-30754024895e","ReservationTypeId":"c78c14e9-4328-4ba2-9891-e4f030e18fe5","Remarks":"sample string 9","Id":"530b7b67-4977-45e8-a391-fca7334ca63e","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">530b7b67-4977-45e8-a391-fca7334ca63e</Id> <AircraftId>360fe2fb-3bda-450f-bdac-bca055146042</AircraftId> <AircraftReservationId>530b7b67-4977-45e8-a391-fca7334ca63e</AircraftReservationId> <End>2025-04-04T02:45:31.9508695+02:00</End> <IsAllDayReservation>true</IsAllDayReservation> <LocationId>480cf493-bfb8-4bf5-bc28-b6ffe5720cbf</LocationId> <PilotPersonId>e157f36f-db0c-4f3d-b6eb-bf554b0286e9</PilotPersonId> <Remarks>sample string 9</Remarks> <ReservationTypeId>c78c14e9-4328-4ba2-9891-e4f030e18fe5</ReservationTypeId> <SecondCrewPersonId>edfa72df-4615-40d5-95c5-30754024895e</SecondCrewPersonId> <Start>2025-04-04T02:45:31.9508695+02:00</Start> </AircraftReservationDetails>