The get_file event retrieves files saved to a work order in PPW. These can be from one of two types, specified as the module_type: job_notes are Job Note attachments and uploads is for files saved in the Photos & Documents section. These files are passed as a presigned url with an expiration of 30 minutes from time of creation.
Field
Type
Description
Required
remote_report_id
number
Report_id of which the document will be added/inserted into
No
report_id
number
Report_id of which the document originated from
Yes
module_type
string
Type of file being processed. In this case “uploads”