Toggle menu

caseLinkUpdate

Updates the link between two cases.

Namespace

goss.CaseManagement.v1.api.case.caseLinks.caseLinkUpdate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
linkedCaseBusinessKeyString <businessKey>The business key of the linked case
typeStringThe type of relationship between the two cases
userObjectDetails of the user
user.siteUserIdIntegerThe iCM site ID of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
descriptionStringA description or note for the link
user.displayNameStringThe display name of the user
proxyUserObjectDetails of a user acting on behalf of the user
proxyUser.siteUserNameStringThe username of the proxy user
proxyUser.displayNameStringThe display name of the proxy user

{
    "caseBusinessKey": "0123-4567-8901-2345",
    "linkedCaseBusinessKey": "5432-1098-7654-3210",
    "type": "Abc",
    "description": "Abc",
    "user": {
        "siteUserId": 1234,
        "siteUserName": "Abc",
        "displayName": "Abc"
    },
    "proxyUser": {
        "siteUserName": "Abc",
        "displayName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Case must existCould not retrieve case Case 1234-5678-9012-3456
Linked case must existCould not retrieve case Case 1234-5678-9012-3456
A link must exist between the two casesLink not present from {0} to {1}
Case must be activeUser aUser does not have permissions to update a case link
User must be a member of the case managers group or the case manager if one is assignedUser aUser does not have permissions to update a case link

Behaviour

If the validation rules pass

  • Updates the type of the link between the case and the linked case
  • If a description is provided, it is saved with the link
Last modified on 20 October 2026