Discussions

Ask a Question

Ressponsibid Subtitute

Hi Does anyone know a quoting/proposal building software that works like Responsibid that integrates with SM8? We cannot find an alternative that generates 3 packaged at the end. Any ideas would be appreciated :) Thanks

Inbound and Missed Calls API

Hi All, Wondering if anyone's found a workaround in getting an API generated for the Inbound and Missed Calls taken in ServiceM8 so we're able to export this information into Wink.

Using Basic Auth to retrieve jobs via API results in Cloudflare 503

Our Job retrieval for 50+ ServiceM8 Accounts stopped yesterday after being intermittent. Our system cannot connect to the API service. We're nowhere near the 20,000 limit per account. I tried connecting via Postman and I'm getting this 503 Error: The Lambda function associated with the CloudFront distribution is invalid or doesn't have the required permissions. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront) Request ID: 5XQptif0oOceFC9KRimW89tiVrqgOAFEikqVj4DUzldXxLx3DqZB2g==

More than 10 items on the "service report" inbuilt into service8?

I'm not a developer, servicem8 has pointed me here as this is my last resort on being able to persist with servicem8. I need to be able to produce service reports using something akin to the inbuilt feature in servicem8 but with 30 or so responses per asset. The inbuilt system only allows 10. I have not had much luck getting any definitive answers/results and Servicem8 can only really direct me here or to their partner directory. Is there a way to be able to do a form per asset with about 30 questions as a maintenance checklist, and then at the end of the job have a "service report" compiled from all of the forms like usual, but showing the answers to all 30 of those questions per asset? I don't think I care if we do a portion of the work is done outside of servicem8, so long as the asset shows a maintenance check has been done in its history, some of the asset information is populated onto the service report and the service report is created and put into the job diary when the job is completed. Can anybody solve my problem for me?

Is there a list of all rest API's

Is there any published list of all rest API's?

F-gas

Has anyone created an add for F-gas compliance?

How do you set head office?

ServiceM8 has set my home as my head office, how do I change that? I’m new to this app, is it designed to be used from a computer. I’m using it it with my phone at the moment. thanks

Bundle max materials

Yet another frustrating hurdle in ServiceM8s system. Just found through trial and error there is a maximum of 50 materials allowed in a bundle. This is not stated here: <https://support.servicem8.com/hc/en-us/articles/5508775009423-How-to-use-the-Bundles-Add-on> nor here: <https://developer.servicem8.com/reference/post-materialbundle-create> This has not only wasted a lot of my time (again), this severely limits capabilities and my ability to establish a way to group of materials. Please open this limit up as there is none stated and/or have someone update your documentation addressing the many flaws submitted by the developer community.

Addon API request method

Been following the documentation and sample addon 'showcase-addon'. This returns error message: Invalid Response Received No Response Received Have done lots of debuggingg to see whats up but seems that calling this just fails: request(options, function (error, response, body) {... I can embed vanilla API calls in the Addon frame source using Basic and Oauth Bearer methods (below) which are successful. Ideally API calls should be made serverside so would like to know why the SDK method 'request' is not working? ``` const Basic = async () => { const response = await fetch('https://api.servicem8.com/api_1.0/job/xxx-fd18-4f8e-8ca5-20169bf518cb.json', { method: 'GET', headers: { 'authorization': 'Basic xxxx', 'accept': 'application/json' } }); const myJson = await response.json(); console.log("Basic: " + JSON.stringify(myJson, null, "\t")); } Basic(); const Bearer = async () => { const response = await fetch('https://api.servicem8.com/api_1.0/job/xxxx-fd18-4f8e-8ca5-20169bf518cb.json', { method: 'GET', headers: { 'authorization': 'Bearer 75803-apse2-xxxxxxxxxx', 'accept': 'application/json' } }); const myJson = await response.json(); console.log("Basic: " + JSON.stringify(myJson, null, "\t")); } Bearer(); ```

Assigning service name to job number

I need to find a way to get a report that shows the service name/type from the services add on, and to have it linked to the correct job numbers so I can work out which services are more profitable for the business. I know that there are ways to do it as I used to use a 3rd party program that was pulling that data from serviceM8 for their custom reports, but I have not yet been able to find anything in the openAPI that allows for this, there is no custom field in the jobs API that shows the Services uuid or any of the other public URL's I have managed to find the services API that is similar to the Category API under the URL <https://api.servicem8.com/api_1.0/service.json> So i was wondering if there was a specific endpoint that I needed to call that is not showing on the website? Any help would be greatly appreciated