Hard-Coding Email Address into Web Service Method

I am attempting to use a Web Service Method to send an email to a third-party email address (hard-coded, it will always be the same address). I have started the method using the steps found at https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=18979 , but instead of using the Requestor's email address, I want to use the desired recipient.

This is the code that I am using in the body of the method:

{"Comments":"This is a test comment.","IsPrivate":true,"Notify":["address@domain.com"]}

In testing, the method runs successfully, but does not send an email. Would there be a way to resolve this to get the method to send the email to the desired address?

* Alternatively, if there would be a way to include Customer type users on Notification steps, that would make satisfying the use case much simpler.

Thank you.

Tags email notification workflow web-service
Asked by Anderson Hanchett on Tue 12/6/22 7:55 PM
Sign In to leave feedback or contribute an answer

Answers (2)

This answer has been marked as the accepted answer
Anderson Hanchett Wed 12/7/22 11:05 PM

Thank you, Mr. Sayers:

The issue has been resolved. It was a problem with my syntax.

The proper syntax is as follows:



No feedback

Mark Sayers Wed 12/7/22 9:59 AM

Hello Anderson,

Do you have a person record in your system for this email address? If so you can add them as a contact of the ticket in question then try your web service method again.

No feedback
Good morning, Mr. Sayers:

We do have a record of the contact as a "Customer". Ideally, we would want to be able to automatically send a notification to their email address for all tickets of the service using the workflow without having to manually add them as a contact for every such ticket.
- Anderson Hanchett Wed 12/7/22 10:35 AM
Which API endpoint were you trying to use for this? - Mark Sayers Wed 12/7/22 11:06 AM
I am using our base Web Service Provider URL:

POST: https://[COMPANY].teamdynamix.com/TDWebapi/api/[APP ID]/tickets/{{id}}/feed
- Anderson Hanchett Wed 12/7/22 12:33 PM
Have you been able to get it to notify even the users who *are* involved on the ticket like the Responsible or the Requestor via that endpoint? - Mark Sayers Wed 12/7/22 1:02 PM
Yes, I am able to notify users involved on the ticket if drawing the information from properties from the ticket (such as Requestor's Email). The method also worked when testing as the values were input manually.

This raises the question if
- Anderson Hanchett Wed 12/7/22 1:36 PM