Skip to main content
GET
/
powerpath
/
importExternalTestAssignmentResults
Import external test assignment results
curl --request GET \
  --url https://api.alpha-1edtech.ai/powerpath/importExternalTestAssignmentResults \
  --header 'Authorization: Bearer <token>'
{
  "lessonType": "test-out",
  "lessonId": "<string>",
  "toolProvider": "<string>",
  "finalized": true,
  "attempt": 123,
  "credentials": {
    "email": "[email protected]",
    "password": "<string>"
  },
  "assignmentId": "<string>",
  "classId": "<string>",
  "testUrl": "<string>",
  "testId": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

student
string
required

The sourcedId of the student

lesson
string
required

The sourcedId of the lesson (ComponentResource)

applicationName
string

The name of the application

Response

Success

lessonType
enum<string>
required
Available options:
test-out,
placement,
unit-test
lessonId
string | null
required

The sourcedId of the lesson (ComponentResource)

toolProvider
string | null
required

The tool provider for the lesson (ComponentResource)

finalized
boolean
required

Whether the Test has been finalized in the current attempt

attempt
number
required

The attempt number

credentials
object

The credentials for accessing the assigned test on external tool

assignmentId
string

The id of the assignment on external tool for results retrieval

classId
string

The id of the class on external tool for results retrieval (may be empty for some tools)

testUrl
string<uri>

The URL of the test on external tool

testId
string

The id of the test on external tool (may be assignment ID for some tools)