Update subject attributes
put
/api/studies/{studyId}/subjects/{subjectId}
Updates one or more attributes of a subject based on the provided subject ID. The API uses the value of each property provided in the body to update the corresponding subject attribute. No device/eSource properties are updated. Instead, use the Device API to update device/eSource properties.
Request
Path Parameters
-
studyId: string
Study identifier.
-
subjectId: string
Subject ID.
Supported Media Types
- application/json
Subject properties.
Root Schema : schema
Type:
Show Source
object
-
site(optional):
string
Optional field. Use this field to indicate the site identifier, such as siteId or a site mnemonic, for the mHealth application.
-
srcSubjId:
string
Required field. A master subject identifer in the target application or a global subject identifier assigned by a customer application. This field must be unique within an mHealth study.
Response
202 Response
Successful operation.
400 Response
Invalid payload.
404 Response
Invalid study or subject identifier.