Function: incident.Create

Requests creation of a new Incident.

Syntax

{
	"method": "ext.deviceadapter.incident.Create",
	"params": {
		"props": "...",
		"events": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<ExtIncidentResult> IncidentCreate( AdvObject props, std::vector<IncidentEventRef> events );
public Task<ExtIncidentResult> IncidentCreateAsync(IDictionary<string,
		object?> props,
		IList<IncidentEventRef> events,
		CancellationToken ct = default);
incidentCreate(props: Map<string, Object>, events: IncidentEventRef[]): Promise<ExtIncidentResult>;

Parameters

props : value{}

The parameter key is Symbol.

Properties required to create the Incident. These are the Properties of the Incident Create Request declared in the Module XML.

events : IncidentEventRef[]

Information about the Event(s) for which this Incident is being created.

Result : ExtIncidentResult