Register mHealth device

post

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/{subjectId}/register-device

Registers an mHealth device. Rights: DeviceActionsPost.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Request object containing mHealth device registration details.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : BootStrapCredResponseDto
Type: object
Contains details about bootstrap device.
Show Source
  • Client access code generated for a bootstrap device.
    Example: ABC123
  • Device instance identifier.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Time-sensitive, one-time authorization code generated by the mHealth Connector Cloud application to bootstrap a device.
    Example: ABCD1234

400 Response

Invalid subject Id OR Device is not dispensed to the subject OR Device is dispensed to different subject OR Invalid device Id OR Cloud to cloud connection type device is already registered OR Device does not have a connection type OR Vendor code is missing for cloud to cloud connection type of devices OR Vendor code has been specified for device to cloud connection type of devices OR Subject number is missing for device to cloud connection type of devices OR Device is of no-connection connection type
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object

404 Response

Invalid study ID or version
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object

500 Response

Internal server error OR mHealth setttings are not found.
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Back to Top