Reference for https://irs.losscontrol360.com/API/Carrier/V1/CompletedInspections

Retrieves completed inspections that have not yet been requested through the API

Url: https://irs.losscontrol360.com/API/Carrier/V1/CompletedInspections

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<CompletedInspectionsRequest xmlns="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1">
  <Password>String content</Password>
  <UserName>String content</UserName>
  <CustomerKeys>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
  </CustomerKeys>
</CompletedInspectionsRequest>

The following is an example request Json body:

{
	"Password":"String content",
	"UserName":"String content",
	"CustomerKeys":["String content"]
}

The following is an example response Xml body:

<CompletedInspectionsResult xmlns="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1">
  <Inspections>
    <InspectionExport>
      <ActualCashValue>12678967.543233</ActualCashValue>
      <CaseID>1627aea5-8e0a-4371-9022-9b504344e724</CaseID>
      <CaseNumber>2147483647</CaseNumber>
      <CompletedType>String content</CompletedType>
      <CoverageAOut>12678967.543233</CoverageAOut>
      <CustomerKey>String content</CustomerKey>
      <CustomerName>String content</CustomerName>
      <DateCompleted>1999-05-31T11:20:00</DateCompleted>
      <EstimatedBilling>12678967.543233</EstimatedBilling>
      <Forms>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Forms>
      <HazardScore>2147483647</HazardScore>
      <Hazards>
        <Hazard>
          <Description>String content</Description>
          <Score>2147483647</Score>
        </Hazard>
        <Hazard>
          <Description>String content</Description>
          <Score>2147483647</Score>
        </Hazard>
      </Hazards>
      <PolicyNumber>String content</PolicyNumber>
      <Recommendations>
        <Recommendation>
          <ID>String content</ID>
          <Text>String content</Text>
        </Recommendation>
        <Recommendation>
          <ID>String content</ID>
          <Text>String content</Text>
        </Recommendation>
      </Recommendations>
      <TotalArea>12678967.543233</TotalArea>
    </InspectionExport>
    <InspectionExport>
      <ActualCashValue>12678967.543233</ActualCashValue>
      <CaseID>1627aea5-8e0a-4371-9022-9b504344e724</CaseID>
      <CaseNumber>2147483647</CaseNumber>
      <CompletedType>String content</CompletedType>
      <CoverageAOut>12678967.543233</CoverageAOut>
      <CustomerKey>String content</CustomerKey>
      <CustomerName>String content</CustomerName>
      <DateCompleted>1999-05-31T11:20:00</DateCompleted>
      <EstimatedBilling>12678967.543233</EstimatedBilling>
      <Forms>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Forms>
      <HazardScore>2147483647</HazardScore>
      <Hazards>
        <Hazard>
          <Description>String content</Description>
          <Score>2147483647</Score>
        </Hazard>
        <Hazard>
          <Description>String content</Description>
          <Score>2147483647</Score>
        </Hazard>
      </Hazards>
      <PolicyNumber>String content</PolicyNumber>
      <Recommendations>
        <Recommendation>
          <ID>String content</ID>
          <Text>String content</Text>
        </Recommendation>
        <Recommendation>
          <ID>String content</ID>
          <Text>String content</Text>
        </Recommendation>
      </Recommendations>
      <TotalArea>12678967.543233</TotalArea>
    </InspectionExport>
  </Inspections>
</CompletedInspectionsResult>

The following is an example response Json body:

{
	"Inspections":[{
		"ActualCashValue":12678967.543233,
		"CaseID":"1627aea5-8e0a-4371-9022-9b504344e724",
		"CaseNumber":2147483647,
		"CompletedType":"String content",
		"CoverageAOut":12678967.543233,
		"CustomerKey":"String content",
		"CustomerName":"String content",
		"DateCompleted":"\/Date(928164000000-0400)\/",
		"EstimatedBilling":12678967.543233,
		"Forms":["String content"],
		"HazardScore":2147483647,
		"Hazards":[{
			"Description":"String content",
			"Score":2147483647
		}],
		"PolicyNumber":"String content",
		"Recommendations":[{
			"ID":"String content",
			"Text":"String content"
		}],
		"TotalArea":12678967.543233
	}]
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="CompletedInspectionsRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Credentials">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustomerKeys" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CompletedInspectionsRequest" nillable="true" type="tns:CompletedInspectionsRequest" />
  <xs:complexType name="Credentials">
    <xs:sequence>
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Credentials" nillable="true" type="tns:Credentials" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/LC360API.Carrier_V1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="CompletedInspectionsResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Inspections" nillable="true" type="tns:ArrayOfInspectionExport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CompletedInspectionsResult" nillable="true" type="tns:CompletedInspectionsResult" />
  <xs:complexType name="ArrayOfInspectionExport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="InspectionExport" nillable="true" type="tns:InspectionExport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfInspectionExport" nillable="true" type="tns:ArrayOfInspectionExport" />
  <xs:complexType name="InspectionExport">
    <xs:sequence>
      <xs:element minOccurs="0" name="ActualCashValue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="CaseID" type="ser:guid" />
      <xs:element minOccurs="0" name="CaseNumber" type="xs:int" />
      <xs:element minOccurs="0" name="CompletedType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CoverageAOut" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="CustomerKey" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateCompleted" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EstimatedBilling" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Forms" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="HazardScore" type="xs:int" />
      <xs:element minOccurs="0" name="Hazards" nillable="true" type="tns:ArrayOfHazard" />
      <xs:element minOccurs="0" name="PolicyNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Recommendations" nillable="true" type="tns:ArrayOfRecommendation" />
      <xs:element minOccurs="0" name="TotalArea" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InspectionExport" nillable="true" type="tns:InspectionExport" />
  <xs:complexType name="ArrayOfHazard">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Hazard" nillable="true" type="tns:Hazard" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHazard" nillable="true" type="tns:ArrayOfHazard" />
  <xs:complexType name="Hazard">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Score" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Hazard" nillable="true" type="tns:Hazard" />
  <xs:complexType name="ArrayOfRecommendation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Recommendation" nillable="true" type="tns:Recommendation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRecommendation" nillable="true" type="tns:ArrayOfRecommendation" />
  <xs:complexType name="Recommendation">
    <xs:sequence>
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Recommendation" nillable="true" type="tns:Recommendation" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>