Discussions

Ask a Question

Issue with my BSB number not showing up on my invoices although i have entered it into the Invoice template

I have had issues recently with my bsb not showing up in my invoices. I have made sure I entered the details correctly where it states BSB on the device template details. still no success with it displaying on my invoices?

Automatically update calendar when checking in and out

Hello, I am curious if it may be possible to automate the calendar to update when checking in and out of a job, altering the "scheduled" time to the "actual" time. Service M8 has been perfect so far, other than not being able to do this. Any help will be appreciated. -Liam

Unable to catch the payload with Challenge on it using .NET

Good day sir/ma'am, I'd like to ask how do catch the payload with Challenge on it using .NET? I've been trying various solutions. I already tested my API and works fine using Postman. Both Query Parameters and Response Body are NULL upon checking on logs. Please assist, thank you! Lorenz Moya

Webhook subscriptions disappearing

Hi there, We're encountering an issue where webhook subscriptions are disappearing after a couple of days. I've checked and we're sending 200 status codes and our service has been continuously available. I asked if your support team could check the logs on your end, but I was directed to post a question here. Any guidance would be of great help.

DAILY ISSUES WITH LOGGIN IN!!!!!

EACH DAY, WE ARE UNABLE TO LOG IN FOR UPTO HOURS AT A TIME. THIS SITUATION IS NOT ACCEPTABLE AND COSTING OUR BUSINESS MONEY!! THIS NEEDS TO BE RESOLVED NOW!!!!!! PLEASE CONTACT US ASAP!!!!! PLEASE ALSO ADVISE THE NOTICE PERIOD, AS WE ARE CURRENTLY LOOKING AT ALTERNATIVE SOFTWARE SOLUTIONS.

Link with our CRM is not working

PLease can you sort out this issue ASAP as the link between our CRM - ACTIVE and Service M8 is not working for nearly 2 weeks now - we have been in touch with Activve and they said its from this side - none of the deals are transfering over and need to be created manually with no job history and is really impacing our working day!

How to control Client Sites via API

Hello, we work on integration with ServiceM8 system and have question. We found Client Sites add-on https://support.servicem8.com/hc/en-us/articles/202023544-Client-Sites-Overview The question is can we control Client Sites via API (create, update, delete or find a special client site)? We wasn't able to immediately able to find the answer in the developer section and in the API Documentation. Thanks in advance!

Job for activity doesn't seem to exist in API

Hi, I am currently doing the following - 1. Sync all activities 2. Sync all jobs 3. Sync all job contacts 4. Build a model for each activity on the client by joining to the job via the job_uuid field on the activity and then to each job contact for that job. While I have been trying to do this I have found that the job_uuid reference in one of the activities does not seem to have a corresponding job record. I have also found querying the api directly for this job seems to return html that looks like this: https://api.servicem8.com/api_1.0/job/THE-JOB-UUID.json returns 200 OK + <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>200 OK</title> </head> <body> <h1>OK</h1> <p></p> <hr /> <address>ServiceM8/1.0</address> </body> </html> Is this an issue with the API or am I missing something?

Job Materials API - Distinguish between *actual* materials, and just labour or invoice items

I've been querying the Job Materials API endpoint, and it's returning a lot more than just Job Materials. I'm getting records back that include things like: - Callout charge - $50 - Labour to fix the heater - $150 - Etc. I'm hoping to be able to filter out those above kind of items, and instead only focus on *actual* materials used in the job. E.g. 1m of 50mm pipe, Kitchen sink, door latch, etc. Is there any programmatic way of distinguishing between physical materials, and the above items which appear to just be anything you'd add to an invoice? I did notice that on the Materials API endpoint, there's an attribute called "item_is_inventoried" which can be "0" or "1". Although I'm not sure if that would work for my purpose. Thanks in advance!

Client Sites API

We build integration with ServiceM8 system. After researching your API documentation we have one question. We do not find any information on how we can create, update, delete or find a special client site. So the question is where we can find API descriptions for controlling client sites?

How to identify single Check In event recorded against the job

Hello, We are looking for the number, First time Fix rate, it's the percentage of jobs updated to a ‘Completed’ job status where there is a single Check-In event recorded against the job. But how to identify a single check-in event from Jobs. Let me know if you need any more details.

