Discussions

Ask a Question

Connecting to spare parts websites

Is it possible to have a spare parts website open within the job card. Where these parts can be added as items - pulling ; title, cost price, and other product info?

Xero removal

Just wondering if we have to have a Xero subscription with ServiceM8 as we primarily just use serviceM8 invoice tracking system and stripe to receive invoice payments. If we don't have to have a Xero account connected to ServiceM8 what are the negatives that we will suffer?

Invocing payment terms

Hey, I'm just wondering if there is a way to change my serviceM8 invoice due date to 10 days from job completion/dispatch of invoice. I know you go into settings > preferences > invoicing > invoicing terms but there are only options for COD, Pre paid, 7, 14 and 30 days. I know you can make a specific one for each client but just wondering if theres an easier solution.

How to get the job details from ServiceM8 to Zoho CRM?

Hi folks, I'm trying to push the job details from ServiceM8 to Zoho CRM when a job is created. However, I'm not sure what endpoint to use to get the **Email, Name, Phone, and Mobile**. This one is a good example, however, it does not have the above details I need: **curl -u email:password "<https://api.servicem8.com/api_1.0/job.json?%24filter=company_uuid%20eq%20'10420f98-7626-4405-bf43-043f1036623b'">** Also, if you can please suggest a way to get the job details pushed to Zoho CRM (Webhook, Rest API, etc), I would highly appreciate it. I'm not a programmer, so every step that I take here would require me a lot of research. Please make it layman's. Thank you!

Can I know which API endpoint I have to use to remove the job from the queue?

Can I know which API endpoint I have to use to remove the job from the queue?

Form Response API

Hi, I need your help regarding the form response: 1. I want to capture "Job Id" when the form submit (example: When a form is submit using JobId=2141 then I want to get that Id in a JSON response when a form submit. 2. How can I send email using a specific jobID

Oauth2

Can someone please help me. I need just the oauth2 steps to add to the start of my excel power queries as now 2 factor has been implemented they no longer work with just basic private log in. This below is what I have so far and it returns the jobs in the power query window but will not upload to worksheet as the down load has discontinued due to this error in the token response: DataSource.Error: Web.Contents with the Content option is only supported when connecting anonymously. Details: DataSourceKind=Web DataSourcePath=<https://api.servicem8.com/oauth/authorize> And this error at end of query: 'We couldn't authenticate with the credentials provided. Please try again.' Query: let // Get the API Token api_url = "<https://api.servicem8.com/">, token_path = "oauth/authorize", ClientID = "588360", Secret = "0874cda820434972bf572069342b53db", ``` EncodedCredentials = "Basic " & Binary.ToText(Text.ToBinary(ClientID & ":" & Secret), BinaryEncoding.Base64), Token_Response = Json.Document(Web.Contents(api_url, [ RelativePath = token_path, Headers = [#"Content-Type"="application/x-www-form-urlencoded",#"Authorization"=EncodedCredentials], Content=Text.ToBinary("grant_type=client_credentials") ] ) ), // Get the token from the API response token = Token_Response[access_token], ``` // Query the API for Transactions between startDate and endDate and return all fields path = "api_1.0/job", endDate = "2023-09-17 00:00:00", startDate= "2023-09-11 23:59:59", fields = "all", ``` data= Json.Document(Web.Contents("https://api.servicem8.com/api_1.0/job.json?%24filter=active%20eq%20%271%27")), #"Converted to Table" = Table.FromList(data, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"uuid", "date", "job_address", "work_done_description", "generated_job_id", "completion_date", "company_uuid", "payment_processed", "total_invoice_amount", "purchase_order_number", "status"}, {"Column1.uuid", "Column1.date", "Column1.job_address", "Column1.work_done_description", "Column1.generated_job_id", "Column1.completion_date", "Column1.company_uuid", "Column1.payment_processed", "Column1.total_invoice_amount", "Column1.purchase_order_number", "Column1.status"}) ``` in #"Expanded Column1"

Return Paramenters

In the response body where you create a job it returns an ok code. It doesn't give the UUIUD or the Job number so we can't map it back to anything. This is severely limited what am I missing when I create a new job how can I see what job number was allocated?

Zapier Price

Hey, At the moment we use zapier to create jobs in service m8 when they have been won by the sales team in another CRM. It creates a new quote and can add name,phone,email etc. but there is no option to move the price over. Is there a way to make this possible?

When using the api to add an attachment to a job it is marked as inactive and is not showing in the job

Even using the API reference to test is as show here has the same results var options = new RestClientOptions("<https://api.servicem8.com/api_1.0/attachment.json")>; var client = new RestClient(options); var request = new RestRequest(""); request.AddHeader("accept", "application/json"); request.AddHeader("authorization", "Basic REDACTED"); request.AddJsonBody("{\"active\":1,\"related_object\":\"Job\",\"related_object_uuid\":\"98e0214e-6061-4437-bfde-206884498f5b\",\"attachment_name\":\"TV Version.png\",\"file_type\":\".png\",\"attachment_source\":\"M:\\\\RFMS\\\\Swift\\\\\",\"uuid\":\"4429a30b-c2af-450c-983b-20688a951e4b\"}", false); var response = await client.PostAsync(request); Console.WriteLine("{0}", response.Content);