Discussions

Ask a Question

ServiceM8 emails

My client is using the Rest API to connect ServiceM8 to their local software platform. While I have the basics working, I am stumped on emails. The emails that are sent out of ServiceM8 are stored in the diary and are tagged as emails. They are using the inbox to do this. What they want me to do is retrieve the emails as shown in the diary, and if possible write emails from their system into to the diary. This would bypass any SMTP/IMAP/POP functionality. By the time I am doing this, it has already been sent, or received. I just need to get text into, or out of, the diary, and have it marked as email in the diary. So, what am I missing? I fear it might be really simple! How do I read an email from, or post an email to, the diary? TIA Ken Moorhead

Downloading Attachment files

I've seen a number of questions about using the Get Attachment (<https://developer.servicem8.com/reference/get-attachment-single>) answered by saying to change the .json to .file at the end of the URL (<https://api.servicem8.com/api_1.0/attachment/71cb7-snipped-8a.file>), but no matter what I try I can't seem to get the actual file downloaded - the initial response comes out as: StatusCode : 200 StatusDescription : OK Content : {255, 216, 255, 224…} RawContent : HTTP/1.1 200 OK x-amz-id-2: IRrZIUNzBkM<snipped>WDkw x-amz-request-id: MAG06K4JE6NNE7WJ Date: Tue, 09 Jul 2024 08:30:49 GMT … Headers : {\[x-amz-id-2, System.String\[]], \[x-amz-request-id, System.String\[]], \[Date, System.String\[]], \[x-amz-replication-status, System.String\[]]…} RawContentLength : 30236 RelationLink : {} Attempting to pull the Content or RawContent data doesn't seem to yield the .jpg buried in all this, although when I paste the URL directly into a browser I can see the image so I can see it's there. I'm working in PowerShell, but have tried using curl with the same basic results. Can someone please point me in the right direction?

Error when create a Job by Make (Integromat)

Hi, i'm making an automation in Make (Integromat), the automation ends creating a job, and it works, but just sent me at the this error: type RuntimeError message [403] insufficient_scope. I need the Client UUID but i cant get it, i think is because this. ![](https://files.readme.io/f804592-image.png) <br /> I need the scopes. I want to make a update when i get a different trigger, but i can't advance it 'cause i can't get the job id.

Create one custom addon

i need to create addon bellow are fuctionality i required - provide check box into job - make duplucate quote if checkbox are checked on create job

Same quote to different Clients

hi, I've created a quote in the system for a project that multiple builders are trying to win. Is it possible to copy the quote but change the receiver? I would also need to keep a history of who has been sent the quote as this will occur 3-4 times when tendering work.

Send email and sms with in built form fields

I'm currently retrieving my email template created in the front end with form fields included (like {job.billing_contact_first} or {document}, and then using the body of the retrieved template to send an email through API. When the email is received the form fields are coming through as plain text instead of being converted to values. I assume this wouldn't be the expected behaviour is it?

Using the ServiceM8 API, is there a way to rename files attached to filled-in forms?

ServiceM8 automatically names documents attached to filled-in forms using the pattern: “Form Name by User". We have a client that has a lot of these with the same name, so we are inquiring if there's a way to update the filename on ServiceM8 through the API?

Adding email and sms to job diary

Is there a way to save emails and sms that are sent using the API to the job diary?

Export asset registry data to Excel/CSV

Hi there I need to export an asset registry to excel

Knowledge Request - created by / edited by / edit date

It would be great if Knowledge saw the same level of interaction tracking as we see it almost every aspect of ServiceM8 as well. Being able to know who created or edited a Knowledge record and when would be a huge improvement to (at the very least) the backend (and ideally customer facing as well).