Discussions

Ask a Question

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.
ANSWERED

API integration with 3CX phone system

Hi there Does your API integrate with 3CX phone system?

Automated Invoice and Price List Import

Hi Team, Our business has quite a few customers that are using Service M8 and we have been asked if there is a way they could automate the import of our invoices and price files into Service M8. Currently I see there are a few options available to import invoices and price files for Service M8 users: https://support.servicem8.com/hc/en-us/articles/360001174576-How-to-use-the-Automated-Supplier-Import-Add-on https://www.servicem8.com/addon---Supplier-Invoice-Import?uuid=5476fd38-afa3-413f-a520-819da14a3a1b However we would like it if we could potentially extend these functions to work with our system. We have available an existing API that allows for third party systems (such as Service M8) to register customers for automatic exports of invoices and price files. Once a customer’s account has been successfully registered (for either invoices, price files, or both), a CSV file(s) will be exported on a daily basis containing current data. This exported file can either be sent to your destination via FTP, FTPS, SFTP or if no such destination has been configured it’s content will be made available in a JSON web response. We would be happy to add email as a destination to easily integrate with your add-on, however we would need the Service M8 system to send our API the details. Is this a possibility? Cheers John

Job edit_date

Hi there, I am working with the API for a client to synchronise push data into ServiceM8 and keep this synchronised with another system. My issue is that I am creating jobs via the API, and the 'edit_date' field, which appears to be the date/time of the change, is 2-hours in the future. The account preferences have the timezone correctly set to GMT+8 (Western Australia), I have not been able to locate any other options for this. Is there any reason or any setting that needs to be changed for the API to return the correct modified time? Or even better, is there a means available to work with unix timestamps?

How to access attachments

Hey so I can see the endpoint to access attachments but I fail to see how I can download or find a URL for those attachents. IE I would like to display the invoices and photos from a job card in my app. What options do I have here

Oauth2 /api/user endpoint?

Is there any way to get the currently authenticated user details from either the API (once authenticated) or during the oauth process? I only need email address (or some unique identifier) but the docs don't seem to suggest its possible...

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.

Blocking out calender times

Hi, Is there a way to block out my ServiceM8 calender into specific allotments of time that have a title that I can then book relevant jobs over the top of? I know i can import my external calender from google etc, but these items only come up as busy in ServiceM8 and isnt useful if i want other people to book things in for me in the correct time slot. For example every monday morning i have appointment between 7-10. My assistant can see this in the service m8 calender and schedule my appointments in this time slot. Other staff members can see that monday morning between 7-10 i am out on appointments even if they have not been scheduled in yet.
ANSWERED

Power BI: View as much data as possible

What is the best way to get as much as possible data in power bi from our service m8 account? We have multiple franchises that use the program, but how do I go about accessing all the data to deliver proper in depth statistics?

Retrieving an attachment via the API

I can see attachment name and filetype - but no way to retrieve the attachment itself... Ironically getting badges PNG files was easy! See below - how to get the same for the attachments?? https://servicem8-nvc.s3.us-west-1.amazonaws.com/servicem8_ec2280/custom-badge-images/badge_7eaab77a-5b29-4e7e-8113-3329696a072b.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Security-Token=FQoDYXdzEPf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDN0rtl1Z%2FSARF3olUyK3AxZlhr4pBqtgPeoVrqCv9QQg%2FdawFmbTj3f89o%2BVPoh2wZJXxD%2Ffz5HrpqnzzFVvpHAQ%2B69GZ%2F0r12A%2BlUNKJh%2BkiiefqC6drvQzuvfz3D9AsxMuPCM%2F5oe%2FpbtKjrNPG8hQQO%2FOMwknkyVehbJRKMMeuIeMoOXYN58DaBgAAugZamLoLOhbkNzVL4NKugdZhIjsNRbiGkO10i%2FIO4oeIxZjYAsQgDb3WzJypbAtWhMyhqRbQ4e1yTlK%2FkmCVynmSGnsY8gfkQrq76nZjeyTfmMks9Sx4%2BEfZ3lEWQCC6mNci1sOO%2BofRbb%2FC3C2SPCwEKuycpvmf1sAAeR1oAmv9EKIC9rG3SjLZICAvCSaHap8yvTHR6H4%2BhfcVDUdzcyVnkLsibecLUG%2FtERlx%2BCXlldo4dmy%2BCOcyde9yYZ8ohBoDKR4b7Xww5c8UIWp89N5clcXB%2BzlyAIA66%2F%2B652t3Mx2TJJfsTDSOmPHjCI%2FJB9RtMcQlTDkps24y%2BD5Sg2ERSsl6kITyIVK902%2Fj7gbeD%2FqobIPGW40cD2Y0Y9k8%2FZIw%2FYbkViSjVJPSquKpGOcA0EnZuFdnHYow%2Bm01gU%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAISH2T5TC3V2Y7I3A%2F20180410%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20180410T225154Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=d094813e825837705a176245c1d6c22a75a6c0fb4ce097c162da30d2a58bc086