Toggle menu

caseSubTypeUpdate

Updates a case subtype.

Namespace

goss.CaseManagement.v1.api.case.caseSubTypeUpdate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
caseSubTypeCodeStringThe new subtype. This much match one of the configured subtypes
userObjectDetails of the user
user.siteUserNameStringThe username of a valid case manager
Optional PropertiesTypeDescription
proxyUserObjectDetails of the proxy user
proxyUser.siteUserNameStringThe username

{
    "caseBusinessKey": "Abc",
    "caseSubTypeCode": "Abc",
    "user": {
        "siteUserName": "Abc"
    },
    "proxyUser": {
        "siteUserName": "Abc"
    }
}

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Proxy user must existCould not retrieve proxyUser details
Case must existCould not retrieve case Case 1234-5678-9012-3456
Case must be activeUser aUser does not have permissions to change the case status
User must be a member of the case managers group or the case manager if one is assignedUser aUser does not have permissions to change the case status
A valid sub type code must be suppliedThe subtype: {newSubType} does not exist on caseType: mycasetype
The case sub type must not be set to supplied sub typeThe current case subtype: {newSubType} is already set to the target subtype {newSubType}

Behaviour

If the validation rules pass

  • Updates the case to the new sub type
  • A system note will be recorded to case history documenting the change
  • Case reporting data will be updated with the new status information
Last modified on 11 September 2026