The Case Management API is provided by a set of standard End Points you can call in forms or other End Points. They are all deployed to the serverlibrary.
Call the API from an End Point
This example adds a note to a case.
function(params, credentials) {
var result = this.callWorkerMethod('serverlibrary', 'goss.CaseManagement.v1.api.notes.addNoteToCase', {
"note": "A note to add to the case",
"caseReference": "5574-7880-3747-4637",
"userName": "Timg"
});
return result;
}
Call the API from a Form
This form script action would add a note to a case.
addNoteToCase
Adds a note to a case.
closeCase
Closes an open case.
copyCase
Creates a new case by copying data from an existing one.
createCase
Creates a new case of a given type. Can also automatically close the new case.
deleteCase
Delete's a case and all associated case data.
reassignCase
Reassigns a case to another user or group.
updateCaseStage
Updates the stage a case is at.
updateCaseStatus
Updates the case status.