Discussions

Ask a Question

Create one custom addon

i need to create addon bellow are fuctionality i required - provide check box into job - make duplucate quote if checkbox are checked on create job

When using ".file" extention on attachment request I receive "0" response status

I need to download all jpg's attached to a job. I have a excel sheet that stores all the UUID's of the attachments and I cycle through each of the .jpg attachments with the following requests: base_url = "<https://api.servicem8.com/api_1.0/attachment/{attachmentUUID}.file"> xmlhttp.Open "GET", url, False, M8Username, M8Password With the ".json" extension I am able to view all the attachment of a job but when I use the ".file" extension all I receive is a status of "0" and no response data.

Attaching files via the API

In the developer docs (<https://developer.servicem8.com/docs/attaching-files-to-a-job-diary>) for adding attachments to jobs via the API, should the endpoint for submitting the attachment data be POST <https://api.servicem8.com/api_1.0/Attachment/2404fbd2-cff6-4222-86b4-54a6ea4dbb8b.json> instead of POST <https://api.servicem8.com/api_1.0/Attachment/2404fbd2-cff6-4222-86b4-54a6ea4dbb8b.file> ? (IE .json instead of .file) ![](https://files.readme.io/7726338-Capture4.PNG) The docs for attaching files indicate it should be .json -> <https://developer.servicem8.com/reference/post-attachment-single> ![](https://files.readme.io/8f329cd-Capture5.PNG) Thanks Hamish

I'm a Subcontractor but I also do my own work

how would I go about allowing another company that I work with have access to my calendar I.e if I have booked a job it shows them I’m busy but also allows them to book jobs in for me? I have my own company but I also contract for one other business and we both book jobs in for myself and a couple other workers I need the other company to have booking abilities on mine and my worker’s calendars while also being able to see when we are busy p.s we both use service m8

Notifications For New Jobs

Just wanted to know if there is any way to receive notifications whenever a new job has been created within ServiceM8? We currently have a Google Ads lead form asset set-up via Zapier and would like our client to be notified whenever a new job is created. Is this possible or is this feature being added?

React / Component Frameworks

Wondering if anyone has been able to successfully use a modern approach to developing a web application within SM8. ServiceM8 seems to currently support vanilla JS.

Custom Styles

We are developing a large addon and would like to use our styles. Looks like when we are loading our plugin the styles (CSS) are being overridden, how do we prevent this?

Screen Pop

A year ago another user asked a question about Screen Pop which was never answered. I have the same need. We are a Melbourne based developer who build integrations for Telstra. When a customer calls, we can extract their phone number and push it to any CRM type solution such as Salesforce, Zoho, Dynamics, etc. We normally append the phone number to a customer info URL and complete the lookup. However, ServiceM8 does not show the url per customer. Do you have any way that we can achieve this? Your API documentation makes no reference to anything like this. We could also send a restFul payload containing the phone number if you had some way to handle it. I believe this would be a great benefit to the solution.

Job/Job Activity APIs stopped working

Hi, SM8 is returning the Internal Error on our Job/Job Activity API calls ("<https://api.servicem8.com/api_1.0/job.json?%24filter=active%20eq%20'1'">). There is not much data (no more than 1,000 records). Everything was working till Saturday morning (i.e. 2/12/2023). Is there a problem with your Server? Thanks, Andriy

API - Create a new Job

I am using JavaScript to create a new job via the API. The documentation states that "a UUID will be automatically generated for the new record and returned in the response header as x-record-uuid". When I examine the response headers the only keys that are available are: cache-control content-length content-type expires Can anyone please shed light on where I can find the UUID? Thanks