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:
POSTRequest headers:
Content-Type: application/json
Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTI5OTQxMzF9.PRzNJWT 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:
| Field | Type | Description |
|---|---|---|
| accountId* | string | Company ID in LMS. |
| sessionId* | string | Session ID in LMS. |
| timestamp* | string (enum) | Date and time (UTC, ISO 8601) when the test taker navigated from the user agreement page. |