Discussions

Ask a Question
Back to All

Api endpoint for Diary entries

Hi,
I am wondering about a few things. What are all the current endpoints in SM8 (documented and undocumented).
The reason I ask is that fumbling around I can find a few end points that are not in the API Reference guide, and I wonder if there is an undocumented endpoint that I am in need of.

Here's the problem, my client had an issue submitting the Signed Form via their mobile app due to coverage issues at the time of signature consent, my client didn't notice this issue until the following week when their client requested a copy of the signed PDF. Now the client requires the PDF to send to the insurance agency, however it needs to have all the correct timestamps as to when the work was completed/accepted etc.

I can easily update the PDF by downloading it, modifying the PDF data, and creating a new attachment and relinking it to the form. Boom date is correct.
However the form and the diary entry are still out of sync and thus the story is disjointed as you scroll through the diary on the job.

Question: How do I modify the 'Created date' much like I can using the note/UUID.json API end point, but for system created diary entries.

eg. https://share3.ecnal.com.au/7niK6ldR5E
This is the diary entry for the client, I need to set that date back to the 14th, so it sits along side the job completed task, which is about 20 entries earlier, as there are a lot of photos, SMS and Email chatter between.
I would also like to modify the 'Complete' date that is in the form: https://share3.ecnal.com.au/p8Ybfxucgh
I can edit a timestamp, the form response data, but just can't simply edit this 'Completed' section.

Thanks for your assistance. Hopefully I can align my clients data back into the appropriate timeframes soon.