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": "bad709f5-56e7-4ccc-83c8-1adc80d7599c", "Day": "2025-01-28T23:16:52.3213156+01:00", "LocationId": "5cd25ada-5f76-4f5b-85c0-7cace1c48c1f", "Remarks": "sample string 4", "TowingPilotPersonId": "4e57f931-f770-4b5a-9407-84eb3eb6bae7", "FlightOperatorPersonId": "25be90cc-6d91-47a1-89f2-e83da66e3775", "InstructorPersonId": "4aba51bb-ab62-40be-a77b-2d0f8703a4e8", "Id": "bad709f5-56e7-4ccc-83c8-1adc80d7599c", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"bad709f5-56e7-4ccc-83c8-1adc80d7599c","Day":"2025-01-28T23:16:52.3213156+01:00","LocationId":"5cd25ada-5f76-4f5b-85c0-7cace1c48c1f","Remarks":"sample string 4","TowingPilotPersonId":"4e57f931-f770-4b5a-9407-84eb3eb6bae7","FlightOperatorPersonId":"25be90cc-6d91-47a1-89f2-e83da66e3775","InstructorPersonId":"4aba51bb-ab62-40be-a77b-2d0f8703a4e8","Id":"bad709f5-56e7-4ccc-83c8-1adc80d7599c","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">bad709f5-56e7-4ccc-83c8-1adc80d7599c</Id> <Day>2025-01-28T23:16:52.3213156+01:00</Day> <FlightOperatorPersonId>25be90cc-6d91-47a1-89f2-e83da66e3775</FlightOperatorPersonId> <InstructorPersonId>4aba51bb-ab62-40be-a77b-2d0f8703a4e8</InstructorPersonId> <LocationId>5cd25ada-5f76-4f5b-85c0-7cace1c48c1f</LocationId> <PlanningDayId>bad709f5-56e7-4ccc-83c8-1adc80d7599c</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>4e57f931-f770-4b5a-9407-84eb3eb6bae7</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": "4768b12f-188e-49d2-8d0b-dc6272fc0300", "Day": "2025-01-28T23:16:52.3369048+01:00", "LocationId": "bf200ebd-9d7b-4f57-bbfe-8a2ec92be9b0", "Remarks": "sample string 4", "TowingPilotPersonId": "e9e4d56a-b81f-4bc8-92ac-76911e546b10", "FlightOperatorPersonId": "4617a0d8-118c-467f-a2c0-e8dcf1f9b9f2", "InstructorPersonId": "73504231-201e-455e-9da7-0847ca47ab10", "Id": "4768b12f-188e-49d2-8d0b-dc6272fc0300", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"4768b12f-188e-49d2-8d0b-dc6272fc0300","Day":"2025-01-28T23:16:52.3369048+01:00","LocationId":"bf200ebd-9d7b-4f57-bbfe-8a2ec92be9b0","Remarks":"sample string 4","TowingPilotPersonId":"e9e4d56a-b81f-4bc8-92ac-76911e546b10","FlightOperatorPersonId":"4617a0d8-118c-467f-a2c0-e8dcf1f9b9f2","InstructorPersonId":"73504231-201e-455e-9da7-0847ca47ab10","Id":"4768b12f-188e-49d2-8d0b-dc6272fc0300","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">4768b12f-188e-49d2-8d0b-dc6272fc0300</Id> <Day>2025-01-28T23:16:52.3369048+01:00</Day> <FlightOperatorPersonId>4617a0d8-118c-467f-a2c0-e8dcf1f9b9f2</FlightOperatorPersonId> <InstructorPersonId>73504231-201e-455e-9da7-0847ca47ab10</InstructorPersonId> <LocationId>bf200ebd-9d7b-4f57-bbfe-8a2ec92be9b0</LocationId> <PlanningDayId>4768b12f-188e-49d2-8d0b-dc6272fc0300</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>e9e4d56a-b81f-4bc8-92ac-76911e546b10</TowingPilotPersonId> </PlanningDayDetails>