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>"
}Makes an external test assignment for the given student:
This logic changes depending on the provided “toolProvider” value:
A ‘Lesson’ in this context is a ComponentResource object which has a Resource object with lessonType = “test-out”, “placement”, or “unit-test” associated with it.
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>"
}The access token received from the authorization server in the OAuth 2.0 flow.
The sourcedId of the student
The sourcedId of the lesson (ComponentResource)
The name of the application to use for authenticating on the external tool
The specific test ID to assign for MasteryTrack tool provider. If provided, overrides subject+grade selection.
When true, skips automatic course enrollment after test completion. Only applies to the current attempt.
Success
edulastic, mastery-track test-out, placement, unit-test The attempt number
The credentials for accessing the assigned test on external tool
Show child attributes
The id of the assignment on external tool for results retrieval
The id of the class on external tool for results retrieval (may be empty for some tools)
The URL of the test on external tool
The id of the test on external tool (may be assignment ID for some tools)