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. -
CloseIncidentBySLOID
Marks an incident as 'closed'. The incident is referenced by a StreetLightOutages-specific incident ID. -
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. -
GetAllIncidentsByDate
Returns an Array of all incidents for the current userToken's organization. -
GetAllowableBounds
Get Allowable Bounds from userToken -
GetDisplayHTML
Retrieves an HTML document -
GetDisplayXSL
Gets an XSL mapping that can be used for an asset type for this organization. -
GetIncidentDetails
get associated details of an incident. The incident is referenced by a StreetLightOutages-specific incident ID. -
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
-
GetOutOfSynchIncidents
ADMIN ONLY -
GetTotalCountOfIncidents
Returns total count of incidents within the date range -
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. -
SetIncidentStatusByCustomerID
set incident status by customerid. Only available for authorized utility customers to update status for an incident. -
SetIncidentStatusBySLOID
set incident status by incidentid. Only available for authorized utility customers to update status for an incident. -
SynchIncidentAssetIDs
ADMIN ONLY -
UpdateComments
Update comment for a given incidents. Only available for authorized utility customers to include additional comments for an incident. -
checkServiceareaBounds
Resubmits incident