WebService Method Body

Hi,

Mark had helped me set up some web services, at least one of which I must edit.  However, when I got to do so, the body tab is not active.  Is there something I am missing?

Asked by Sheila McBride on Fri 3/29/24 11:29 AM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Brittany Renn Fri 3/29/24 12:32 PM

Hi Sheila, 

Not all endpoints have a Request Body section. Which one are you trying to edit? 

Thanks,
Brittany Renn
TDX Support

No feedback
Hi Brittany,

It was this one: Shailesh Complete PAM Review. It passed right by even though he did not review the created ticket and triggered a new ticket based on the one that triggers that web service. So a big loop.
- Sheila McBride Fri 3/29/24 1:20 PM
Could you provide the ticket ID of where this happened? - Brittany Renn Fri 3/29/24 1:25 PM
Yes, https://support.einsteinmed.edu/TDNext/Apps/2739/Tickets/TicketDet?TicketID=25098558; that was my initial scheduled ticket. Now that I look at it, it did generate a new ticket as required, https://support.einsteinmed.edu/TDNext/Apps/2739/Tickets/TicketDet?TicketID=25171116, but in so doing, it assigned all the tasks from the team ticket. - Sheila McBride Fri 3/29/24 1:28 PM
Just so I understand correctly, you do *not* want the workflow to be applied to ticket 25171116, right? If so, I think you need to specify a ServiceID property in the body of your create ticket call, since the "Privileged Access" service has a workflow being auto assigned.

The web service method is the "Asst Dean Review Group Membership" one and you should try adding a property for:

"ServiceID":"1234",

Just be sure to list the ID of a service that doesn't have a workflow assigned to it automatically.

Let me know if that helps!
- Brittany Renn Fri 3/29/24 1:43 PM
Hi Brittany,

Okay, I did a few things. I took the service that had the workflow off the form. I created a new service for the Assistant Dean component and added that entry to the workflow method body. I want to talk to the Assistant Dean about sending through more tests so he doesn't get confused. I will let you know.

In the meantime, if I did want to add to the body of one of the other methods that doesn't allow me to edit the body, what do I need to do?
- Sheila McBride Fri 3/29/24 2:30 PM
That method is just a GET ticket method, so that is just getting the ticket details, it isn't modifying anything about the ticket. If you're wanting to have a method actually make changes to the ticket then you would need to create another method to do that. - Brittany Renn Fri 3/29/24 2:32 PM
Got it! Thanks! - Sheila McBride Fri 3/29/24 2:33 PM