Tross
ATHENA PROD

Fetch Needs

Fetch needs in Athena Prod

POSThttps://api.ontross.com/api/integrations/athena-prod/fetch-needs
Request Fields
input
object
required
Input object.
input.org_id
integer
required
Org id
input.department_id
integer
required
Department id
input.patient_id
integer
required
Patient id
auth_id
string
required
Auth id
Output Fields
needs
array
List of needs.
needs[].SnomedCode
string
Snomed code
needs[].SnomedDescription
string
Snomed description
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/athena-prod/fetch-needs \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"org_id":0,"department_id":0,"patient_id":0},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "org_id": 0,
    "department_id": 0,
    "patient_id": 0
  },
  "auth_id": "auth_uuid_here"
}