Skip to main content
POST
/
powerpath
/
makeExternalTestAssignment
Make external test assignment
curl --request POST \
  --url https://api.alpha-1edtech.ai/powerpath/makeExternalTestAssignment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "student": "<string>",
  "lesson": "<string>",
  "applicationName": "<string>",
  "testId": "<string>",
  "skipCourseEnrollment": true
}
'
{
  "toolProvider": "edulastic",
  "lessonType": "test-out",
  "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.

Body

application/json
student
string
required

The sourcedId of the student

lesson
string
required

The sourcedId of the lesson (ComponentResource)

applicationName
string

The name of the application to use for authenticating on the external tool

testId
string

The specific test ID to assign for MasteryTrack tool provider. If provided, overrides subject+grade selection.

skipCourseEnrollment
boolean

When true, skips automatic course enrollment after test completion. Only applies to the current attempt.

Response

Success

toolProvider
enum<string>
required
Available options:
edulastic,
mastery-track
lessonType
enum<string>
required
Available options:
test-out,
placement,
unit-test
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)