POST api/v1/planningdays/create/rule
Request Information
URI Parameters
None.
Body Parameters
PlanningDayCreatorRuleName | Description | Type | Additional information |
---|---|---|---|
StartDate | date |
Required |
|
EndDate | date |
Required |
|
EveryMonday | boolean |
None. |
|
EveryTuesday | boolean |
None. |
|
EveryWednesday | boolean |
None. |
|
EveryThursday | boolean |
None. |
|
EveryFriday | boolean |
None. |
|
EverySaturday | boolean |
None. |
|
EverySunday | boolean |
None. |
|
LocationId | globally unique identifier |
Required |
|
Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "2025-08-30T06:38:27.5291598+02:00", "EndDate": "2025-08-30T06:38:27.5291598+02:00", "EveryMonday": true, "EveryTuesday": true, "EveryWednesday": true, "EveryThursday": true, "EveryFriday": true, "EverySaturday": true, "EverySunday": true, "LocationId": "389416b6-f886-4423-9127-fa655d34d37b", "Remarks": "sample string 11" }
text/html
Sample:
{"StartDate":"2025-08-30T06:38:27.5291598+02:00","EndDate":"2025-08-30T06:38:27.5291598+02:00","EveryMonday":true,"EveryTuesday":true,"EveryWednesday":true,"EveryThursday":true,"EveryFriday":true,"EverySaturday":true,"EverySunday":true,"LocationId":"389416b6-f886-4423-9127-fa655d34d37b","Remarks":"sample string 11"}
application/xml, text/xml
Sample:
<PlanningDayCreatorRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.PlanningDay"> <EndDate>2025-08-30T06:38:27.5291598+02:00</EndDate> <EveryFriday>true</EveryFriday> <EveryMonday>true</EveryMonday> <EverySaturday>true</EverySaturday> <EverySunday>true</EverySunday> <EveryThursday>true</EveryThursday> <EveryTuesday>true</EveryTuesday> <EveryWednesday>true</EveryWednesday> <LocationId>389416b6-f886-4423-9127-fa655d34d37b</LocationId> <Remarks>sample string 11</Remarks> <StartDate>2025-08-30T06:38:27.5291598+02:00</StartDate> </PlanningDayCreatorRule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PlanningDayOverviewName | Description | Type | Additional information |
---|---|---|---|
PlanningDayId | globally unique identifier |
None. |
|
Day | date |
None. |
|
LocationName | string |
None. |
|
Remarks | string |
None. |
|
TowingPilotName | string |
None. |
|
FlightOperatorName | string |
None. |
|
InstructorName | string |
None. |
|
NumberOfAircraftReservations | integer |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PlanningDayId": "8d0264d1-673d-4413-9413-4e51e71ea1bb", "Day": "2025-08-30T06:38:27.544781+02:00", "LocationName": "sample string 4", "Remarks": "sample string 5", "TowingPilotName": "sample string 6", "FlightOperatorName": "sample string 7", "InstructorName": "sample string 8", "NumberOfAircraftReservations": 9, "Id": "8d0264d1-673d-4413-9413-4e51e71ea1bb", "CanUpdateRecord": true, "CanDeleteRecord": true }, { "PlanningDayId": "8d0264d1-673d-4413-9413-4e51e71ea1bb", "Day": "2025-08-30T06:38:27.544781+02:00", "LocationName": "sample string 4", "Remarks": "sample string 5", "TowingPilotName": "sample string 6", "FlightOperatorName": "sample string 7", "InstructorName": "sample string 8", "NumberOfAircraftReservations": 9, "Id": "8d0264d1-673d-4413-9413-4e51e71ea1bb", "CanUpdateRecord": true, "CanDeleteRecord": true } ]
text/html
Sample:
[{"PlanningDayId":"8d0264d1-673d-4413-9413-4e51e71ea1bb","Day":"2025-08-30T06:38:27.544781+02:00","LocationName":"sample string 4","Remarks":"sample string 5","TowingPilotName":"sample string 6","FlightOperatorName":"sample string 7","InstructorName":"sample string 8","NumberOfAircraftReservations":9,"Id":"8d0264d1-673d-4413-9413-4e51e71ea1bb","CanUpdateRecord":true,"CanDeleteRecord":true},{"PlanningDayId":"8d0264d1-673d-4413-9413-4e51e71ea1bb","Day":"2025-08-30T06:38:27.544781+02:00","LocationName":"sample string 4","Remarks":"sample string 5","TowingPilotName":"sample string 6","FlightOperatorName":"sample string 7","InstructorName":"sample string 8","NumberOfAircraftReservations":9,"Id":"8d0264d1-673d-4413-9413-4e51e71ea1bb","CanUpdateRecord":true,"CanDeleteRecord":true}]
application/xml, text/xml
Sample:
<ArrayOfPlanningDayOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.PlanningDay"> <PlanningDayOverview> <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">8d0264d1-673d-4413-9413-4e51e71ea1bb</Id> <Day>2025-08-30T06:38:27.544781+02:00</Day> <FlightOperatorName>sample string 7</FlightOperatorName> <InstructorName>sample string 8</InstructorName> <LocationId>4980af01-5852-4409-b0d4-c014d8ab1db7</LocationId> <LocationName>sample string 4</LocationName> <NumberOfAircraftReservations>9</NumberOfAircraftReservations> <PlanningDayId>8d0264d1-673d-4413-9413-4e51e71ea1bb</PlanningDayId> <Remarks>sample string 5</Remarks> <TowingPilotName>sample string 6</TowingPilotName> </PlanningDayOverview> <PlanningDayOverview> <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">8d0264d1-673d-4413-9413-4e51e71ea1bb</Id> <Day>2025-08-30T06:38:27.544781+02:00</Day> <FlightOperatorName>sample string 7</FlightOperatorName> <InstructorName>sample string 8</InstructorName> <LocationId>4980af01-5852-4409-b0d4-c014d8ab1db7</LocationId> <LocationName>sample string 4</LocationName> <NumberOfAircraftReservations>9</NumberOfAircraftReservations> <PlanningDayId>8d0264d1-673d-4413-9413-4e51e71ea1bb</PlanningDayId> <Remarks>sample string 5</Remarks> <TowingPilotName>sample string 6</TowingPilotName> </PlanningDayOverview> </ArrayOfPlanningDayOverview>