API Endpoint / Structure to Create a Ticket

Hello,

In searching the documentation, I am not seeing an endpoint for creating a ticket (and the suggested structure for the body/payload).

Here is the nearest section where I would expect to see it: https://services.ku.edu/TDWebApi/Home/section/Tickets

I could make some guesses, but have hit a few errors with guessing the end-point / attributes so thought I would ask.

 

Thank you!

--Robert

Tags API
Asked by Robert Tonnies on Fri 3/22/24 9:24 AM Last edited Fri 3/22/24 9:53 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/22/24 9:52 AM

Hi Robert, 

The endpoint for creating a ticket should be the last one in the tickets section: https://services.ku.edu/TDWebApi/Home/section/Tickets#POSTapi/{appId}/tickets?EnableNotifyReviewer={EnableNotifyReviewer}&NotifyRequestor={NotifyRequestor}&NotifyResponsible={NotifyResponsible}&AllowRequestorCreation={AllowRequestorCreation}&applyDefaults={applyDefaults}

We don't typically provide example call bodies but there is one in this KB article that might help: 

Hope this helps! 

Best,
Brittany Renn
TDX Support

No feedback
Hi Brittany,

This is very helpful, thank you!

We are also interested in whether there is a way to create new Configuration Item attributes via API. Any suggestions welcome.

--Robert
- Robert Tonnies Fri 3/22/24 9:54 AM
You're welcome! And yes, the endpoint for creating a new CI should be in this section here: https://services.ku.edu/TDWebApi/Home/section/ConfigurationItems - Brittany Renn Fri 3/22/24 9:55 AM
Yes I see several end-points for CI interaction, but not seeing one to create CI Attributes (which currently are created in the Admin panel, one at a time). I'm looking here for available endpoints: https://services.ku.edu/TDWebApi/Home/section/ConfigurationItems - Robert Tonnies Fri 3/22/24 9:57 AM
The custom attribute APIs are handled in their own section, but it isn't possible to create them via the API currently. Here is the section for those, though: https://services.ku.edu/TDWebApi/Home/section/Attributes

I would probably suggest submitting this as an Enhancement Request so that kind of feature can be considered for future versions: https://solutions.teamdynamix.com/TDClient/Requests/ServiceDet?ID=2148
- Brittany Renn Fri 3/22/24 10:00 AM
Will do, thank you Brittany. - Robert Tonnies Fri 3/22/24 10:01 AM
You're very welcome! - Brittany Renn Fri 3/22/24 10:02 AM