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

FieldData TypeDescription
statusStringThe incident status used to check the status of an incident.
priorityStringThe incident priority: low, normal, high, urgent, and very low.
toEmailStringThe email address to receive incident notifications.
assignedUserStringThe designated user who is assigned to the incident.
customFieldsStringUser-customized fields that can include additional information about an incident. Use the Get Incident Custom Fields API to retrieve custom fields of an incident.
attachmentsStringInformation 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