IFIncidentService


Click here for a complete list of operations.

GetIncidentDetails

get associated details of an incident. The incident is referenced by a StreetLightOutages-specific incident ID.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userToken:
sloIncidentId:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/IFIncidentService.asmx HTTP/1.1
Host: www.streetlightoutages.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.ifactorconsulting.com/webservices/GetIncidentDetails"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIncidentDetails xmlns="http://www.ifactorconsulting.com/webservices">
      <userToken>string</userToken>
      <sloIncidentId>int</sloIncidentId>
    </GetIncidentDetails>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIncidentDetailsResponse xmlns="http://www.ifactorconsulting.com/webservices">
      <GetIncidentDetailsResult>
        <assetdbID>int</assetdbID>
        <incidenttype>string</incidenttype>
        <customerID>string</customerID>
        <SLOID>int</SLOID>
        <JSONData>string</JSONData>
        <latitude>double</latitude>
        <longitude>double</longitude>
        <reporterName>string</reporterName>
        <statustype>string</statustype>
        <creation_time>dateTime</creation_time>
        <creation_time_string>string</creation_time_string>
        <orgName>string</orgName>
      </GetIncidentDetailsResult>
    </GetIncidentDetailsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/IFIncidentService.asmx HTTP/1.1
Host: www.streetlightoutages.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIncidentDetails xmlns="http://www.ifactorconsulting.com/webservices">
      <userToken>string</userToken>
      <sloIncidentId>int</sloIncidentId>
    </GetIncidentDetails>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIncidentDetailsResponse xmlns="http://www.ifactorconsulting.com/webservices">
      <GetIncidentDetailsResult>
        <assetdbID>int</assetdbID>
        <incidenttype>string</incidenttype>
        <customerID>string</customerID>
        <SLOID>int</SLOID>
        <JSONData>string</JSONData>
        <latitude>double</latitude>
        <longitude>double</longitude>
        <reporterName>string</reporterName>
        <statustype>string</statustype>
        <creation_time>dateTime</creation_time>
        <creation_time_string>string</creation_time_string>
        <orgName>string</orgName>
      </GetIncidentDetailsResult>
    </GetIncidentDetailsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /webservices/IFIncidentService.asmx/GetIncidentDetails?userToken=string&sloIncidentId=string HTTP/1.1
Host: www.streetlightoutages.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<IFIncidentStructure xmlns="http://www.ifactorconsulting.com/webservices">
  <assetdbID>int</assetdbID>
  <incidenttype>string</incidenttype>
  <customerID>string</customerID>
  <SLOID>int</SLOID>
  <JSONData>string</JSONData>
  <latitude>double</latitude>
  <longitude>double</longitude>
  <reporterName>string</reporterName>
  <statustype>string</statustype>
  <creation_time>dateTime</creation_time>
  <creation_time_string>string</creation_time_string>
  <orgName>string</orgName>
</IFIncidentStructure>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/IFIncidentService.asmx/GetIncidentDetails HTTP/1.1
Host: www.streetlightoutages.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userToken=string&sloIncidentId=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<IFIncidentStructure xmlns="http://www.ifactorconsulting.com/webservices">
  <assetdbID>int</assetdbID>
  <incidenttype>string</incidenttype>
  <customerID>string</customerID>
  <SLOID>int</SLOID>
  <JSONData>string</JSONData>
  <latitude>double</latitude>
  <longitude>double</longitude>
  <reporterName>string</reporterName>
  <statustype>string</statustype>
  <creation_time>dateTime</creation_time>
  <creation_time_string>string</creation_time_string>
  <orgName>string</orgName>
</IFIncidentStructure>