Get a bootstrap device's access ID and OTP
get
/api/studies/{studyId}/subjects/{subjectId}/devices/{deviceId}/cred
Retrieves a bootstrap device's access ID and OTP (One-Time Password that expires in 24 hours or when used). This virtual device represents the actual device, not the data provided by eSource.
Request
Path Parameters
-
deviceId: string
Device ID
-
studyId: string
Study identifier.
-
subjectId: string
Subject ID.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : DeviceCred
Type:
Show Source
object
-
accessId:
string
Client access code generated for a bootstrap device.
-
id(optional):
string(uuid)
Device instance identifier
-
otp:
string
Time-sensitive, one-time authorization code generated by the mHealth Connector Cloud application to bootstrap a device.
404 Response
Invalid study, subject, or device identifier.