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-04-04T02:49:41.778999+02:00", "EndDate": "2025-04-04T02:49:41.778999+02:00", "EveryMonday": true, "EveryTuesday": true, "EveryWednesday": true, "EveryThursday": true, "EveryFriday": true, "EverySaturday": true, "EverySunday": true, "LocationId": "782af03e-41c1-4af6-8306-751227ea2dfd", "Remarks": "sample string 11" }
text/html
Sample:
{"StartDate":"2025-04-04T02:49:41.778999+02:00","EndDate":"2025-04-04T02:49:41.778999+02:00","EveryMonday":true,"EveryTuesday":true,"EveryWednesday":true,"EveryThursday":true,"EveryFriday":true,"EverySaturday":true,"EverySunday":true,"LocationId":"782af03e-41c1-4af6-8306-751227ea2dfd","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-04-04T02:49:41.778999+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>782af03e-41c1-4af6-8306-751227ea2dfd</LocationId> <Remarks>sample string 11</Remarks> <StartDate>2025-04-04T02:49:41.778999+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": "2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7", "Day": "2025-04-04T02:49:41.79462+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": "2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7", "CanUpdateRecord": true, "CanDeleteRecord": true }, { "PlanningDayId": "2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7", "Day": "2025-04-04T02:49:41.79462+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": "2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7", "CanUpdateRecord": true, "CanDeleteRecord": true } ]
text/html
Sample:
[{"PlanningDayId":"2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7","Day":"2025-04-04T02:49:41.79462+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":"2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7","CanUpdateRecord":true,"CanDeleteRecord":true},{"PlanningDayId":"2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7","Day":"2025-04-04T02:49:41.79462+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":"2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7","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">2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7</Id> <Day>2025-04-04T02:49:41.79462+02:00</Day> <FlightOperatorName>sample string 7</FlightOperatorName> <InstructorName>sample string 8</InstructorName> <LocationId>c348c10b-af93-4842-96e0-dd84bdda7e03</LocationId> <LocationName>sample string 4</LocationName> <NumberOfAircraftReservations>9</NumberOfAircraftReservations> <PlanningDayId>2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7</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">2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7</Id> <Day>2025-04-04T02:49:41.79462+02:00</Day> <FlightOperatorName>sample string 7</FlightOperatorName> <InstructorName>sample string 8</InstructorName> <LocationId>c348c10b-af93-4842-96e0-dd84bdda7e03</LocationId> <LocationName>sample string 4</LocationName> <NumberOfAircraftReservations>9</NumberOfAircraftReservations> <PlanningDayId>2c7e0f65-6da7-4f65-8e21-f7b77f33d3c7</PlanningDayId> <Remarks>sample string 5</Remarks> <TowingPilotName>sample string 6</TowingPilotName> </PlanningDayOverview> </ArrayOfPlanningDayOverview>