Skip to content

Merge two identities (mergeIdentities)

Request

Forces two source records into a common Link ID and converts one of them into a retired/merged state — used to sync a merge that already happened in your source system into the Provider entity. The retired source's data is hidden from the resulting entity's demographics but the record remains retrievable via nativeIdQuery.

Security
basicAuth
Bodyapplication/jsonrequired
trackingIdstring

Optional client-defined correlation ID.

contentobject(MergeIdentitiesWsRequest)

Merge (retire) data from one source into another.

curl -i -X POST \
  -u '<username>:<password>' \
  https://yourveratodomain.com/provider-link-ws/svc/mergeIdentities \
  -H 'Content-Type: application/json' \
  -d '{
    "trackingId": "string",
    "content": {
      "toSurviveSource": {
        "date": "2019-08-24",
        "name": "string",
        "id": "string"
      },
      "toRetireSource": {
        "date": "2019-08-24",
        "name": "string",
        "id": "string"
      }
    }
  }'

Responses

Merge identities response

Bodyapplication/json
auditIdstring

Unique audit identifier for correlating requests and responses.

successboolean

Indicates whether the business operation succeeded.

warningsArray of strings

Non-fatal warnings generated by the operation.

retryableErrorboolean

Indicates whether an error is transient and the request may be retried.

messagestring

Human-readable status message.

errorsArray of strings

Error messages if success is false.

trackingIdstring

Echo of the request trackingId, if provided.

contentobject(MergeIdentitiesWsResponse)

Merge identities response content.

Response
{ "auditId": "string", "success": true, "warnings": [ "string" ], "retryableError": true, "message": "string", "errors": [ "string" ], "trackingId": "string", "content": { "linkId": "string", "toSurviveSource": { … } } }