POST api/DSvU/StudentLogs
Request Information
URI Parameters
None.
Body Parameters
FlightLogsRequestName | Description | Type | Additional information |
---|---|---|---|
Timestamp | date |
None. |
|
ExportingUser | string |
None. |
|
Flights | Collection of Flight |
None. |
Request Formats
application/json, text/json
Sample:
{ "Timestamp": "2024-11-21T11:18:02.5226499+01:00", "ExportingUser": "sample string 2", "Flights": [ { "FlightId": "sample string 1", "Timestamp": "sample string 2", "Registration": "sample string 3", "CompetitionId": "sample string 4", "FrontSeatOccupantName": "sample string 5", "FrontSeatOccupantClubId": "sample string 6", "FrontSeatOccupantUnionId": {}, "FrontSeatOccupantInstructorId": "sample string 8", "BackSeatOccupantName": "sample string 9", "BackSeatOccupantClubId": "sample string 10", "BackSeatOccupantUnionId": {}, "BackSeatOccupantInstructorId": "sample string 12", "InstructorUnionId": "sample string 13", "InstructorName": "sample string 14", "Airfield": "sample string 15", "Duration": "sample string 16", "DurationInMinutes": 17.1, "TrainingProgramName": "sample string 18", "TrainingProgramId": "sample string 19", "Note": "sample string 20", "NoteAndPhaseComments": "sample string 21", "PartialExercises": [ { "ExerciseName": "sample string 1", "ExerciseId": "sample string 2", "PartialExerciseName": "sample string 3", "PartialExerciseId": "sample string 4", "GradingName": "sample string 5", "GradingId": "sample string 6" }, { "ExerciseName": "sample string 1", "ExerciseId": "sample string 2", "PartialExerciseName": "sample string 3", "PartialExerciseId": "sample string 4", "GradingName": "sample string 5", "GradingId": "sample string 6" } ], "FlightPhaseComments": [ { "FlightPhase": { "PhaseId": "sample string 1", "Phase": "sample string 2" }, "Comments": [ { "CommentId": "sample string 1", "Comment": "sample string 2" }, { "CommentId": "sample string 1", "Comment": "sample string 2" } ] }, { "FlightPhase": { "PhaseId": "sample string 1", "Phase": "sample string 2" }, "Comments": [ { "CommentId": "sample string 1", "Comment": "sample string 2" }, { "CommentId": "sample string 1", "Comment": "sample string 2" } ] } ], "Maneuvers": [ { "Maneuver": "sample string 1", "ManueverId": "sample string 2" }, { "Maneuver": "sample string 1", "ManueverId": "sample string 2" } ], "Seats": 22, "LandingCount": 23 }, { "FlightId": "sample string 1", "Timestamp": "sample string 2", "Registration": "sample string 3", "CompetitionId": "sample string 4", "FrontSeatOccupantName": "sample string 5", "FrontSeatOccupantClubId": "sample string 6", "FrontSeatOccupantUnionId": {}, "FrontSeatOccupantInstructorId": "sample string 8", "BackSeatOccupantName": "sample string 9", "BackSeatOccupantClubId": "sample string 10", "BackSeatOccupantUnionId": {}, "BackSeatOccupantInstructorId": "sample string 12", "InstructorUnionId": "sample string 13", "InstructorName": "sample string 14", "Airfield": "sample string 15", "Duration": "sample string 16", "DurationInMinutes": 17.1, "TrainingProgramName": "sample string 18", "TrainingProgramId": "sample string 19", "Note": "sample string 20", "NoteAndPhaseComments": "sample string 21", "PartialExercises": [ { "ExerciseName": "sample string 1", "ExerciseId": "sample string 2", "PartialExerciseName": "sample string 3", "PartialExerciseId": "sample string 4", "GradingName": "sample string 5", "GradingId": "sample string 6" }, { "ExerciseName": "sample string 1", "ExerciseId": "sample string 2", "PartialExerciseName": "sample string 3", "PartialExerciseId": "sample string 4", "GradingName": "sample string 5", "GradingId": "sample string 6" } ], "FlightPhaseComments": [ { "FlightPhase": { "PhaseId": "sample string 1", "Phase": "sample string 2" }, "Comments": [ { "CommentId": "sample string 1", "Comment": "sample string 2" }, { "CommentId": "sample string 1", "Comment": "sample string 2" } ] }, { "FlightPhase": { "PhaseId": "sample string 1", "Phase": "sample string 2" }, "Comments": [ { "CommentId": "sample string 1", "Comment": "sample string 2" }, { "CommentId": "sample string 1", "Comment": "sample string 2" } ] } ], "Maneuvers": [ { "Maneuver": "sample string 1", "ManueverId": "sample string 2" }, { "Maneuver": "sample string 1", "ManueverId": "sample string 2" } ], "Seats": 22, "LandingCount": 23 } ] }
application/xml, text/xml
Sample:
<FlightLogsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Areas.DSvU.Models.Requests.StudentLogs"> <ExportingUser>sample string 2</ExportingUser> <Flights> <Flight> <Airfield>sample string 15</Airfield> <BackSeatOccupantClubId>sample string 10</BackSeatOccupantClubId> <BackSeatOccupantInstructorId>sample string 12</BackSeatOccupantInstructorId> <BackSeatOccupantName>sample string 9</BackSeatOccupantName> <BackSeatOccupantUnionId /> <CompetitionId>sample string 4</CompetitionId> <Duration>sample string 16</Duration> <DurationInMinutes>17.1</DurationInMinutes> <FlightId>sample string 1</FlightId> <FlightPhaseComments> <FlightPhaseComment> <Comments> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> </Comments> <FlightPhase> <Phase>sample string 2</Phase> <PhaseId>sample string 1</PhaseId> </FlightPhase> </FlightPhaseComment> <FlightPhaseComment> <Comments> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> </Comments> <FlightPhase> <Phase>sample string 2</Phase> <PhaseId>sample string 1</PhaseId> </FlightPhase> </FlightPhaseComment> </FlightPhaseComments> <FrontSeatOccupantClubId>sample string 6</FrontSeatOccupantClubId> <FrontSeatOccupantInstructorId>sample string 8</FrontSeatOccupantInstructorId> <FrontSeatOccupantName>sample string 5</FrontSeatOccupantName> <FrontSeatOccupantUnionId /> <InstructorName>sample string 14</InstructorName> <InstructorUnionId>sample string 13</InstructorUnionId> <LandingCount>23</LandingCount> <Maneuvers> <Maneuver> <ManeuverName>sample string 1</ManeuverName> <ManueverId>sample string 2</ManueverId> </Maneuver> <Maneuver> <ManeuverName>sample string 1</ManeuverName> <ManueverId>sample string 2</ManueverId> </Maneuver> </Maneuvers> <Note>sample string 20</Note> <NoteAndPhaseComments>sample string 21</NoteAndPhaseComments> <PartialExercises> <PartialExercise> <ExerciseId>sample string 2</ExerciseId> <ExerciseName>sample string 1</ExerciseName> <GradingId>sample string 6</GradingId> <GradingName>sample string 5</GradingName> <PartialExerciseId>sample string 4</PartialExerciseId> <PartialExerciseName>sample string 3</PartialExerciseName> </PartialExercise> <PartialExercise> <ExerciseId>sample string 2</ExerciseId> <ExerciseName>sample string 1</ExerciseName> <GradingId>sample string 6</GradingId> <GradingName>sample string 5</GradingName> <PartialExerciseId>sample string 4</PartialExerciseId> <PartialExerciseName>sample string 3</PartialExerciseName> </PartialExercise> </PartialExercises> <Registration>sample string 3</Registration> <Seats>22</Seats> <Timestamp>sample string 2</Timestamp> <TrainingProgramId>sample string 19</TrainingProgramId> <TrainingProgramName>sample string 18</TrainingProgramName> </Flight> <Flight> <Airfield>sample string 15</Airfield> <BackSeatOccupantClubId>sample string 10</BackSeatOccupantClubId> <BackSeatOccupantInstructorId>sample string 12</BackSeatOccupantInstructorId> <BackSeatOccupantName>sample string 9</BackSeatOccupantName> <BackSeatOccupantUnionId /> <CompetitionId>sample string 4</CompetitionId> <Duration>sample string 16</Duration> <DurationInMinutes>17.1</DurationInMinutes> <FlightId>sample string 1</FlightId> <FlightPhaseComments> <FlightPhaseComment> <Comments> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> </Comments> <FlightPhase> <Phase>sample string 2</Phase> <PhaseId>sample string 1</PhaseId> </FlightPhase> </FlightPhaseComment> <FlightPhaseComment> <Comments> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> <Comment> <CommentId>sample string 1</CommentId> <CommentText>sample string 2</CommentText> </Comment> </Comments> <FlightPhase> <Phase>sample string 2</Phase> <PhaseId>sample string 1</PhaseId> </FlightPhase> </FlightPhaseComment> </FlightPhaseComments> <FrontSeatOccupantClubId>sample string 6</FrontSeatOccupantClubId> <FrontSeatOccupantInstructorId>sample string 8</FrontSeatOccupantInstructorId> <FrontSeatOccupantName>sample string 5</FrontSeatOccupantName> <FrontSeatOccupantUnionId /> <InstructorName>sample string 14</InstructorName> <InstructorUnionId>sample string 13</InstructorUnionId> <LandingCount>23</LandingCount> <Maneuvers> <Maneuver> <ManeuverName>sample string 1</ManeuverName> <ManueverId>sample string 2</ManueverId> </Maneuver> <Maneuver> <ManeuverName>sample string 1</ManeuverName> <ManueverId>sample string 2</ManueverId> </Maneuver> </Maneuvers> <Note>sample string 20</Note> <NoteAndPhaseComments>sample string 21</NoteAndPhaseComments> <PartialExercises> <PartialExercise> <ExerciseId>sample string 2</ExerciseId> <ExerciseName>sample string 1</ExerciseName> <GradingId>sample string 6</GradingId> <GradingName>sample string 5</GradingName> <PartialExerciseId>sample string 4</PartialExerciseId> <PartialExerciseName>sample string 3</PartialExerciseName> </PartialExercise> <PartialExercise> <ExerciseId>sample string 2</ExerciseId> <ExerciseName>sample string 1</ExerciseName> <GradingId>sample string 6</GradingId> <GradingName>sample string 5</GradingName> <PartialExerciseId>sample string 4</PartialExerciseId> <PartialExerciseName>sample string 3</PartialExerciseName> </PartialExercise> </PartialExercises> <Registration>sample string 3</Registration> <Seats>22</Seats> <Timestamp>sample string 2</Timestamp> <TrainingProgramId>sample string 19</TrainingProgramId> <TrainingProgramName>sample string 18</TrainingProgramName> </Flight> </Flights> <Timestamp>2024-11-21T11:18:02.5226499+01:00</Timestamp> </FlightLogsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |