PUT api/v1/planningdays/{planningDayId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
planningDayId | globally unique identifier |
Required |
Body Parameters
PlanningDayDetailsName | Description | Type | Additional information |
---|---|---|---|
PlanningDayId | globally unique identifier |
None. |
|
Day | date |
Required |
|
LocationId | globally unique identifier |
Required |
|
Remarks | string |
None. |
|
TowingPilotPersonId | globally unique identifier |
None. |
|
FlightOperatorPersonId | globally unique identifier |
None. |
|
InstructorPersonId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PlanningDayId": "a6fa5505-d09a-4bf0-b17f-b6bd43e05112", "Day": "2024-12-09T12:06:10.7029356+01:00", "LocationId": "b5ac42da-aff2-488d-b221-4f0a752f2aed", "Remarks": "sample string 4", "TowingPilotPersonId": "6891081e-faab-4bb4-a61a-80fc59faa32e", "FlightOperatorPersonId": "9cf44a26-e33a-4ce7-bde0-d3bea9025c77", "InstructorPersonId": "3d12c1c2-0926-489c-8317-d3dc0ad7d6e7", "Id": "a6fa5505-d09a-4bf0-b17f-b6bd43e05112", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"a6fa5505-d09a-4bf0-b17f-b6bd43e05112","Day":"2024-12-09T12:06:10.7029356+01:00","LocationId":"b5ac42da-aff2-488d-b221-4f0a752f2aed","Remarks":"sample string 4","TowingPilotPersonId":"6891081e-faab-4bb4-a61a-80fc59faa32e","FlightOperatorPersonId":"9cf44a26-e33a-4ce7-bde0-d3bea9025c77","InstructorPersonId":"3d12c1c2-0926-489c-8317-d3dc0ad7d6e7","Id":"a6fa5505-d09a-4bf0-b17f-b6bd43e05112","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<PlanningDayDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.PlanningDay"> <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">a6fa5505-d09a-4bf0-b17f-b6bd43e05112</Id> <Day>2024-12-09T12:06:10.7029356+01:00</Day> <FlightOperatorPersonId>9cf44a26-e33a-4ce7-bde0-d3bea9025c77</FlightOperatorPersonId> <InstructorPersonId>3d12c1c2-0926-489c-8317-d3dc0ad7d6e7</InstructorPersonId> <LocationId>b5ac42da-aff2-488d-b221-4f0a752f2aed</LocationId> <PlanningDayId>a6fa5505-d09a-4bf0-b17f-b6bd43e05112</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>6891081e-faab-4bb4-a61a-80fc59faa32e</TowingPilotPersonId> </PlanningDayDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PlanningDayDetailsName | Description | Type | Additional information |
---|---|---|---|
PlanningDayId | globally unique identifier |
None. |
|
Day | date |
Required |
|
LocationId | globally unique identifier |
Required |
|
Remarks | string |
None. |
|
TowingPilotPersonId | globally unique identifier |
None. |
|
FlightOperatorPersonId | globally unique identifier |
None. |
|
InstructorPersonId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "PlanningDayId": "a945fdb1-481f-4b66-a9a6-d0051ae815aa", "Day": "2024-12-09T12:06:10.7185567+01:00", "LocationId": "275de2fb-86f5-41c7-af8c-49d16ad448f4", "Remarks": "sample string 4", "TowingPilotPersonId": "a69fe213-9ea3-4c0c-b9ad-ede4b2a09980", "FlightOperatorPersonId": "cbd50631-defa-4213-a1f5-c1260031fd20", "InstructorPersonId": "bbefd8d0-212e-4b06-9289-6808b2d0c9f6", "Id": "a945fdb1-481f-4b66-a9a6-d0051ae815aa", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"a945fdb1-481f-4b66-a9a6-d0051ae815aa","Day":"2024-12-09T12:06:10.7185567+01:00","LocationId":"275de2fb-86f5-41c7-af8c-49d16ad448f4","Remarks":"sample string 4","TowingPilotPersonId":"a69fe213-9ea3-4c0c-b9ad-ede4b2a09980","FlightOperatorPersonId":"cbd50631-defa-4213-a1f5-c1260031fd20","InstructorPersonId":"bbefd8d0-212e-4b06-9289-6808b2d0c9f6","Id":"a945fdb1-481f-4b66-a9a6-d0051ae815aa","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<PlanningDayDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.PlanningDay"> <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">a945fdb1-481f-4b66-a9a6-d0051ae815aa</Id> <Day>2024-12-09T12:06:10.7185567+01:00</Day> <FlightOperatorPersonId>cbd50631-defa-4213-a1f5-c1260031fd20</FlightOperatorPersonId> <InstructorPersonId>bbefd8d0-212e-4b06-9289-6808b2d0c9f6</InstructorPersonId> <LocationId>275de2fb-86f5-41c7-af8c-49d16ad448f4</LocationId> <PlanningDayId>a945fdb1-481f-4b66-a9a6-d0051ae815aa</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>a69fe213-9ea3-4c0c-b9ad-ede4b2a09980</TowingPilotPersonId> </PlanningDayDetails>