Upload Truck Image

Uploads an image to be displayed with the truck.

Swagger Documentation

Method POST
Endpoint /truck/{truckId}/uploadImage
Base Path azvehicles.com/azstc2018api
Consumes application/json
Produces
  • application/json
  • application/xml
Path Request Parameter
Path Parameter Data Type Required/Optional Valid Values Description
carId
  • integer
  • int64
Required 8-digit numeric The truck ID provided by AZ Vehicles.
Response Payload Parameters
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
additionalMetadata:
description: Additional data to pass to server.
type: string
file:
description: File to upload.
type: string
Response Status Codes
Code Definition
200 Successful operation. The image was added successfully.
400 Invalid file type.