PartnerHub

<back to all web services

InspectionGet

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/InspectionGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<InspectionGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Code>String</Code>
  <InspectionID>00000000-0000-0000-0000-000000000000</InspectionID>
  <SerialNumber>String</SerialNumber>
</InspectionGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<InspectionGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Inspections>
    <Inspection>
      <Code>String</Code>
      <Description>String</Description>
      <Groups>
        <GroupItem>
          <BenefitStatement>String</BenefitStatement>
          <Id>00000000-0000-0000-0000-000000000000</Id>
          <Questions>
            <QuestionItem>
              <Fields>
                <FieldItem>
                  <FieldType>0</FieldType>
                  <Id>00000000-0000-0000-0000-000000000000</Id>
                  <IsDefault>false</IsDefault>
                  <Key>String</Key>
                  <PromptType>0</PromptType>
                  <Title>String</Title>
                </FieldItem>
              </Fields>
              <Id>00000000-0000-0000-0000-000000000000</Id>
              <Packages>
                <PackageItem>
                  <Id>00000000-0000-0000-0000-000000000000</Id>
                  <LabourLines>
                    <InspectionLabourLine>
                      <Description>String</Description>
                      <OpCodeRef>00000000-0000-0000-0000-000000000000</OpCodeRef>
                      <Price>0</Price>
                      <RateCodeRef>00000000-0000-0000-0000-000000000000</RateCodeRef>
                      <SoldHours>0</SoldHours>
                    </InspectionLabourLine>
                  </LabourLines>
                  <PartsLines>
                    <InspectionPartsLine>
                      <PartDescription>String</PartDescription>
                      <PartNumber>String</PartNumber>
                      <PartRef>00000000-0000-0000-0000-000000000000</PartRef>
                      <Price>0</Price>
                      <Requested>0</Requested>
                    </InspectionPartsLine>
                  </PartsLines>
                  <Price>0</Price>
                  <ShopSupplies>0</ShopSupplies>
                  <Title>String</Title>
                </PackageItem>
              </Packages>
              <Title>String</Title>
            </QuestionItem>
          </Questions>
          <ShowCollapsed>false</ShowCollapsed>
          <Title>String</Title>
        </GroupItem>
      </Groups>
      <ImageRef>00000000-0000-0000-0000-000000000000</ImageRef>
      <InspectionId>00000000-0000-0000-0000-000000000000</InspectionId>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <SerialNumber>String</SerialNumber>
      <Skill>00000000-0000-0000-0000-000000000000</Skill>
    </Inspection>
  </Inspections>
</InspectionGetResponse>