IFIncidentService
Use this service to report and manage incidents.
The following operations are supported. For a formal definition, please review the Service Description.
-
AddFileToIncident
Upload a file DOCNAME and associate it to incidentID. -
ConfirmIncident
Confirm an incident. Only available for authorized utility customers to confirm a reported incident. -
DeleteIncident
Delete an incident if TOKEN is authorised to do it. -
GetAllIncidents
Returns an Array of all incidents for the current userToken's organization. -
GetDisplayHTML
Retrieves an HTML document -
GetDisplayXSL
Gets an XSL mapping that can be used for an asset type for this organization. -
GetIncidents
Returns an Array of all incidents of a give incidentType within the lat/lon bounding box described by the parameters. -
GetIncidentsIDAndLocation
Returns a subset of incident information of all incidents of a give incidentType within the lat/lon bounding box described by the parameters.
The information returned will have the following attributes:- id
- latitude
- longitude
-
GetIncidentsIDAndLocationAsJSON
Returns a JSON String of all incidents of a give incidentType within the lat/lon bounding box described by the parameters.
The information returned will be JSON data with the following attributes:- id
- latitude
- longitude
-
GetIncidentsIDAndLocationAsJSONList
Returns a JSON String of all incidents of a give incidentType within the lat/lon bounding box described by the parameters.
The information returned will be JSON data with the following attributes:- id
- latitude
- longitude
-
ReportIncident
Report an incident. You will receive an incident ID in return. -
ResolveIncidentByCustomerID
Marks an incident as 'resolved'. The incident is referenced by a customer-specific incident ID. -
ResolveIncidentBySLOID
Marks an incident as 'resolved'. The incident is referenced by a StreetLightOutages-specific incident ID. -
ResubmitAllRejectedIncidents
Resubmits all the rejected incidents for the organization -
ResubmitIncident
Resubmits incident -
SetDisplayXSL
Adds an XSL mapping that can be used for an incident type for this organization.