POST api/InspectionIssue/GetAllByInspectionId
Request Information
URI Parameters
None.
Body Parameters
InspectionIssueListerName | Description | Type | Additional information |
---|---|---|---|
InspectionIssues | Collection of InspectionIssue |
None. |
|
SearchCriteria | InspectionIssue |
None. |
|
InspectionInspectorId | integer |
None. |
|
InspectionIsCompleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "InspectionIssues": [ { "Id": 1, "InspectionId": 2, "Title": "sample string 3", "ReferenceNumber": "sample string 4", "Comment": "sample string 5", "ResponsiblePersonId1": 6, "ResponsiblePersonId2": 1, "ResolvedDate": "2025-08-29T20:26:51.4484015+00:00", "SeverityId": 1, "ResponsiblePersonName": "sample string 7", "ResponsiblePersonName2": "sample string 8", "IsComplete": true, "CompletedBy": 1, "CompletedDate": "2025-08-29T20:26:51.4484015+00:00", "CreatedBy": 9, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "LocalAssignToId": 13, "IssuePhotos": [ { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" }, { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" } ], "IssueComments": [ { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" }, { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" } ], "LocalIsComplete": true, "CustomerId": 15, "CompletedByName": "sample string 16", "ReferenceNumberQRBase64": "sample string 17", "LocalResponsiblePersonId1": 18, "LocalResponsiblePersonId2": 19 }, { "Id": 1, "InspectionId": 2, "Title": "sample string 3", "ReferenceNumber": "sample string 4", "Comment": "sample string 5", "ResponsiblePersonId1": 6, "ResponsiblePersonId2": 1, "ResolvedDate": "2025-08-29T20:26:51.4484015+00:00", "SeverityId": 1, "ResponsiblePersonName": "sample string 7", "ResponsiblePersonName2": "sample string 8", "IsComplete": true, "CompletedBy": 1, "CompletedDate": "2025-08-29T20:26:51.4484015+00:00", "CreatedBy": 9, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "LocalAssignToId": 13, "IssuePhotos": [ { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" }, { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" } ], "IssueComments": [ { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" }, { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" } ], "LocalIsComplete": true, "CustomerId": 15, "CompletedByName": "sample string 16", "ReferenceNumberQRBase64": "sample string 17", "LocalResponsiblePersonId1": 18, "LocalResponsiblePersonId2": 19 } ], "SearchCriteria": { "Id": 1, "InspectionId": 2, "Title": "sample string 3", "ReferenceNumber": "sample string 4", "Comment": "sample string 5", "ResponsiblePersonId1": 6, "ResponsiblePersonId2": 1, "ResolvedDate": "2025-08-29T20:26:51.4484015+00:00", "SeverityId": 1, "ResponsiblePersonName": "sample string 7", "ResponsiblePersonName2": "sample string 8", "IsComplete": true, "CompletedBy": 1, "CompletedDate": "2025-08-29T20:26:51.4484015+00:00", "CreatedBy": 9, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "LocalAssignToId": 13, "IssuePhotos": [ { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" }, { "Id": 1, "IssueId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "ImageBase64": "sample string 8" } ], "IssueComments": [ { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" }, { "Id": 1, "IssueId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:26:51.4484015+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:26:51.4484015+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:51.4484015+00:00", "CommentUserName": "sample string 8" } ], "LocalIsComplete": true, "CustomerId": 15, "CompletedByName": "sample string 16", "ReferenceNumberQRBase64": "sample string 17", "LocalResponsiblePersonId1": 18, "LocalResponsiblePersonId2": 19 }, "InspectionInspectorId": 1, "InspectionIsCompleted": true }
application/xml, text/xml
Sample:
<InspectionIssueLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <InspectionInspectorId>1</InspectionInspectorId> <InspectionIsCompleted>true</InspectionIsCompleted> <InspectionIssues> <InspectionIssue> <Comment>sample string 5</Comment> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 16</CompletedByName> <CompletedDate>2025-08-29T20:26:51.4484015+00:00</CompletedDate> <CreatedBy>9</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <CustomerId>15</CustomerId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <InspectionId>2</InspectionId> <IsComplete>true</IsComplete> <IssueComments> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> </IssueComments> <IssuePhotos> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> </IssuePhotos> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> <LocalAssignToId>13</LocalAssignToId> <LocalIsComplete>true</LocalIsComplete> <LocalResponsiblePersonId1>18</LocalResponsiblePersonId1> <LocalResponsiblePersonId2>19</LocalResponsiblePersonId2> <ReferenceNumber>sample string 4</ReferenceNumber> <ReferenceNumberQRBase64>sample string 17</ReferenceNumberQRBase64> <ResolvedDate>2025-08-29T20:26:51.4484015+00:00</ResolvedDate> <ResponsiblePersonId1>6</ResponsiblePersonId1> <ResponsiblePersonId2>1</ResponsiblePersonId2> <ResponsiblePersonName>sample string 7</ResponsiblePersonName> <ResponsiblePersonName2>sample string 8</ResponsiblePersonName2> <SeverityId>1</SeverityId> <Title>sample string 3</Title> </InspectionIssue> <InspectionIssue> <Comment>sample string 5</Comment> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 16</CompletedByName> <CompletedDate>2025-08-29T20:26:51.4484015+00:00</CompletedDate> <CreatedBy>9</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <CustomerId>15</CustomerId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <InspectionId>2</InspectionId> <IsComplete>true</IsComplete> <IssueComments> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> </IssueComments> <IssuePhotos> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> </IssuePhotos> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> <LocalAssignToId>13</LocalAssignToId> <LocalIsComplete>true</LocalIsComplete> <LocalResponsiblePersonId1>18</LocalResponsiblePersonId1> <LocalResponsiblePersonId2>19</LocalResponsiblePersonId2> <ReferenceNumber>sample string 4</ReferenceNumber> <ReferenceNumberQRBase64>sample string 17</ReferenceNumberQRBase64> <ResolvedDate>2025-08-29T20:26:51.4484015+00:00</ResolvedDate> <ResponsiblePersonId1>6</ResponsiblePersonId1> <ResponsiblePersonId2>1</ResponsiblePersonId2> <ResponsiblePersonName>sample string 7</ResponsiblePersonName> <ResponsiblePersonName2>sample string 8</ResponsiblePersonName2> <SeverityId>1</SeverityId> <Title>sample string 3</Title> </InspectionIssue> </InspectionIssues> <SearchCriteria> <Comment>sample string 5</Comment> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 16</CompletedByName> <CompletedDate>2025-08-29T20:26:51.4484015+00:00</CompletedDate> <CreatedBy>9</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <CustomerId>15</CustomerId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <InspectionId>2</InspectionId> <IsComplete>true</IsComplete> <IssueComments> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> <IssueComment> <Comment>sample string 3</Comment> <CommentUserName>sample string 8</CommentUserName> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssueComment> </IssueComments> <IssuePhotos> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> <IssuePhoto> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:26:51.4484015+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:51.4484015+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <IssueId>2</IssueId> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> </IssuePhoto> </IssuePhotos> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:51.4484015+00:00</LastModifiedDate> <LocalAssignToId>13</LocalAssignToId> <LocalIsComplete>true</LocalIsComplete> <LocalResponsiblePersonId1>18</LocalResponsiblePersonId1> <LocalResponsiblePersonId2>19</LocalResponsiblePersonId2> <ReferenceNumber>sample string 4</ReferenceNumber> <ReferenceNumberQRBase64>sample string 17</ReferenceNumberQRBase64> <ResolvedDate>2025-08-29T20:26:51.4484015+00:00</ResolvedDate> <ResponsiblePersonId1>6</ResponsiblePersonId1> <ResponsiblePersonId2>1</ResponsiblePersonId2> <ResponsiblePersonName>sample string 7</ResponsiblePersonName> <ResponsiblePersonName2>sample string 8</ResponsiblePersonName2> <SeverityId>1</SeverityId> <Title>sample string 3</Title> </SearchCriteria> </InspectionIssueLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.