Skip to content

9. Sending information about user agreement acceptance to LMS

Constructor Proctor can send to LMS the time when the test taker accepted the user agreement, if the following endpoint is provided.

API URL:

[agreement_acceptance_url]

Request method:

POST

Request headers:

Content-Type: application/json  
Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTI5OTQxMzF9.PRzN

JWT payload example:

json
{
    "exp": 1612994131
}

Request body example:

json
{
  "accountId": 123,
  "sessionId": "b3875623",
  "timestamp": "2018-03-30T12:55:00Z"
}

The method fields are described in the table below:

FieldTypeDescription
accountId*stringCompany ID in LMS.
sessionId*stringSession ID in LMS.
timestamp*string (enum)Date and time (UTC, ISO 8601) when the test taker navigated from the user agreement page.