Referência da APISubmissões
Listar submissões do paciente
GET
/professionals/{professionalId}/patients/{patientId}/forms/submissionsLista as submissões de um paciente, com filtros e paginação. Indicado para a linha do tempo do paciente.
Autorização
ApiKey ApiSecret X-Api-Key<token>
API Key do parceiro. Deve ser enviada junto com X-Api-Secret.
Em: header
X-Api-Secret<token>
API Secret do parceiro. Deve ser enviada junto com X-Api-Key.
Em: header
Parâmetros de path
professionalId*string
ID do profissional na HumanTrack (humanTrackId).
Formato
uuidpatientId*string
ID do paciente na HumanTrack (humanTrackId).
Formato
uuidParâmetros de query
status?string
Status de submissão separados por vírgula, por exemplo ANSWERED,CREATED.
formTemplateId?string
Filtra por instrumento.
Formato
uuidformApplicationId?integer
Filtra por aplicação.
Intervalo
0 <= valuestartDate?string
Data e hora inicial do filtro (RFC 3339).
Formato
date-timeendDate?string
Data e hora final do filtro (RFC 3339).
Formato
date-timelimit?integer
Número máximo de resultados. Sem o parâmetro, não há limite.
Intervalo
0 <= valueoffset?integer
Quantidade de resultados a pular.
Intervalo
0 <= valuePadrão
0Corpo da resposta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/professionals/3f7c1a54-6b2e-4a1d-8f0c-2b5e9d3a7c11/patients/9d2e4b70-1c3a-4f6e-9b8d-5a7c0e2f4d33/forms/submissions?status=ANSWERED%2CCREATED&startDate=2026-01-01T00%3A00%3A00Z&endDate=2026-03-31T23%3A59%3A59Z"[ { "answers": [ { "createdAt": "2019-08-24T14:15:22Z", "customValue": "string", "formSubmissionId": 0, "id": 0, "question": { "centerEmoji": "string", "centerLabel": "string", "formSubScaleId": 0, "leftEmoji": "string", "leftLabel": "string", "pointAnchors": [ { "emoji": "string", "label": "string", "value": 0 } ], "position": 0, "questionOptions": [ { "createdAt": "2019-08-24T14:15:22Z", "emoji": "string", "id": 0, "isOther": true, "position": 0, "updatedAt": "2019-08-24T14:15:22Z", "value": "string", "weight": 0 } ], "questionType": "MULTIPLE_CHOICE", "rightEmoji": "string", "rightLabel": "string", "scaleEnd": 0, "scaleStart": 0, "scaleStep": 0, "title": "string" }, "questionId": 0, "riskFlag": { "flagType": "SUICIDE_SELF_HARM", "severity": "LOW" }, "updatedAt": "2019-08-24T14:15:22Z", "value": "string", "values": [ "string" ], "weight": 0 } ], "completedFillAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deadline": "2019-08-24T14:15:22Z", "fillType": "DEFAULT", "formApplication": { "allowPatientAnnotation": true, "answerToken": "string", "authorId": "ee6f7132-bd0a-4fcd-83b3-a8022377067b", "createdAt": "2019-08-24T14:15:22Z", "formTemplateId": "f62b9cf2-5cec-4a00-b364-0e5e6e71cce0", "hideFormTemplateTitle": true, "id": 0, "nextAnswerAt": "2019-08-24T14:15:22Z", "notifyEmail": true, "notifyWhatsApp": true, "openToAnswer": true, "patientId": "460a6d87-689c-4661-a526-a52450bbe2d7", "recurrenceCycle": "NOW", "showFormGraphToPatient": true, "startedAt": "2019-08-24T14:15:22Z", "status": "CREATED", "updatedAt": "2019-08-24T14:15:22Z" }, "formApplicationId": 0, "formTemplate": { "shortTitle": "string", "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d", "title": "string" }, "formTemplateId": "f62b9cf2-5cec-4a00-b364-0e5e6e71cce0", "globalClassification": { "color": "string", "maxScore": 0, "minScore": 0, "title": "string" }, "hasHighRisk": true, "id": 0, "interpretativeAnalysis": "string", "notifiedAt": "2019-08-24T14:15:22Z", "patientId": "460a6d87-689c-4661-a526-a52450bbe2d7", "psychometricIndicators": { "global": {}, "subscales": { "property1": {}, "property2": {} }, "version": 0 }, "riskFlagCount": 0, "score": 0, "startedAt": "2019-08-24T14:15:22Z", "startedFillAt": "2019-08-24T14:15:22Z", "status": "CREATED", "subscaleClassifications": { "property1": { "color": "string", "maxScore": 0, "minScore": 0, "title": "string" }, "property2": { "color": "string", "maxScore": 0, "minScore": 0, "title": "string" } }, "subscaleScores": [ { "id": 0, "name": "string", "score": 0 } ], "updatedAt": "2019-08-24T14:15:22Z", "urlToAnswer": "string" }]