Discussions

Ask a Question

The new API throttling

Hi ServiceM8, It seems that the REST queries have throttling changes? I see that your documentation was updated today. (Separate to the new webhook throttling.) Can you clarify if it's per application? So if two applications are being used with the one account, do they have their own limits? (You've said in the docs that it's application and account specific.) My client has Servicem8 SDK addons that are UI based, querying data along with webhook based synchronisation. Are they combined in the 20,000 requests per day limit, if I wrote them all? Each staff member will be triggering queries, when loading job and client tabs for example - which should be expected. I'm fetching all changed data triggered via a webhook, so my client can do their own database based reports, since your own filter query logic is very limited. These are starting to fail, for when I request the updated data, I'm getting hit with a 429 response code. I'm also checking every 24hrs on all objects that are not matching between your data and the data updated via the webhook; since your outages the other week...which is adding to the requests, but we have to have faith in the data coming from servicem8. I'm not clear on how I can re-request that data 24hrs later, since new requests will have been made in the meantime. Further, as my client adds more and more jobs, the 20,000 limit won't change? They have nationwide plans. If the limit is across all applications for one account user, then are there ways to have the limit raised? Can it be a % based on the number of jobs and clients (modified in the past 12 months perhaps) an account has? Is the limit applied from midnight somewhere or is it a rolling 24hrs?

API Access

Hi there, My Zoho Expert has requested API Access. I'm not exactly sure how to ascertain this, so your help would be greatly appreciated.

Material Search / Save bug

Hi, I have discovered a case-sensitive bug during my development of an add on. 1. When I run my API get request for a material by the Item number, Let's say the Item number in ServiceM8 is 'LABOUR', but my GET request has item number as Labour; With the filter equal to, I get no result. 2. my next logical step is, I first need to create this material before adding it to the job. So i create up the data object. 3. When I then go to 'Create' the material using the end point material.json with posted data that has the item number as 'Labour', Guzzle returns a 400 bad request error from ServiceM8. 4. I then log in to ServiceM8, and update the material item to Labour, and rerun step 1 and voila my GET material by Item Number returns a uuid, and I know that I don't need to create one. Alternatively if i delete the material then I run steps 1 through 3 without any issues. The issue: What I believe is that during a 'create' the validation that is taking place, isn't the same as what is happening during the GET request. The 'create' is not performing a case sensitive validation, and so, it is finding the material and returning a 400, where the GET is returning a 200 because it is performing a case-sensitive validation and finding no results. This makes it difficult when working with clients who have already created their own materials, and will have either casing or mismatched casing in their materials item numbers. Ideally, it would be preferred to operate where a compare is non-case-sensitive, and then in the filter we can overwrite, or vice versa.

Can custom fields be used as the Job Number

Hi there I am helping a client integrate ServiceM8 with his existing business database. He wants to see the database job number instead of the sequential job number. Is this possible? TIA Paul

Online Enquiry form in a different language. API

I've been directed here to inquire on if someone can build me the online enquiry form in the french language and have leads sent to the same place as english ones within servicem8? I would provide the copy, its only a handful of lines of text! thank you Phil

GET A QUOTE

How do you integrate the software with 'get a quote' button on the frontend of WordPress website?

issue with moving Job Bookings

Hi, Since a recent update we have been having issues with the App Shutting down when we go to move a job booking, when the date/time is selected the app shuts down and then we need to re-open it. Just wondering if there is a patch or can we do something to correct this issue Please ?

Error logs and reports

Is it possible to get or set up error logs? I get reports of clients attempting to use the online booking form but they get errors. Being non-technical people, they are unable to give me specifics of the error but a log would hopefully point me in the right direction.

ASCII Character Encoding?

We noticed that some data we are sending in Json comes out garbled in the Web UI. i.e. Apostrophes (') shows as âEUR(TM) Dashes (-) shows as âEUR" Do we have to encode differently? The JSON looks correct to my understanding. ContentType = Application/Json And Encoding is default UTF8.

Connection Error

The request was aborted: Could not create SSL/TLS secure channel