Discussions

Ask a Question

Service Form Submission

Hi There, I am attempting to get a service form once submitted online to refer the details to another html where we can run analytics on the submission. ANy help is appreciated

jobAllocation getting error on posting via API...

both of the below failed - which required fields (not marked as such in API docs) am I missing? { "active" : 1, "allocation_date" : "2019-06-07 00:00:00", "job_uuid" : "d305341a-37a5-4b83-94de-f9da442c95db", "staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb" } { "active" : 1, "allocation_date" : "2019-06-07 00:00:00", "job_uuid" : "d305341a-37a5-4b83-94de-f9da442c95db", "staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb", "allocation_by_staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb" }

ServiceM8 to Xero

When I try and send invoice from ServiceM8 to Xero it says It will not allow me and me and says you need to allocate the appropriate income account from your accounting package. No idea how to remedy this.
ANSWERED

Refresh accessToken for Severless/ Simple Function add-on

Hey ServiceM8 Developer support - I am developing Serverless/ Simple Function add-ons. One of the add-ons is a utility that a user may want to keep open either as a modal or launched from the add-on menu in a dedicated full window. The add-on works, but after 15 minutes (900 seconds) the short-lived accessToken provided by the ServiceM8 Secure Token Service expires. How is a new access token / refresh token supposed to be issued for this type of app to ensure the user can continue using it without relaunching the app (to acquire a new access token) to keep keep using it? I see with external web-hosted add-ons, I would simply include code to request a new refresh token when the existing access token gets to the near the end of its expiry. In the case of Serverless/ Simple Function add-ons I'm not sure how to do this via the ServiceM8 Secure Token Service.

Increase 3rd Party Scope

Does anyone have any tips for adding extra OAuth2 scope for 3rd party apps like Zapier or Integromat? Standard modules/actions are preset with the appropriate scope but when building a custom API call certain actions get a 403 insufficient scope reply. Can action be taken within these apps to add to their scope? Does anyone know the methodology here? I assume this action would be permanent/semi-permanent, or does a scope field need to be built into each API call?

Cost of API access

What does the API access cost - require integration for invoicing etc from Sm8 to other software and or own database

Change invoice name after sending

How do i resend an invoice after sending with a different customers name. I have sent a partial invoice with an incorrect name or and address needs to be changed and resent. I have then updated my ongoing job with the correct information. How do I do this??
ANSWERED

Simple Function Logging - no new activity showing up.

I have a simple function addon that's running. I know it's working, because it makes notes in jobs. But the "Function Event Log" button doesn't show any activity since 2019? I've also made a separate addon/simple function and it's not generating any log file activity either.

ServiceM8 and DEAR Inventory

Has anyone successfully integrated ServiceM8 and DEAR? If so how please? I am aware that by using Zapier, you can create 'triggers' to perform 'tasks' between both systems but wondering if there is a better solution/s out there that has successfully been set up?

How to schedule jobs by api / can I schedule jobs by API

can I schedule jobs by API