v1.0

put

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/{subjectId}/devices/{inventoryId}/access-code

Recreates the access ID and OTP (one-time password) for a bootstrap device. Required if the password (OTP) has already expired. The device cannot be bootstrapped using expired or invalid credentials. Rights: DeviceActionsPost.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

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 a different subject OR Invalid device ID OR mHealth device is not registered OR Device does not have any connection type OR Vendor code is missing for cloud-to-cloud connection type devices OR Device has a 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 settings 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