Post API to create an incident with the assignment group, Assigned To, Impact, Urgency and state all field that are mandatory in body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 08:47 AM
Post API to create an incident with the assignment group, Assigned To, Impact, Urgency and state all field that are mandatory in body.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2024 10:52 AM
To create an incident using a RESTful API, you typically need to send a POST request to the appropriate endpoint with a JSON payload containing the required fields. Below is a generic example of how you might structure such a request:
POST /api/create-incident HTTP/1.1
Host: your-api-host.com
Content-Type: application/json
Authorization: Bearer your_access_token
{
"assignment_group": "Group Name",
"assigned_to": "Assignee Name",
"impact": "High/Medium/Low",
"urgency": "High/Medium/Low",
"state": "New/In Progress/Closed",
// Other optional fields...
}
In this example:
- assignment_group: The group to which the incident is assigned.
- assigned_to: The person or team assigned to handle the incident.
- impact: The level of impact the incident has on the system or organization.
- urgency: How urgently the incident needs to be resolved.
- state: The current state of the incident (e.g., new, in progress, closed).