Skip to content

GET child by ID

JeffMedeiros edited this page Nov 29, 2019 · 1 revision

Description

Returns an unique child by id.

Permissions:

  • Admin, Educator, and Health Professional users can list any child's information.
  • Child user can list only their own information, and Family user can only list information of their own children.

Scope

children:read

URL

GET https://localhost/v1/children/{child_id}

Parameters

child_id: string (A 24-byte hex ID)

Curl example

curl -X GET "https://localhost/v1/children/5a62be07de34500146d9c544" -H "accept: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response body

OCARIoT users

Integration endpoints

auth

users

institutions

children

children.physicalactivities

children.logs

children.sleep

children.weights

children.bodyfats

educators

educators.children.groups

families

families.children

healthprofessionals

healthprofessionals.children.groups

applications

institutions.environments

fitbit

fitbit.subscriber

users.fitbit.auth

users.fitbit.sync

Error patterns

400 Validation Errors

Clone this wiki locally