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