Skip to main content
PUT
/
v1
/
installs
/
{installSid}
/
exams
/
{examSid}
/
assignment
Update exam assignments
curl --request PUT \
  --url http://api.dev.smarterproctoring.com/v1/installs/{installSid}/exams/{examSid}/assignment \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "added": [
    "EN1234567890abcdef1234567890abcdef"
  ],
  "removed": [
    "EN1234567890abcdef1234567890abcdef"
  ]
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://developers.smarterservices.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

token
string
header
required

Path Parameters

installSid
string
required

Unique SID of the application install. Pattern: AI + 32 hex chars.

Pattern: ^AI[a-f0-9]{32}$
Example:

"AI1234567890abcdef1234567890abcdef"

examSid
string
required

Unique SID of the exam whose assignments are being modified. Pattern: EX + 32 hex chars.

Pattern: ^EX[a-f0-9]{32}$
Example:

"EX1234567890abcdef1234567890abcdef"

Body

application/json

Payload containing enrollment SIDs to assign or unassign from the exam.

added
string[]

Array of enrollment SIDs to assign to the exam. Their exam session status will be set to Needs Proctor.

Pattern: ^EN[a-f0-9]{32}$
removed
string[]

Array of enrollment SIDs to unassign from the exam. Their active exam sessions will be cancelled with reason removed-by-limited-scope.

Pattern: ^EN[a-f0-9]{32}$

Response

default - application/json

Successful

The response is of type string.