POST api/v1/planningdays/create/rule

Request Information

URI Parameters

None.

Body Parameters

PlanningDayCreatorRule
NameDescriptionTypeAdditional 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": "2024-11-21T09:49:20.0845895+01:00",
  "EndDate": "2024-11-21T09:49:20.0845895+01:00",
  "EveryMonday": true,
  "EveryTuesday": true,
  "EveryWednesday": true,
  "EveryThursday": true,
  "EveryFriday": true,
  "EverySaturday": true,
  "EverySunday": true,
  "LocationId": "29b8522b-a75d-4097-a2f4-49af9f3f456f",
  "Remarks": "sample string 11"
}

text/html

Sample:
{"StartDate":"2024-11-21T09:49:20.0845895+01:00","EndDate":"2024-11-21T09:49:20.0845895+01:00","EveryMonday":true,"EveryTuesday":true,"EveryWednesday":true,"EveryThursday":true,"EveryFriday":true,"EverySaturday":true,"EverySunday":true,"LocationId":"29b8522b-a75d-4097-a2f4-49af9f3f456f","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>2024-11-21T09:49:20.0845895+01:00</EndDate>
  <EveryFriday>true</EveryFriday>
  <EveryMonday>true</EveryMonday>
  <EverySaturday>true</EverySaturday>
  <EverySunday>true</EverySunday>
  <EveryThursday>true</EveryThursday>
  <EveryTuesday>true</EveryTuesday>
  <EveryWednesday>true</EveryWednesday>
  <LocationId>29b8522b-a75d-4097-a2f4-49af9f3f456f</LocationId>
  <Remarks>sample string 11</Remarks>
  <StartDate>2024-11-21T09:49:20.0845895+01:00</StartDate>
</PlanningDayCreatorRule>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of PlanningDayOverview
NameDescriptionTypeAdditional 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": "eaebada1-8e16-4ed4-9440-d2dd10e08239",
    "Day": "2024-11-21T09:49:20.0845895+01:00",
    "LocationName": "sample string 4",
    "Remarks": "sample string 5",
    "TowingPilotName": "sample string 6",
    "FlightOperatorName": "sample string 7",
    "InstructorName": "sample string 8",
    "NumberOfAircraftReservations": 9,
    "Id": "eaebada1-8e16-4ed4-9440-d2dd10e08239",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  {
    "PlanningDayId": "eaebada1-8e16-4ed4-9440-d2dd10e08239",
    "Day": "2024-11-21T09:49:20.0845895+01:00",
    "LocationName": "sample string 4",
    "Remarks": "sample string 5",
    "TowingPilotName": "sample string 6",
    "FlightOperatorName": "sample string 7",
    "InstructorName": "sample string 8",
    "NumberOfAircraftReservations": 9,
    "Id": "eaebada1-8e16-4ed4-9440-d2dd10e08239",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  }
]

text/html

Sample:
[{"PlanningDayId":"eaebada1-8e16-4ed4-9440-d2dd10e08239","Day":"2024-11-21T09:49:20.0845895+01:00","LocationName":"sample string 4","Remarks":"sample string 5","TowingPilotName":"sample string 6","FlightOperatorName":"sample string 7","InstructorName":"sample string 8","NumberOfAircraftReservations":9,"Id":"eaebada1-8e16-4ed4-9440-d2dd10e08239","CanUpdateRecord":true,"CanDeleteRecord":true},{"PlanningDayId":"eaebada1-8e16-4ed4-9440-d2dd10e08239","Day":"2024-11-21T09:49:20.0845895+01:00","LocationName":"sample string 4","Remarks":"sample string 5","TowingPilotName":"sample string 6","FlightOperatorName":"sample string 7","InstructorName":"sample string 8","NumberOfAircraftReservations":9,"Id":"eaebada1-8e16-4ed4-9440-d2dd10e08239","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">eaebada1-8e16-4ed4-9440-d2dd10e08239</Id>
    <Day>2024-11-21T09:49:20.0845895+01:00</Day>
    <FlightOperatorName>sample string 7</FlightOperatorName>
    <InstructorName>sample string 8</InstructorName>
    <LocationId>10b061b6-9cab-4ede-8e6f-df2f40c39205</LocationId>
    <LocationName>sample string 4</LocationName>
    <NumberOfAircraftReservations>9</NumberOfAircraftReservations>
    <PlanningDayId>eaebada1-8e16-4ed4-9440-d2dd10e08239</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">eaebada1-8e16-4ed4-9440-d2dd10e08239</Id>
    <Day>2024-11-21T09:49:20.0845895+01:00</Day>
    <FlightOperatorName>sample string 7</FlightOperatorName>
    <InstructorName>sample string 8</InstructorName>
    <LocationId>10b061b6-9cab-4ede-8e6f-df2f40c39205</LocationId>
    <LocationName>sample string 4</LocationName>
    <NumberOfAircraftReservations>9</NumberOfAircraftReservations>
    <PlanningDayId>eaebada1-8e16-4ed4-9440-d2dd10e08239</PlanningDayId>
    <Remarks>sample string 5</Remarks>
    <TowingPilotName>sample string 6</TowingPilotName>
  </PlanningDayOverview>
</ArrayOfPlanningDayOverview>