URL
POST https://{api-url}/api/v2/tenants/{tenantId}/alerts/{alertId}/incidents/{IncidentId}/attach
Sample URLs
https://{api-url}/api/v2/tenants/client_7/alerts/63227/incidents/INC0000002315/attach
Parameters
Field | Data Type | Description |
---|---|---|
status | String | The incident status used to check the status of an incident. |
priority | String | The incident priority: low, normal, high, urgent, and very low. |
toEmail | String | The email address to receive incident notifications. |
assignedUser | String | The designated user who is assigned to the incident. |
customFields | String | User-customized fields that can include additional information about an incident. Use the Get Incident Custom Fields API to retrieve custom fields of an incident. |
attachments | String | Information related to the incident in base64 encoded format. |
Status code
200 OK
Sample request
{
"status": "Resolved",
"priority": "Low",
"toEmail": "john.smith@domain.com",
"assignedUser":
{
"id": "USR0000002146",
"loginName": "FSSL-API-Lab-User-1"
},
"customFields":
[
{
"id": "UDF0000003790",
"name": "External Id",
"value": "2"
},
{
"id": "UDF0000003791",
"name": "Incident History",
"value": "request custom field - text"
}
],
"attachments":
[
{
"name": "1.txt",
"file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ="
},
{
"name": "2.txt",
"file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ="
}
]
}
Sample response
Null