POST api/Inspections/GetByFilters
Request Information
URI Parameters
None.
Body Parameters
InspectionFiltersName | Description | Type | Additional information |
---|---|---|---|
AccountId | integer |
Required |
|
UserId | string |
Required |
|
RoleId | integer |
Required |
|
PageNumber | integer |
Required |
|
PageSize | integer |
Required |
|
Sorted | boolean |
None. |
|
CreatedDateFrom | string |
Required |
|
CreatedDateTo | string |
Required |
|
Score | integer |
None. |
|
ScoreIncludeNA | boolean |
None. |
|
ScoreOperator | integer |
None. |
|
Evaluators | Collection of string |
None. |
|
Assignments | Collection of integer |
None. |
|
InspectionTemplates | Collection of integer |
None. |
|
SearchByInspectionName | string |
None. |
|
blobContainer | CloudBlobContainer |
None. |
|
StatusId | integer |
None. |
|
IsInspectionPerformedByOperator | boolean |
None. |
|
IsAcceptWithOutInspection | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": 1, "UserId": "sample string 2", "RoleId": 3, "PageNumber": 4, "PageSize": 5, "Sorted": true, "CreatedDateFrom": "sample string 7", "CreatedDateTo": "sample string 8", "Score": 9, "ScoreIncludeNA": true, "ScoreOperator": 11, "Evaluators": [ "sample string 1", "sample string 2" ], "Assignments": [ 1, 2 ], "InspectionTemplates": [ 1, 2 ], "SearchByInspectionName": "sample string 12", "blobContainer": null, "StatusId": 13, "IsInspectionPerformedByOperator": true, "IsAcceptWithOutInspection": true }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of InspectionsSummaryModelName | Description | Type | Additional 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:53:48.9880831+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:53:48.9880831+00:00" }, { "Id": 1, "URL": "sample string 2", "TimeStamp": "2024-11-21T08:53:48.9880831+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:53:48.9880831+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" }, { "AccountId": 1, "Id": 2, "PageCount": 3, "TotalInspectionCount": 4, "Title": "sample string 5", "InspectorName": "sample string 6", "InspectionDate": "2024-11-21T08:53:48.9880831+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:53:48.9880831+00:00" }, { "Id": 1, "URL": "sample string 2", "TimeStamp": "2024-11-21T08:53:48.9880831+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:53:48.9880831+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:
<ArrayOfInspectionsSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.InspectionsTemplates"> <InspectionsSummaryModel> <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:53:48.9880831+00:00</InspectionDate> <InspectionDuration>sample string 15</InspectionDuration> <InspectionStartDate>2024-11-21T08:53:48.9880831+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:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:48.9880831Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </TimeStamp> <URL>sample string 2</URL> </SignaturesList> <SignaturesList> <Id>1</Id> <TimeStamp xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:48.9880831Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </TimeStamp> <URL>sample string 2</URL> </SignaturesList> </Signatures> <TimeZone>sample string 23</TimeZone> <Title>sample string 5</Title> <TotalInspectionCount>4</TotalInspectionCount> </InspectionsSummaryModel> <InspectionsSummaryModel> <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:53:48.9880831+00:00</InspectionDate> <InspectionDuration>sample string 15</InspectionDuration> <InspectionStartDate>2024-11-21T08:53:48.9880831+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:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:48.9880831Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </TimeStamp> <URL>sample string 2</URL> </SignaturesList> <SignaturesList> <Id>1</Id> <TimeStamp xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <d5p1:DateTime>2024-11-21T08:53:48.9880831Z</d5p1:DateTime> <d5p1:OffsetMinutes>0</d5p1:OffsetMinutes> </TimeStamp> <URL>sample string 2</URL> </SignaturesList> </Signatures> <TimeZone>sample string 23</TimeZone> <Title>sample string 5</Title> <TotalInspectionCount>4</TotalInspectionCount> </InspectionsSummaryModel> </ArrayOfInspectionsSummaryModel>