GET api/Inspections/GetSummaryById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

InspectionsSummaryModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

Id

integer

None.

PageCount

integer

None.

TotalInspectionCount

integer

None.

Title

string

None.

InspectorName

string

None.

InspectionDate

date

None.

Score

integer

None.

Location

string

None.

FollowUpCount

integer

None.

FollowUpStatus

string

None.

Signatures

Collection of SignaturesList

None.

AssignmentId

integer

None.

AssignmentName

string

None.

Assignment

Collection of AssignmentInspectionList

None.

InspectionTemplateId

integer

None.

InspectorId

string

None.

InspectionStartDate

date

None.

InspectionDuration

string

None.

InitialDuration

string

None.

InspectionType

string

None.

IsDurationCalculated

boolean

None.

IsInspectionPerformedByOperator

boolean

None.

IsAcceptWithOutInspection

boolean

None.

OperatorName

string

None.

IsScoring

boolean

None.

TimeZone

string

None.

DisplayName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "Id": 2,
  "PageCount": 3,
  "TotalInspectionCount": 4,
  "Title": "sample string 5",
  "InspectorName": "sample string 6",
  "InspectionDate": "2024-11-21T08:54:21.7906789+00:00",
  "Score": 7,
  "Location": "sample string 8",
  "FollowUpCount": 9,
  "FollowUpStatus": "sample string 10",
  "Signatures": [
    {
      "Id": 1,
      "URL": "sample string 2",
      "TimeStamp": "2024-11-21T08:54:21.7906789+00:00"
    },
    {
      "Id": 1,
      "URL": "sample string 2",
      "TimeStamp": "2024-11-21T08:54:21.7906789+00:00"
    }
  ],
  "AssignmentId": 11,
  "AssignmentName": "sample string 12",
  "Assignment": [
    {
      "Id": 1,
      "Name": "sample string 2"
    },
    {
      "Id": 1,
      "Name": "sample string 2"
    }
  ],
  "InspectionTemplateId": 13,
  "InspectorId": "sample string 14",
  "InspectionStartDate": "2024-11-21T08:54:21.7906789+00:00",
  "InspectionDuration": "sample string 15",
  "InitialDuration": "sample string 16",
  "InspectionType": "sample string 17",
  "IsDurationCalculated": true,
  "IsInspectionPerformedByOperator": true,
  "IsAcceptWithOutInspection": true,
  "OperatorName": "sample string 21",
  "IsScoring": true,
  "TimeZone": "sample string 23",
  "DisplayName": "sample string 24"
}

application/xml, text/xml

Sample:
<InspectionsSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.InspectionsTemplates">
  <AccountId>1</AccountId>
  <Assignment>
    <AssignmentInspectionList>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </AssignmentInspectionList>
    <AssignmentInspectionList>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </AssignmentInspectionList>
  </Assignment>
  <AssignmentId>11</AssignmentId>
  <AssignmentName>sample string 12</AssignmentName>
  <DisplayName>sample string 24</DisplayName>
  <FollowUpCount>9</FollowUpCount>
  <FollowUpStatus>sample string 10</FollowUpStatus>
  <Id>2</Id>
  <InitialDuration>sample string 16</InitialDuration>
  <InspectionDate>2024-11-21T08:54:21.7906789+00:00</InspectionDate>
  <InspectionDuration>sample string 15</InspectionDuration>
  <InspectionStartDate>2024-11-21T08:54:21.7906789+00:00</InspectionStartDate>
  <InspectionTemplateId>13</InspectionTemplateId>
  <InspectionType>sample string 17</InspectionType>
  <InspectorId>sample string 14</InspectorId>
  <InspectorName>sample string 6</InspectorName>
  <IsAcceptWithOutInspection>true</IsAcceptWithOutInspection>
  <IsDurationCalculated>true</IsDurationCalculated>
  <IsInspectionPerformedByOperator>true</IsInspectionPerformedByOperator>
  <IsScoring>true</IsScoring>
  <Location>sample string 8</Location>
  <OperatorName>sample string 21</OperatorName>
  <PageCount>3</PageCount>
  <Score>7</Score>
  <Signatures>
    <SignaturesList>
      <Id>1</Id>
      <TimeStamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:54:21.7906789Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </TimeStamp>
      <URL>sample string 2</URL>
    </SignaturesList>
    <SignaturesList>
      <Id>1</Id>
      <TimeStamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:54:21.7906789Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </TimeStamp>
      <URL>sample string 2</URL>
    </SignaturesList>
  </Signatures>
  <TimeZone>sample string 23</TimeZone>
  <Title>sample string 5</Title>
  <TotalInspectionCount>4</TotalInspectionCount>
</InspectionsSummaryModel>