curl --request GET \
--url https://app.enzo.health/api/v1/oasis/getOasisByVoiceNoteId \
--header 'Authorization: Bearer <token>'
{
"oasis": [
{
"sectionId": "<string>",
"sectionTitle": "<string>",
"sectionCode": "<string>",
"questions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"description": "<string>",
"isAbstract": true,
"order": 123,
"parentId": "<string>",
"answerType": "<string>",
"dataType": "<string>",
"possibleAnswers": [
{
"id": "<string>",
"value": "<string>",
"title": "<string>",
"desc": "<string>"
}
],
"jobAnswer": {
"originalAnswer": "<string>",
"enzoAnswer": "<string>",
"finalAnswer": "<string>",
"reason": "<string>",
"originalOrder": 123,
"enzoOrder": 123
},
"oasisType": [
"SOC_ROC"
],
"sectionId": "<string>",
"dependentQuestionId": "<string>",
"skipValues": "<string>",
"skipIfNull": true
}
]
}
],
"nextSectionId": "<string>"
}
curl --request GET \
--url https://app.enzo.health/api/v1/oasis/getOasisByVoiceNoteId \
--header 'Authorization: Bearer <token>'
{
"oasis": [
{
"sectionId": "<string>",
"sectionTitle": "<string>",
"sectionCode": "<string>",
"questions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"description": "<string>",
"isAbstract": true,
"order": 123,
"parentId": "<string>",
"answerType": "<string>",
"dataType": "<string>",
"possibleAnswers": [
{
"id": "<string>",
"value": "<string>",
"title": "<string>",
"desc": "<string>"
}
],
"jobAnswer": {
"originalAnswer": "<string>",
"enzoAnswer": "<string>",
"finalAnswer": "<string>",
"reason": "<string>",
"originalOrder": 123,
"enzoOrder": 123
},
"oasisType": [
"SOC_ROC"
],
"sectionId": "<string>",
"dependentQuestionId": "<string>",
"skipValues": "<string>",
"skipIfNull": true
}
]
}
],
"nextSectionId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.