Skip to content

List paints

OpenAPI specifications

get https://api.autopass.pro/v1/paint

This new API Paint allows to get paint color codes compatible with a vehicle. It returns a color chart composed by color codes known for the brand and the model of the called vehicle. There are two packages. **pro** The API returns a color chart with colors where their main color is the same as the vehicule's color and the manufacturer is not called; **pro_plus** The API returns a color chart like the pro package but the manufacturer can be called if we don't have enough informations about the vehicle's color.

Query parameters

reg_or_vin
  • Type: string

This parameter provides the identity of the vehicle. This should be either a VIN, a registration plate or both. reg_or_vin takes priority.

vin
  • Type: string

This parameter provides the identity of the vehicle. This should be either a VIN, a registration plate or both. reg_or_vin takes priority.

reg_plate
  • Type: string

This parameter provides the identity of the vehicle. This should be either a VIN, a registration plate or both. reg_or_vin takes priority.

reg_country
  • Type: string

This parameter specifies the country where the car has been registered. This could be different from the country from which the request is made. For instance when repairing a car registered in Italy in a workshop in France. This is an ISO 3166-1 alpha-2 code. If not specified, the value used is the same as the parameter country.

country
  • Type: string
  • Default: FR

This parameter specifies the country in which the response is calculated. This influence some AM references selection and more generally triggers country specific offers in terms of brands. country must be ISO 3166-1 alpha-2. Note that this is not the language but the country.

company
  • Type: string

User company. Could be used to specify the company or one of its department calling the API. This is typically the highest level of the hierarchy. This parameter is returned but has no influence on the result.

entity
  • Type: string

User entity. Could be used to identify a specific workshop or an agent calling the API. This is usually the lowest level in the hierarchy. Using it is recommended to identify uniquely the caller. This parameter is returned but has no influence on the result.

activities
  • Type: string

User activities. Could be used in a transversal way to identify qualities / specific characteristics of the caller. For instance the type of activities covered by the workshop. This parameter is returned but has no influence on the result.

plan
  • Type: string

Possible plans: * **pro** The API returns a color char composed by color codes known for the brand and the model of the called vehicle with no manufacturer call * **pro_plus** The API returns a color chart with a manufacturer call if we don't have enough information about the vehicle

Responses

200 - OK.

401 - Unauthorized.

403 - Forbidden.

422 - Unprocessable content.