PUT api/VehicleInspectionUploadDTO/PutVehicleInspectionImage

Request Information

URI Parameters

None.

Body Parameters

VehicleInspectionImageDTO
NameDescriptionTypeAdditional information
Id

integer

None.

VehicleInspectionId

integer

None.

FileId

integer

None.

File

FileDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VehicleInspectionId": 1,
  "FileId": 1,
  "File": {
    "Id": 1,
    "JobId": 1,
    "FileName": "sample string 2",
    "Extension": "sample string 3",
    "Size": 4,
    "ContentType": "sample string 5",
    "Data": "QEA="
  }
}

application/xml, text/xml

Sample:
<VehicleInspectionImageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMH.DTO">
  <File>
    <ContentType>sample string 5</ContentType>
    <Data>QEA=</Data>
    <Extension>sample string 3</Extension>
    <FileName>sample string 2</FileName>
    <Id>1</Id>
    <JobId>1</JobId>
    <Size>4</Size>
  </File>
  <FileId>1</FileId>
  <Id>1</Id>
  <VehicleInspectionId>1</VehicleInspectionId>
</VehicleInspectionImageDTO>

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 'VehicleInspectionImageDTO'.

Response Information

Resource Description

None.