Cost of API access

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

Zapier Integration

Hi, I am trying to set up a zap through zapier to complete dear inventory integration and am having issues with SKU information etc - could somebody help with this?

Rest API error 400

I'm trying to get started using the REST api in python. The following code is giving an error: url = "https://api.servicem8.com/api_1.0/asset.json" headers = {"Accept": "application/json"} response = requests.request("GET", url, headers=headers, auth=('username', 'password')) print(response.text) The error: {"errorCode":400,"message":"asset requires addon activation on this account prior to use"} Please help!

DOCX total labour quantity only required

I need to display DOCX "total labour quantity only" there is no code for this in DOCX mergefield codes. I was asked by your other servicem8 team to contact microsoft support which i have they have asked where the data is pulled from & if I need to make my own coding up for this specific "total labour quantity" This is urgent as one of my big contracts requires this info on their invoices to raise PO's

Integration with Gravity form

Hi, Can we integrate this with Wordpress Gravity form plugin? Please advise. Best Regards, Naveen

Issue uploading File via API

Hi, we are pushing files to ServiceM8 jobs via the API. We have been doing it in the past without issue, but in the past few days, we've had a bunch of 400 responses from the ServiceM8 API saying that every file upload needs a timestamp. Was this change at any point recently? We haven't changed our system in the last 3 months and the images have been uploading fine until now. I can't find any notifications of changes happening to the API. Thanks.

Issue uploading attachment via API

I'm writing setting up a simple add on which will take PDFs from Google Drive and attach them to a ServiceM8 Job, for simplicity I'm doing writing all the code via Google Apps Scripts. It was a lot of trial and error to get to the point I got, however I have now come to a point which I see a few others have gotten to (by looking through the discussion threads here) but none of them seem to show me a final response. I was able to get to get an Ok message, and after a lot of trialling I have been able to get the PDF document to actually show up on the Job Diary, however upon opening the file it is empty. I had no luck at all with images, they would not even show up on the Job Diary. Here is my code: function createAttachmentRecord() { const options = { 'method': 'POST', 'headers': { Accept: 'application/json', 'Content-Type': 'application/pdf', Authorization: 'Basic email/password' }, 'payload': JSON.stringify({ active: 1, attachment_name: 'test.pdf', file_type: '.pdf', related_object: 'job', related_object_uuid: '3e31d242-2f15-4dd5-8a87-1d837d817c5b' }) }; const url = 'https://api.servicem8.com/api_1.0/attachment.json'; var response = UrlFetchApp.fetch(url, options); Logger.log(response.getContentText()); var obj = response.getAllHeaders(); var newUUID = obj["x-record-uuid"]; getAttachement(newUUID); Logger.log("New UUID " + newUUID); } function getAttachement(newUUID){ var fileToAttach = DriveApp.getFileById('1Yle6cG5EZuk_EMFd7ZE3IIUq72bspxuo'); var type = fileToAttach.getBlob().getContentType(); var fileData = fileToAttach.getBlob().getBytes(); uploadAttachment(newUUID, fileData, type); } function uploadAttachment(newUUID, fileData){ const url = 'https://api.servicem8.com/api_1.0/Attachment/' + newUUID + '.file'; const options = { 'method': 'POST', 'headers': { Accept: 'application/json', 'Content-Type': 'application/pdf', Authorization: 'Basic email/password' }, 'payload': JSON.stringify({ file: fileData, active: 1 }) }; var response = UrlFetchApp.fetch(url, options); Logger.log(response.getContentText()); } Hopefully someone can identify where my mistake is, or guide me with an alternative way of converting the data to binary (which is where I think my problem might be). Any assistance on this front will be greatly appreciated.

Custom fields API connection with Power BI

Hi, I can happily connect and read data using the standard ServiceM8 API but when I try to connect custom fields API with Microsoft Power BI (https://api.servicem8.com/custom_fields_1.0), I am getting told I am not authorize. Can anyone please assist me with connecting Custom Fields API to Power BI. Thank you

Account already exists

I'm trying to onboard some new staff who already use ServiceM8 with another company. When I try and invite them it says: account already exists. Do they need to setup another account with a different email address? Apart from that being an inconvenience for them, does that mean they need to be logging in and out all the time?