Toggle menu

caseSubscriberCreate

Adds a subscriber to the named subscriber lists of a case.

Namespace

goss.CaseManagement.v1.api.case.caseSubscriber.caseSubscriberCreate

Worker

serverlibrary

Parameters

Required PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
caseSubscriberToCreateObjectDetails of the subscriber
caseSubscriberToCreate.emailString <email>The email address of the subscriber
caseSubscriberToCreate.subsArray <String>The names of the subscriber lists. Allowed values: caseClosed
userObjectDetails of the user
user.siteUserNameStringThe username a valid case manager
Optional PropertiesTypeDescription
n/an/an/a

{
    "caseBusinessKey": "0123-4567-8901-2345",
    "caseSubscriberToCreate": {
        "email": "[email protected]",
        "subs": [
            "caseClosed"
        ]
    },
    "user": {
        "siteUserName": "Abc"
    }
}

Returns

PropertyTypeDescription
successBooleanWhether the request completed successfully
errorsArrayAny errors that occurred. Only returned if there are errors
warningsArrayAny warnings that occurred. Only returned if there are warnings

Rules

RuleValidation error
User must existCould not retrieve siteUser details
Case must existCould not retrieve case Case 1234-5678-9012-3456
Case must be activeUser aUser does not have permissions to add a subscriber
User must be a member of the case managers group or the case manager if one is assignedUser aUser does not have permissions to add a subscriber

Behaviour

If the validation rules pass

  • Adds the email address to each of the named subscriber lists for the case
Last modified on 20 October 2026