Discussions

Ask a Question

Programming languages for API?

Hi there, I am wondering what programming languages are required for the ServiceM8 API? I am currently on the look out for a backend web developer but before I search for one I need to know the programming languages to find the right person. ServiceM8's customer service team told me Python for web and Swift for app. Can I confirm this? I am not sure what the difference is here (I know they are both programming languages, but not sure when they'd be used). Thanks! Dmitri.

Link sms to job through API

When creating a job through the API we then use the sms api to send an sms to the client, but the sms does not appear in the notes section of the job once sent? Do we have to link the messageID to the job somehow?

Bulk import sites

Looking to bulk import sites. Anyone able to help?

Connect wordpress form to servicem8

Hi, I'm building a website for one of your clients in the UK that provide tesla powerwalls, and need to send the info gnerated in a contact form i.e. - Name - Phone number - email address - No. of powerwalls required to servicem8. Can you tell me the best way to do this please. What about this https://northernbeacheswebsites.com.au/servicem8-to-gravity-forms-connector/ Or do you have a better solution? Thanks :)

Attachments retrieval not working

Hi, I am trying to setup an attachment retrieval API code. I am getting a result 401 Authorization required. I cant find the Auth code anywhere??

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

can I schedule jobs by API

Generate an Asset Register per Asset Type

I would like to be able to generate an asset register for all our assets, regardless of what client they are assigned too. Currently this doesn't seem to be possible. Any suggestions?

"Open API" specification files

Hi all, I'm trying to find out if there are "OPEN API" specification files for ServiceM8's APIs Does anyone know where I can get these? Many thanks Andre

Company end point race condition

It looks like if multiple create requests are made to the company create endpoint at the same time with the same name property set both can(incorrectly) succeed. There is a constraint on the ServiceM8 side that normally prevents this but I somehow have the same companies with exactly the same name created 1 second apart from each other. Subsequent requests to the update endpoint also fail until I delete one of the records.

Getting wrong scheduled datetime in Job data

We are using API url to fetch Jobs data. https://developer.servicem8.com/reference/get-job-all But we are getting different scheduled datetime('job_is_scheduled_until_stamp') in JSON response E.g. actual scheduled time is 1:00 PM with duration of 1 hour(While booking). We're getting 2:00 PM and if duration is 30 mins, we're getting 1:30 PM in API response. We want actual time without added duration. OR can we get separate duration time field in job data?