##EXTERNALTICKETID## in Alert API


Recommended Posts

  • LogicMonitor Staff

Hi Josh,

We aren't adding any new features to our RPC API as it was deprecated at the end of last year, but you can get custom column information with our REST API alerts resource.  Compared to our RPC API, our REST API is more comprehensive in coverage, more secure, and provides a lot more consistency- so we recommend you give it a try! 

Thanks!

Sarah

Link to post
Share on other sites
  • 3 weeks later...
  • 2 years later...
  • Administrators
On 6/1/2017 at 6:14 PM, Sarah Terry said:

The link to the current documentation for this resource is: https://www.logicmonitor.com/swagger-ui-master/dist/#/Alerts/getAlertList.

@Sarah Terry, I added EXTERNALTICKETID as a custom column, removed the threshold from an instance (to clear existing alarms), let the alarm clear, then reset the threshold to open a new alarm. That alarm doesn't have a value for externalticketid, but the field also doesn't show up in the response from v2 of the API on /alert/alerts. Does it have to have a value in order to show up?

Link to post
Share on other sites
  • LogicMonitor Staff

So you have to specify the externalTicketId custom column in the API request, like this:

GET /alert/alerts?customColumns=%2523%2523externalticketid%2523%2523

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.