CASE FrameworkCASE Framework
Management APIParticipants

Merge participants

POST
/v1/studies/{studyKey}/participants/merge

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

studyKey*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/studies/string/participants/merge" \  -H "Content-Type: application/json" \  -d '{    "targetParticipantID": "string",    "withParticipantID": "string"  }'
{
  "participant": {
    "id": "string",
    "participantId": "string",
    "currentStudySession": "string",
    "modifiedAt": 0,
    "enteredAt": 0,
    "studyStatus": "string",
    "flags": {
      "property1": "string",
      "property2": "string"
    },
    "linkingCodes": {
      "property1": "string",
      "property2": "string"
    },
    "assignedSurveys": [
      {
        "studyKey": "string",
        "surveyKey": "string",
        "validFrom": 0,
        "validUntil": 0,
        "category": "string",
        "profileID": "string"
      }
    ],
    "lastSubmissions": {
      "property1": 0,
      "property2": 0
    },
    "messages": [
      {}
    ]
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}