API v1 (1.0.0)ReferenceUsers

Retrieve the exam result of a student

GET/usuario/resultado_prova/{usuario_email_id}/{item_id}

Retrieves the latest result of a student in the exam of a lesson.

AuthorizationBearer <token>

The school API key, found in the dashboard settings, sent in the Authorization header. The Bearer prefix is optional.

In: header

Path Parameters

usuario_email_id*string

The student, by ID, email or document (CPF). A value that is a valid email is looked up by email; otherwise the digits are matched against the ID and the document.

item_id*integer

The lesson that holds the exam.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/usuario/resultado_prova/string/0"
{  "code": 200,  "success": true,  "data": {    "resultado": {      "acertos": 0,      "erros": 0,      "finalizado_em": "2019-08-24T14:15:22Z",      "iniciado_em": "2019-08-24T14:15:22Z",      "prova": "string",      "resultado": 0    },    "usuario": {      "cargo": "string",      "celular": "string",      "comecou_em": "2019-08-24T14:15:22Z",      "criado_em": "2019-08-24T14:15:22Z",      "doc": "string",      "email": "string",      "gratis": true,      "id": 0,      "login_auto": "http://example.com",      "login_crstk": "string",      "nome": "string",      "nome_empresa": "string",      "pontos": 0,      "tamanho_empresa": "string",      "ultimo_acesso_em": "2019-08-24T14:15:22Z",      "utm": {        "adcampaign": "string",        "adid": "string",        "fbclid": "string",        "gclid": "string",        "groupid": "string",        "page_name": "string",        "utm_content": "string",        "utm_medium": "string",        "utm_source": "string",        "utm_term": "string"      }    }  }}