POST api/v1/planningdays
Request Information
URI Parameters
None.
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": "9983a5c6-9f05-4354-8a0a-72ad2e294dc2", "Day": "2024-11-21T09:47:11.819004+01:00", "LocationId": "c5d6a535-0125-49da-8d56-99ee2cee2650", "Remarks": "sample string 4", "TowingPilotPersonId": "8d24dff7-3757-401c-8f66-838cc2e810b7", "FlightOperatorPersonId": "2056f921-aa70-4715-83d9-09fbae8ec554", "InstructorPersonId": "11aa386e-5f37-4b27-8226-ace82194a40c", "Id": "9983a5c6-9f05-4354-8a0a-72ad2e294dc2", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"9983a5c6-9f05-4354-8a0a-72ad2e294dc2","Day":"2024-11-21T09:47:11.819004+01:00","LocationId":"c5d6a535-0125-49da-8d56-99ee2cee2650","Remarks":"sample string 4","TowingPilotPersonId":"8d24dff7-3757-401c-8f66-838cc2e810b7","FlightOperatorPersonId":"2056f921-aa70-4715-83d9-09fbae8ec554","InstructorPersonId":"11aa386e-5f37-4b27-8226-ace82194a40c","Id":"9983a5c6-9f05-4354-8a0a-72ad2e294dc2","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">9983a5c6-9f05-4354-8a0a-72ad2e294dc2</Id> <Day>2024-11-21T09:47:11.819004+01:00</Day> <FlightOperatorPersonId>2056f921-aa70-4715-83d9-09fbae8ec554</FlightOperatorPersonId> <InstructorPersonId>11aa386e-5f37-4b27-8226-ace82194a40c</InstructorPersonId> <LocationId>c5d6a535-0125-49da-8d56-99ee2cee2650</LocationId> <PlanningDayId>9983a5c6-9f05-4354-8a0a-72ad2e294dc2</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>8d24dff7-3757-401c-8f66-838cc2e810b7</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": "4e83ae9a-0d7b-4421-af79-9a726eec1f1e", "Day": "2024-11-21T09:47:11.834592+01:00", "LocationId": "2d399383-fd75-4c16-9ce6-2a1a9a2c5b42", "Remarks": "sample string 4", "TowingPilotPersonId": "95dc2f09-bc22-46f2-9354-f1348e1b72f8", "FlightOperatorPersonId": "88552fa0-7796-45cc-a91f-57a949ad7617", "InstructorPersonId": "3da14fb0-6eeb-4a4b-b39e-efda50bd1c11", "Id": "4e83ae9a-0d7b-4421-af79-9a726eec1f1e", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PlanningDayId":"4e83ae9a-0d7b-4421-af79-9a726eec1f1e","Day":"2024-11-21T09:47:11.834592+01:00","LocationId":"2d399383-fd75-4c16-9ce6-2a1a9a2c5b42","Remarks":"sample string 4","TowingPilotPersonId":"95dc2f09-bc22-46f2-9354-f1348e1b72f8","FlightOperatorPersonId":"88552fa0-7796-45cc-a91f-57a949ad7617","InstructorPersonId":"3da14fb0-6eeb-4a4b-b39e-efda50bd1c11","Id":"4e83ae9a-0d7b-4421-af79-9a726eec1f1e","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">4e83ae9a-0d7b-4421-af79-9a726eec1f1e</Id> <Day>2024-11-21T09:47:11.834592+01:00</Day> <FlightOperatorPersonId>88552fa0-7796-45cc-a91f-57a949ad7617</FlightOperatorPersonId> <InstructorPersonId>3da14fb0-6eeb-4a4b-b39e-efda50bd1c11</InstructorPersonId> <LocationId>2d399383-fd75-4c16-9ce6-2a1a9a2c5b42</LocationId> <PlanningDayId>4e83ae9a-0d7b-4421-af79-9a726eec1f1e</PlanningDayId> <Remarks>sample string 4</Remarks> <TowingPilotPersonId>95dc2f09-bc22-46f2-9354-f1348e1b72f8</TowingPilotPersonId> </PlanningDayDetails>