closeCap
Version
2.0
Parameters
| Parameter | Type | Description | 
|---|---|---|
| userId | string | ID of user who closes the record. | 
| capId (optional) | CapIDModel | Record to perform action on. | 
Notes
Sets the Closed Date value to the current date and the Close by Staff field to the ID of the user who closes the record.