Automile ResourceOwnerVehicleInspection API
The ResourceOwnerVehicleInspection API from Automile — 3 operation(s) for resourceownervehicleinspection.
The ResourceOwnerVehicleInspection API from Automile — 3 operation(s) for resourceownervehicleinspection.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/automile-resourceownervehicleinspection-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Automile ClientApi Resource Owner Vehicle Inspection API
version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerVehicleInspection
paths:
/v1/resourceowner/vehicleinspection/{vehicleInspectionId}:
get:
tags:
- ResourceOwnerVehicleInspection
summary: Get a vehicle inspection
description: Only returns vehicle inspetions that the user have access to
operationId: GetResourceOwnerVehicleInspection
parameters:
- in: path
name: vehicleInspectionId
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The vehicle inspection is returned
content:
text/plain:
schema:
$ref: '#/components/schemas/VehicleInspectionModel'
application/json:
schema:
$ref: '#/components/schemas/VehicleInspectionModel'
text/json:
schema:
$ref: '#/components/schemas/VehicleInspectionModel'
'500':
description: Internal server error
security:
- oauth2: []
put:
tags:
- ResourceOwnerVehicleInspection
summary: Updates the given vehicle inspection with new model
description: This will update the given vehicle id with a new model.
operationId: EditResourceOwnerVehicleInspection
parameters:
- in: path
name: vehicleInspectionId
description: The vehicle inspection id
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The vehicle inspection was saved
'400':
description: Bad request, could occur for a number of cases, see returned message
'403':
description: Request is forbidden, could occur for a number of reasons, see returned message
'404':
description: Not found, the vehicle inspection you tried to update can't be found
'500':
description: Internal server error
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VehicleInspectionEditModel'
text/json:
schema:
$ref: '#/components/schemas/VehicleInspectionEditModel'
application/*+json:
schema:
$ref: '#/components/schemas/VehicleInspectionEditModel'
description: The new vehicle inspection model
/v1/resourceowner/vehicleinspection:
get:
tags:
- ResourceOwnerVehicleInspection
summary: Get all vehicle inspections that the user has access to
description: Only returns vehicle inspetions that the user have access to
operationId: GetResourceOwnerVehicleInspections
parameters:
- in: query
name: vehicleInspectionId
schema:
type: integer
format: int32
- in: query
name: vehicleId
schema:
type: integer
format: int32
- in: query
name: fromDate
schema:
type: string
format: date-time
- in: query
name: toDate
schema:
type: string
format: date-time
- in: query
name: excludeArchived
schema:
type: boolean
default: true
responses:
'200':
description: The vehicle inspections are returned
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/VehicleInspectionModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/VehicleInspectionModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/VehicleInspectionModel'
'500':
description: Internal server error
security:
- oauth2: []
post:
tags:
- ResourceOwnerVehicleInspection
summary: Creates a new vehicle inspection
description: This will create a new vehicle inspection and make the association you set.
operationId: CreateResourceOwnerVehicleInspection
responses:
'200':
description: A link in the header is returned to the newly created vehicle inspection
'400':
description: Bad request, could occur for a number of cases, see returned message
'403':
description: Request is forbidden, could occur for a number of reasons, see returned message
'500':
description: Internal server error
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VehicleInspectionCreateModel'
text/json:
schema:
$ref: '#/components/schemas/VehicleInspectionCreateModel'
application/*+json:
schema:
$ref: '#/components/schemas/VehicleInspectionCreateModel'
description: The vehicle inspection model
/v1/resourceowner/vehicleinspection/export/{vehicleInspectionId}:
post:
tags:
- ResourceOwnerVehicleInspection
summary: Export a vehicle inspection in pdf format via email
description: Only vehicle inspections that the user has access rights to are accessible.
operationId: ExportResourceOwnerVehicleInspection
parameters:
- in: path
name: vehicleInspectionId
description: The VehicleInspectionId of the Vehicle Inspection to export
required: true
schema:
type: integer
format: int32
responses:
'200':
description: Success status if the operation was successfull and an email has been sent
'400':
description: Bad request, could occur for a number of cases, see returned message
'403':
description: Request is forbidden, could occur for a number of reasons, see returned message
'500':
description: Internal server error
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VehicleInspectionExportModel'
text/json:
schema:
$ref: '#/components/schemas/VehicleInspectionExportModel'
application/*+json:
schema:
$ref: '#/components/schemas/VehicleInspectionExportModel'
description: The model containing reciving email address and language of the email
components:
schemas:
VehicleDefectModel:
type: object
properties:
VehicleDefectId:
format: int32
type: integer
VehicleInspectionId:
format: int32
type: integer
DefectType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
type: integer
CreatedByContactId:
format: int32
type: integer
DefectDateUtc:
format: date-time
type: string
Notes:
type: string
DefectStatusType:
format: int32
enum:
- 0
- 1
type: integer
VehicleDefectStatus:
type: array
items:
$ref: '#/components/schemas/VehicleDefectStatusModel'
VehicleDefectAttachments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectAttachmentModel'
VehicleDefectComments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectCommentsModel'
additionalProperties: false
VehicleInspectionExportModel:
type: object
properties:
ToEmail:
type: string
ISO639LanguageCode:
type: string
additionalProperties: false
VehicleDefectCommentsCreateModel:
type: object
properties:
VehicleDefectId:
format: int32
type: integer
Comment:
type: string
additionalProperties: false
VehicleInspectionCreateModel:
type: object
properties:
VehicleId:
format: int32
type: integer
InspectionDateUtc:
format: date-time
type: string
VehicleDefects:
type: array
items:
$ref: '#/components/schemas/VehicleDefectCreateModel'
additionalProperties: false
VehicleDefectCreateModel:
type: object
properties:
DefectType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
type: integer
Notes:
type: string
VehicleDefectStatus:
type: array
items:
$ref: '#/components/schemas/VehicleDefectStatusCreateModel'
VehicleDefectAttachments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectAttachmentCreateModel'
VehicleDefectComments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectCommentsCreateModel'
additionalProperties: false
VehicleDefectCommentEditModel:
type: object
properties:
VehicleDefectCommentId:
format: int32
type: integer
Comment:
type: string
additionalProperties: false
VehicleDefectStatusModel:
type: object
properties:
VehicleDefectStatusId:
format: int32
type: integer
VehicleDefectId:
format: int32
type: integer
CreatedByContactId:
format: int32
type: integer
DefectStatus:
format: int32
enum:
- 0
- 1
type: integer
DefectStatusDateUtc:
format: date-time
type: string
additionalProperties: false
VehicleDefectAttachmentModel:
type: object
properties:
VehicleDefectAttachmentId:
format: int32
type: integer
VehicleDefectId:
format: int32
type: integer
AttachmentType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
AttachmentLocation:
type: string
AttachmentDateUtc:
format: date-time
type: string
additionalProperties: false
VehicleDefectAttachmentCreateModel:
type: object
properties:
AttachmentType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
Data:
type: string
additionalProperties: false
VehicleDefectStatusCreateModel:
type: object
properties:
DefectStatus:
format: int32
enum:
- 0
- 1
type: integer
additionalProperties: false
VehicleInspectionModel:
type: object
properties:
VehicleInspectionId:
format: int32
type: integer
VehicleId:
format: int32
type: integer
CreatedByContactId:
format: int32
type: integer
InspectionStatusType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
type: integer
InspectionDateUtc:
format: date-time
type: string
VehicleDefects:
type: array
items:
$ref: '#/components/schemas/VehicleDefectModel'
InspectionStatus:
type: array
items:
$ref: '#/components/schemas/VehicleInspectionStatusModel'
additionalProperties: false
VehicleDefectCommentsModel:
type: object
properties:
VehicleDefectCommentId:
format: int32
type: integer
VehicleDefectId:
format: int32
type: integer
CreatedByContactId:
format: int32
type: integer
Comment:
type: string
CommentDateUtc:
format: date-time
type: string
additionalProperties: false
VehicleDefectEditModel:
type: object
properties:
VehicleDefectId:
format: int32
type: integer
DefectType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
type: integer
Notes:
type: string
DefectStatusType:
format: int32
enum:
- 0
- 1
type: integer
VehicleDefectAttachments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectAttachmentEditModel'
VehicleDefectComments:
type: array
items:
$ref: '#/components/schemas/VehicleDefectCommentEditModel'
additionalProperties: false
VehicleDefectAttachmentEditModel:
type: object
properties:
VehicleDefectAttachmentId:
format: int32
type: integer
AttachmentType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
Data:
type: string
additionalProperties: false
VehicleInspectionStatusModel:
type: object
properties:
VehicleInspectionStatusId:
format: int32
type: integer
VehicleInspectionId:
format: int32
type: integer
CreatedByContactId:
format: int32
type: integer
InspectionStatusType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
type: integer
StatusDateUtc:
format: date-time
type: string
additionalProperties: false
VehicleInspectionEditModel:
type: object
properties:
VehicleId:
format: int32
type: integer
InspectionStatusType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
type: integer
VehicleDefects:
type: array
items:
$ref: '#/components/schemas/VehicleDefectEditModel'
additionalProperties: false
securitySchemes:
oauth2:
type: oauth2
flows:
implicit:
scopes:
read: Read access to protected resources
write: Write access to protected resources
authorizationUrl: https://api.automile.com/login/
description: OAuth2 Implicit Grant