Discussions

Ask a Question

Issues with adding 3 contacts via JobContacts endpoint/api

{ "active" : 1, "email" : "denisp3@iinet.net.au", "first" : "Denis", "job_uuid" : "e153b4bd-6551-4f96-94ac-697b9770a69b", "last" : "Pasquier", "mobile" : "0405159019", "type" : "Job Contact" } added 3 contacts - I can only see them via the mobile client, not the web client... Had the same issue with JobAllocation - and adding end timestamp solved it, but nothing comparable here. Seems like a bug in the API, as I can query and view via API AND mobile app, just not on web...

Example in documentation not working

Copied and pasted example from https://developer.servicem8.com/docs/client-api ```javascript <script src="https://platform.servicem8.com/sdk/1.0/sdk.js"></script> <script type="text/javascript"> var client = SMClient.init(); client.resizeWindow(450, 600).then(function(result) { console.log("Add-on Window Resized"); }); </script> ``` Results in: > **Invalid Response Received** > '\n console' Any suggestions?

Webhook on form completion for asset...

I am wanting to receive a specific field from the form (a date field) and information from the Asset fields for the asset the form was completed against. Are webhooks supporting assets and forms?
ANSWERED

Can we push enquiries into Service M8 in with a webhook?

Is it possible to use a webhook to push an enquiry into ServiceM8? Using the email address option is not possible

Access to the underlying data source

Hi technical support. I am looking at servicem8 for a franchisor (electrical contracting) as part of the detailed review. I understand from support that in servicem8 each franchise would be in their own data source. in the event that we would want to do consolidated reporting across the franchises would we be able to get a connection string to the database - and which database do you use - for the purposes of generating consolidated reporting for the franchisor. Also, do you host through AWS - this would be advantageous for us as AWS provide some 'acceleration' to south africa to contain latency. I look forward to hearing from you.

Formresponse Webhook

I would like to run a simple java script function when a certain form is completed passing information with the form responses and the asset it was completed against to integrate into our systems. I cannot find a way to subscribe to any form type webhooks. Regards,

OAuth Scopes

Is there a way we can find all OAuth scopes required for the servicem8 API? Only some of them are listed. For example, the https://api.servicem8.com/api_1.0/note.json endpoint does not list a scope to be able to interact with the endpoint via OAuth

Custom Fields need DEFAULT value

In general, database fields frequently need default values. In particular for Custom Fields in ServiceM8 on a Company object, since the custom fields do not even appear for data entry when a new client is added (as tested today 8 Aug 2018), custom fields especially need a default value. There is currently no way to specify that through the API. Is there any chance this feature can be added, and if so, roughly when? Or could the browser UX be fixed so that Custom Fields appear when a Client is first added, not only afterwards during an Edit ?

Invoicing and reporting - faster?

Hi, all. We currently use ServiceM8 for rental compliance reporting for Victorian property owners. The process of compiling reports and invoices is VERY tedious and manual. Has someone whipped up some API magic to get this to happen faster? Manny

API filtering with special chars does not work as expected?

Hi, As mentioned in this StackOverflow question. https://stackoverflow.com/questions/51185680/api-filter-query-does-not-return-values-with-special-characters I cannot find a way to correctly filter using the API on names which have single quotes in them. For example KOEN'S TEST and KOENS TEST. The API is not able to filter these out? Or maybe I am not sure how to make the correct filter?