Associate an existing case, interaction, loan, or file objects to the case. This way you can create comprehensive view of the case.
Security
oauth2(Required scopes: case.association:create) or bearerAuth or apiKeyHeader
Types of objects that can be associated with the case.
Enum:"document""interaction""loan""case""transaction"
This is only applicable to objectType=case associations.
The way to read the relation is: caseId relation objectId. For example:
- There is an existing
caseId=111caseType=identityTheft. - There is an existing
caseId=222caseType=debtValidation. - The identity theft case is blocking verification of debt. To represent that relation:
caseId=111in path parameter.relation=blocksin body.objectId=222in body.
Default:"related"
Enum:"related""causes""blocks""duplicate"
POST
- oauth2
- bearerAuth
- apiKeyHeader
curl -i -X POST \
'https://sandboxapi.peach.finance/api/people/{personId}/cases/{caseId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"objectId": "string",
"objectType": "document",
"relation": "related"
}'