Get attachment by node (Inspection, WorkOrder, Request, or Case) IDs
Returns object that represents a collection of attachments from the matched inspections
An array of IDs or a single ID (inspectionIds, WorkOrderSids, WorkOrderIds, RequestIds, or CaseIds) to get attachments for. Only one node (Inspection, WorkOrder, Request, or Case) type at a time. Don't mix-and-match WorkOrderIds with WorkOrderSids.
Add inspection attachments (doesn't handle URL or Signature type properly, currently)
Returns object that represents a boolean for action resolution
The loca path of the file to upload to the Cityworks instance
Optional
filename: stringThe filename for the attachment
Optional
attachment_type: string = 'attachment'The filename for the attachment, values: attachment, signature, url
Optional
task_id: numberID of WorkOrder task, if current activity is a work order and the attachment should be on the task
Optional
comments: stringThe filename for the attachment
Storage of object's active activityType