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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
https://www.itophub.io/wiki/page?id=latest:advancedtopics:rest_json
Thank you Jeffrey, this helped a lot!