PackageExternal

Package set score API

Replaces "AVRCMSService/Common/AdminMaintainVTReport:SETSCORE" service.

post/PackageExternal/PackageReportSetScore

Headers

X-Versionstring

Request body

tokenstring nullable

Required: Token Type: GUID

durationinteger

Required: This is the time the Trainee was in the session.

The duration value in seconds.

scorenumber double

Required: This is the Score awarded to the Trainee.

The Score value and decimals is supported.

failedLessonStepsstring nullable

Optional: The details explaination on the Trainee failed lesson step.

criticalErrorsstring nullable

Optional: The details explaination on the Trainee Critical Errors.

lessonDeviationsstring nullable

Optional: The details explaination on the Lesson Deviations if any.

Example request

{
  "token": "a570a9e74bbc43c3b180e63b0afb704c",
  "duration": 1200,
  "score": 122.28,
  "failedLessonSteps": "Drain the Radioactive Water Separator - Ensure a suitable NUclear PPE is available.",
  "criticalErrors": "The user misfuelled the spacecraft with Cooking Oil.",
  "lessonDeviations": "The spacecraft is not in vetical state."
}

Response

Successful Set Score

statusstring nullable

Returns the status for the request. "1" - Score is set successfully "0" - Failure to set score, see Message property for more information

messagestring nullable

Returns the corresponding Description for each of the request status.

Possible messages: "Success" - Describe record is successfully inserted into database and the corresponding status is "1". "Failed to Create record" - Describe unsuccessful insert record into database and the corresponding status is "0". "Invalid parameters" - Describe Request parameters are invalid or missing parameters. The corresponding status is "0". Check Request parameters and token parameters. "Exception error" - Describe an unhandled exception has occurred and the corresponding status is "0".

Changes

No recorded changes to this endpoint across all 1 revision of this API.