Does any one know the API command to resolve the tickets with resolution? When we tried, it is coming as NA
Thanks Ivan. I have received the below also from support
Hi Binosh Moothedan
Go ahead and open a support ticket (firstname.lastname@example.org) so they can check with engineering for you
Dedicated to your success,
I'm not 100% certain that I'm understanding what you're trying to do, but if I'm correct in my assumption, it sounds like you would like to set an existing incident's state to Resolved and while doing so add a solution. Similar to when you're looking at this screen:
If this is what you're referring to, than I may have something that can help you.
When you're setting an incident's state to resolved and decide to create a new solution by checking the box at the bottom, you're essentially creating a new solution in your solutions list and simply attaching it to the incident. With that in mind, I think what you would have to do is first create a new solution via the API and then update the incident to 1) update the state to resolved 2) attach the new solution you just created via the API. For example:
Create New Solution via API - POST https://api.samanage.com/solutions.json
Update Existing Incident via API - PUT https://api.samanage.com/incidents/INCIDENT_ID.json
I hope this helps out!
That's good to know, thank you for sharing!
Retrieving data ...