PUT api/v1/planningdays/{planningDayId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
planningDayId

globally unique identifier

Required

Body Parameters

PlanningDayDetails
NameDescriptionTypeAdditional 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": "ed3646f5-490f-4c4f-8215-0ebaf50c80e6",
  "Day": "2019-12-11T20:55:18.6005605+01:00",
  "LocationId": "46fe9c9d-57ae-4a4b-a1cb-1b3d04e2ee02",
  "Remarks": "sample string 4",
  "TowingPilotPersonId": "13ecd0a0-9485-4d44-bae8-eaa231ae0c43",
  "FlightOperatorPersonId": "1844bb51-0e1a-4933-9367-8ffee457f9f7",
  "InstructorPersonId": "4c36d3ce-fc2c-4566-9d1e-e284f786e659",
  "Id": "ed3646f5-490f-4c4f-8215-0ebaf50c80e6",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PlanningDayId":"ed3646f5-490f-4c4f-8215-0ebaf50c80e6","Day":"2019-12-11T20:55:18.6005605+01:00","LocationId":"46fe9c9d-57ae-4a4b-a1cb-1b3d04e2ee02","Remarks":"sample string 4","TowingPilotPersonId":"13ecd0a0-9485-4d44-bae8-eaa231ae0c43","FlightOperatorPersonId":"1844bb51-0e1a-4933-9367-8ffee457f9f7","InstructorPersonId":"4c36d3ce-fc2c-4566-9d1e-e284f786e659","Id":"ed3646f5-490f-4c4f-8215-0ebaf50c80e6","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">ed3646f5-490f-4c4f-8215-0ebaf50c80e6</Id>
  <Day>2019-12-11T20:55:18.6005605+01:00</Day>
  <FlightOperatorPersonId>1844bb51-0e1a-4933-9367-8ffee457f9f7</FlightOperatorPersonId>
  <InstructorPersonId>4c36d3ce-fc2c-4566-9d1e-e284f786e659</InstructorPersonId>
  <LocationId>46fe9c9d-57ae-4a4b-a1cb-1b3d04e2ee02</LocationId>
  <PlanningDayId>ed3646f5-490f-4c4f-8215-0ebaf50c80e6</PlanningDayId>
  <Remarks>sample string 4</Remarks>
  <TowingPilotPersonId>13ecd0a0-9485-4d44-bae8-eaa231ae0c43</TowingPilotPersonId>
</PlanningDayDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PlanningDayDetails
NameDescriptionTypeAdditional 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": "506813f5-ae78-4e4b-8986-8f2b43a5364c",
  "Day": "2019-12-11T20:55:18.6005605+01:00",
  "LocationId": "c846c4e8-a036-4228-ac94-248ca1f80807",
  "Remarks": "sample string 4",
  "TowingPilotPersonId": "3274b373-fec5-45fe-bfb1-d1f9cb5376dc",
  "FlightOperatorPersonId": "9abb6085-6a34-40c4-b5a9-170cc0c3e175",
  "InstructorPersonId": "eb6a6ba9-0b78-49e5-aee0-f43c69a3f858",
  "Id": "506813f5-ae78-4e4b-8986-8f2b43a5364c",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PlanningDayId":"506813f5-ae78-4e4b-8986-8f2b43a5364c","Day":"2019-12-11T20:55:18.6005605+01:00","LocationId":"c846c4e8-a036-4228-ac94-248ca1f80807","Remarks":"sample string 4","TowingPilotPersonId":"3274b373-fec5-45fe-bfb1-d1f9cb5376dc","FlightOperatorPersonId":"9abb6085-6a34-40c4-b5a9-170cc0c3e175","InstructorPersonId":"eb6a6ba9-0b78-49e5-aee0-f43c69a3f858","Id":"506813f5-ae78-4e4b-8986-8f2b43a5364c","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">506813f5-ae78-4e4b-8986-8f2b43a5364c</Id>
  <Day>2019-12-11T20:55:18.6005605+01:00</Day>
  <FlightOperatorPersonId>9abb6085-6a34-40c4-b5a9-170cc0c3e175</FlightOperatorPersonId>
  <InstructorPersonId>eb6a6ba9-0b78-49e5-aee0-f43c69a3f858</InstructorPersonId>
  <LocationId>c846c4e8-a036-4228-ac94-248ca1f80807</LocationId>
  <PlanningDayId>506813f5-ae78-4e4b-8986-8f2b43a5364c</PlanningDayId>
  <Remarks>sample string 4</Remarks>
  <TowingPilotPersonId>3274b373-fec5-45fe-bfb1-d1f9cb5376dc</TowingPilotPersonId>
</PlanningDayDetails>