The Case Object to add the flag to.
The flag ID
The severity of the flag
Which userID is applying the flag
The date that the flag should be applied
Optional
options: {Options for CaseFlags includes Notes, DisciplineId, CompletedBy, DateCompleted
Returns Promise that represents an object describing CaFlag.
Delete specific flag from case
Returns Promise that represents the CaFlag that has been deleted.
Delete all flags from case
The Case Object to detach the flags from.
Returns Promise that represents the number of flags deleted from the case provided.
Get flags attached to a specific case
The Case Object from which to get attached flags
Returns Promise that represents a collection of the default CaFlags.
Search for Case Flags. Include one or more of the search fields. A logical 'and' operation is applied to muliple search fields
Optional
filters: ObjectThe parameters to search by. (CaFlagId, Flag, FlagDesc)
Returns Promise that represents an Array of resulting Flags
Add flag to case