PUT api/InspectionJob/PutInspectionJob

Request Information

URI Parameters

None.

Body Parameters

InspectionJobDTO
NameDescriptionTypeAdditional information
Id

integer

None.

InspectionId

integer

None.

Completed

boolean

None.

CompletedOn

date

None.

OperaAccount

string

None.

VehicleId

integer

None.

CreatedOn

date

None.

Assigned

boolean

None.

FaultCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InspectionId": 2,
  "Completed": true,
  "CompletedOn": "2025-12-06T01:59:11.6436948+00:00",
  "OperaAccount": "sample string 4",
  "VehicleId": 5,
  "CreatedOn": "2025-12-06T01:59:11.6436948+00:00",
  "Assigned": true,
  "FaultCount": 6
}

application/xml, text/xml

Sample:
<InspectionJobDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMH.DTO">
  <Assigned>true</Assigned>
  <Completed>true</Completed>
  <CompletedOn>2025-12-06T01:59:11.6436948+00:00</CompletedOn>
  <CreatedOn>2025-12-06T01:59:11.6436948+00:00</CreatedOn>
  <FaultCount>6</FaultCount>
  <Id>1</Id>
  <InspectionId>2</InspectionId>
  <OperaAccount>sample string 4</OperaAccount>
  <VehicleId>5</VehicleId>
</InspectionJobDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InspectionJobDTO'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>