Discussions

Ask a Question
Back to All

Automatically Display Job

Hi,
I am just playing around with some ideas and features I have seen in the Xero integration where in Xero I can click a button and it will navigate to: https://go.servicem8.com/Xero_ViewInvoice?id=##jobUid##

Which then in ServiceM8 becomes something like the following:
https://go.servicem8.com/dbo_display_v2?&s_intAutomaticallyDisplayJobId=10&s_strObjectName=job&s_auth=1ab17d68f5e9c07249e8963ace05f7a8 and the ModifyJob modal is opens.

My question is, if I know the Job Uid in my third party application, which I am developing for a client to automatically populate ServiceM8 with supplier purchases, can I too do the same external link button in my application?
I have tried, to use the: https://go.servicem8.com/Xero_ViewInvoice?id=##jobUid## it works some of the time, but it seems to fail maybe when the auth ID has expired.

Any clarity on this would be great