POST v1/ManagedInspection/inspection/updateInspections

Request Information

URI Parameters

None.

Body Parameters

ManagedInspectionUpdateFields
NameDescriptionTypeAdditional information
InspectionID

integer

None.

InspectionType

ManagedInspectionType

None.

InspectionStatus

ManagedInspectionStatus

None.

RequestPerson

PersonType

None.

Report

Collection of byte

None.

Issues

Collection of ManagedMaintenanceIssue

None.

Request Formats

application/json, text/json

Sample:
{
  "InspectionID": 1,
  "InspectionType": 0,
  "InspectionStatus": 0,
  "RequestPerson": 0,
  "Report": "QEA=",
  "Issues": [
    {
      "Summary": "sample string 1",
      "Category": "sample string 2",
      "Location": "sample string 3",
      "Description": "sample string 4",
      "firstNoticed": "2024-12-16T11:47:20.9989112+00:00"
    },
    {
      "Summary": "sample string 1",
      "Category": "sample string 2",
      "Location": "sample string 3",
      "Description": "sample string 4",
      "firstNoticed": "2024-12-16T11:47:20.9989112+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<ManagedInspectionUpdateFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models">
  <InspectionID>1</InspectionID>
  <InspectionStatus>None</InspectionStatus>
  <InspectionType>Invalid</InspectionType>
  <Issues>
    <ManagedMaintenanceIssue>
      <Category>sample string 2</Category>
      <Description>sample string 4</Description>
      <Location>sample string 3</Location>
      <Summary>sample string 1</Summary>
      <firstNoticed>2024-12-16T11:47:20.9989112+00:00</firstNoticed>
    </ManagedMaintenanceIssue>
    <ManagedMaintenanceIssue>
      <Category>sample string 2</Category>
      <Description>sample string 4</Description>
      <Location>sample string 3</Location>
      <Summary>sample string 1</Summary>
      <firstNoticed>2024-12-16T11:47:20.9989112+00:00</firstNoticed>
    </ManagedMaintenanceIssue>
  </Issues>
  <Report>QEA=</Report>
  <RequestPerson>None</RequestPerson>
</ManagedInspectionUpdateFields>

multipart/form-data

Sample:
<ManagedInspectionUpdateFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models"><InspectionID>1</InspectionID><InspectionStatus>None</InspectionStatus><InspectionType>Invalid</InspectionType><Issues><ManagedMaintenanceIssue><Category>sample string 2</Category><Description>sample string 4</Description><Location>sample string 3</Location><Summary>sample string 1</Summary><firstNoticed>2024-12-16T11:47:20.9989112+00:00</firstNoticed></ManagedMaintenanceIssue><ManagedMaintenanceIssue><Category>sample string 2</Category><Description>sample string 4</Description><Location>sample string 3</Location><Summary>sample string 1</Summary><firstNoticed>2024-12-16T11:47:20.9989112+00:00</firstNoticed></ManagedMaintenanceIssue></Issues><Report>QEA=</Report><RequestPerson>None</RequestPerson></ManagedInspectionUpdateFields>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.