...
site (uuid) - this is the site UUID - this ID is 1:1 with a job in Sighten. You may want to use this to create a new record in your portal and maintain the job sync, or use the identifier to find a job that already existing in your portal.
quote (uuid) - this is the quote UUID is similar to the site ID, except that it is not 1:1; there can be any number of quotes on a given job (or site). The quote ID is also important here because it signifies and helps access all the contracted details. Please note that if a change order re-sign task is completed within the milestone for a different quote, and then the webhook is sent, the quote UUID will still be the initial quote.
sub_tasks > data > documents > uuid - you will need to store this information and make a GET request to: /api/v1/document/{uuid}/download/ to download the document. You will take the document uuid where the "creation_type" is "UPLOADED".
You can also access a direct link for the document via: /api/v1/document/{uuid}/preview
...
GET /api/data/workflow/?metrics=s_quote_id"e_id={original_quote_id}
s_quote_id
will be the quote signed for the re-sign. Then you can make all DAL requests via the quote
path with the new UUID. s_quote_id
will be the quote signed for the re-sign.
Sample Milestone Webhook
...