I'm requesting incidents using the API and I need to grab the resolution date attribute from the output, but can't seem to find it. Does anyone how to extract said information?
Can you add a description of the workflow you are trying to achieve?
Hi @tony.johnson ,
I'm making a request to https://api.samanage.com/incidents.json
REQUEST-> 'api.samanage.com/incidents.json' OUTPUT-> {'id': 57056039,'number': 62776,'name': '@APPS JDE1 - new locations to be added','description': '\n\n\n\n\n<div class="WordSection1">\n<p class="MsoNormal"><span>Good Morning.\n</span></p>\n<p class="MsoNormal"><span>The following new locations are needed to be loaded into JDE:</span></p>\n<p class="MsoNormal"><span> </span></p>\n<p class="MsoNormal"><b>Site Loc. Description Physical Address</b></p>\n<p class="MsoNormal">31087 – Lake Elsinore Yard Mountain Yard 10050 Black Mountain Rd. San Diego, CA 92126</p>\n<p'state': 'Assigned','priority': 'Low','category': None,'subcategory': None,'assignee':{'id': 2850502,'name': '.Applications','description': 'IT Applications Team','disabled': False,'is_user': False,'reports_to':
and in the .json output there are attributes associated to a given incident in SolarWinds.
Ex. Incident ID , Incident Number, Name, Incident Resolution Code.. etc.
what I'm doing is grabbing a few of these attributes to import data into a table in SQL server and I was looking for the resolution date, Meaning I wanted the date the incident was resolved. The only thing I can find from that request is the 'Custom' attribute that provides a date but it seems to be a little off when cross referencing with what the actual resolution date in the SolarWinds system.
and I'm looking for wither another way to get the resolution date, or an explanation as to why it might be a few hours off of the actual Resolution date.