Discussions
"Retrieve a Client" causes add-on to timeout
I'm attempting to create something very similar to the Tasks tab on the Dispatch Board. The code below works but timesout if I replace
Did Hello World Add-on walkthrough video but button isn't showing?
I followed the steps in the "Hello World Add-on" walkthrough video https://servicem8.wistia.com/medias/wq8m85x2ib but the "Hello Action" button isn't showing on the Modify job window?
Error authorising ServiceM8 to execute lambda function
As per https://github.com/servicem8/addon-sdk-samples/tree/master/hello-world-addon-python , I have set up an AWS account and created an index.py :
https://us-east-2.console.aws.amazon.com/lambda/home?region=us-east-2#/functions/servicem8-addon-sdk-hello-world-function
Typo in addon-sdk-samples/hello-world-addon-python/README.md?
Should
“3. Upload index.js to your lambda function”
be
“3. Upload index.py to your lambda function”?
Styling Services Addon in an iframe with CSS to match rest of site
Hi there,
How to Get Staff Bookings by Staff UUID
I've been looking through the API and I can't figure how to get all the booked jobs for a staff member using staff uuid.
Clock On Clock off data
Hey just rehashing an old question. Can we modify clock on clock off data yet??
Also has there been any other change to the endpoint and how it works?
Company API filters return empty results when special characters are used
When using the Company API with name filter and the checked value has special characters like ' or & the results are empty. I've double checked and company I'm looking for exists.
Viewing the console
If I edit the code for an addon online, within the addon itself and then test it on a job or client card, how can I view the results of console.log?
Posting to Attachment API is not working
I am getting 404 errors when trying to GET an attachment.
First I POST to https://api.servicem8.com/api_1.0/attachment.json which gives me a 200 and x-record-uuid value. I then use this x-record-uuid value and perform a GET to https://api.servicem8.com/api_1.0/attachment/x-record-uuid.json. I now get a 404 which makes it impossible to send the actual attachment. This was previously working, but has stopped over the last few days. Any ideas?