Menu

Creating new incidents from API

2023-04-03
2023-04-06
  • Stefan Djuricic

    Stefan Djuricic - 2023-04-03

    Hi,

    We were using Postman and API to change some of the attributes of existing incidents, for example we were changing start/end dates of an incident, caller, etc.

    Something like this:

    {"operation": "core/update", "comment": "commentX","class": "Incident","key": "SELECT Incident AS u WHERE u.id=210393","output_fields": "*","fields":{"start_date":"2023-02-22 16:01:39"}}

    so it was a core/update operation.
    We were also using "operation": "core/apply_stimulus" to change status of incidents.

    Is it possible to create new incidents using API and how? Is there anything online we can read about it?

    Thank you!

     

    Last edit: Stefan Djuricic 2023-04-03
  • Stefan Djuricic

    Stefan Djuricic - 2023-04-06

    Thank you Jeffrey, this helped a lot!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.