Référentiels véhicule

Lister les marques

Utiliser brandCode comme vehicle[].brand

GET
/provider/vehicles/brands

Authorization

apiKey BROKER_ADMIN, BROKER_USERapiSecret
X-Api-Key<token>

Clé d'API du cabinet (hk_…). Chaque requête porte aussi X-Timestamp, X-Nonce et X-Signature = hex(HMAC-SHA256(secret, keyId + timestamp + nonce + MÉTHODE + chemin avec query + sha256Hex(corps))). Voir le guide Authentification.

In: header

Scope: BROKER_ADMIN, BROKER_USER

X-Api-Secret<token>

Simulateur uniquement : le secret de la clé sert à signer la requête sur le serveur de la documentation. Il n'est jamais envoyé à l'API. N'utilisez que des clés de test.

In: header

Query Parameters

page?integer

Numéro de page (commence à 0).

Default0
size?integer

Taille de page.

Default10
filter[brandLabel]?string

Libellé de marque (contient, insensible à la casse).

Header Parameters

X-Workspace*string

Espace courtier de la plateforme, par exemple broker. Communiqué avec votre compte.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

./centurion-call.sh GET '/provider/vehicles/brands'
[
  {
    "id": "string",
    "brandCode": "string",
    "brandLabel": "string",
    "countryOfOrigin": "string",
    "isActive": true,
    "displayOrder": 0,
    "createdAt": "2022-03-10T12:15:50",
    "lastModifiedDate": "2022-03-10T12:15:50",
    "createdByUserId": "string",
    "updatedByUserId": "string",
    "createdBy": {
      "id": "string",
      "username": "string",
      "phoneNumber": "string",
      "name": "string",
      "firstName": "string",
      "lastName": "string",
      "status": "string",
      "broker": {
        "id": "string",
        "brokerCode": "string",
        "brokerNumber": "string",
        "legalName": "string",
        "tradeName": "string",
        "approvalNumber": "string",
        "eatciOfficeCode": "string",
        "address": "string",
        "phone": "string",
        "email": "string",
        "type": "BROKER",
        "company": {
          "id": "string",
          "companyCode": "string",
          "companyNumber": "string",
          "companyLabel": "string",
          "legalName": "string",
          "approvalNumber": "string",
          "eatciOfficeCode": "string",
          "address": "string",
          "phone": "string",
          "email": "string",
          "website": "string",
          "logoUrl": "string",
          "isActive": true,
          "createdDate": "2022-03-10T12:15:50",
          "lastModifiedDate": "2022-03-10T12:15:50",
          "createdByUserId": "string",
          "updatedByUserId": "string",
          "createdBy": {},
          "updatedBy": {}
        },
        "mainOffice": {},
        "isMainOffice": true,
        "defaultCommissionRate": 0,
        "commissionTaxRate": 0,
        "isActive": true,
        "createdAt": "2022-03-10T12:15:50",
        "lastModifiedDate": "2022-03-10T12:15:50",
        "createdByUserId": "string",
        "updatedByUserId": "string",
        "createdBy": {},
        "updatedBy": {}
      },
      "company": {
        "id": "string",
        "companyCode": "string",
        "companyNumber": "string",
        "companyLabel": "string",
        "legalName": "string",
        "approvalNumber": "string",
        "eatciOfficeCode": "string",
        "address": "string",
        "phone": "string",
        "email": "string",
        "website": "string",
        "logoUrl": "string",
        "isActive": true,
        "createdDate": "2022-03-10T12:15:50",
        "lastModifiedDate": "2022-03-10T12:15:50",
        "createdByUserId": "string",
        "updatedByUserId": "string",
        "createdBy": {},
        "updatedBy": {}
      },
      "country": "string",
      "email": "string",
      "eatciUsername": "string",
      "enabled": true,
      "emailVerified": true,
      "roles": [
        {
          "id": "string",
          "name": "string",
          "label": "string",
          "description": "string",
          "clientRole": true,
          "clientId": "string",
          "containerId": "string",
          "composite": true
        }
      ],
      "createdDate": "2022-03-10T12:15:50",
      "lastModifiedDate": "2022-03-10T12:15:50",
      "createdByUserId": "string",
      "updatedByUserId": "string",
      "createdBy": {},
      "updatedBy": {}
    },
    "updatedBy": {
      "id": "string",
      "username": "string",
      "phoneNumber": "string",
      "name": "string",
      "firstName": "string",
      "lastName": "string",
      "status": "string",
      "broker": {
        "id": "string",
        "brokerCode": "string",
        "brokerNumber": "string",
        "legalName": "string",
        "tradeName": "string",
        "approvalNumber": "string",
        "eatciOfficeCode": "string",
        "address": "string",
        "phone": "string",
        "email": "string",
        "type": "BROKER",
        "company": {
          "id": "string",
          "companyCode": "string",
          "companyNumber": "string",
          "companyLabel": "string",
          "legalName": "string",
          "approvalNumber": "string",
          "eatciOfficeCode": "string",
          "address": "string",
          "phone": "string",
          "email": "string",
          "website": "string",
          "logoUrl": "string",
          "isActive": true,
          "createdDate": "2022-03-10T12:15:50",
          "lastModifiedDate": "2022-03-10T12:15:50",
          "createdByUserId": "string",
          "updatedByUserId": "string",
          "createdBy": {},
          "updatedBy": {}
        },
        "mainOffice": {},
        "isMainOffice": true,
        "defaultCommissionRate": 0,
        "commissionTaxRate": 0,
        "isActive": true,
        "createdAt": "2022-03-10T12:15:50",
        "lastModifiedDate": "2022-03-10T12:15:50",
        "createdByUserId": "string",
        "updatedByUserId": "string",
        "createdBy": {},
        "updatedBy": {}
      },
      "company": {
        "id": "string",
        "companyCode": "string",
        "companyNumber": "string",
        "companyLabel": "string",
        "legalName": "string",
        "approvalNumber": "string",
        "eatciOfficeCode": "string",
        "address": "string",
        "phone": "string",
        "email": "string",
        "website": "string",
        "logoUrl": "string",
        "isActive": true,
        "createdDate": "2022-03-10T12:15:50",
        "lastModifiedDate": "2022-03-10T12:15:50",
        "createdByUserId": "string",
        "updatedByUserId": "string",
        "createdBy": {},
        "updatedBy": {}
      },
      "country": "string",
      "email": "string",
      "eatciUsername": "string",
      "enabled": true,
      "emailVerified": true,
      "roles": [
        {
          "id": "string",
          "name": "string",
          "label": "string",
          "description": "string",
          "clientRole": true,
          "clientId": "string",
          "containerId": "string",
          "composite": true
        }
      ],
      "createdDate": "2022-03-10T12:15:50",
      "lastModifiedDate": "2022-03-10T12:15:50",
      "createdByUserId": "string",
      "updatedByUserId": "string",
      "createdBy": {},
      "updatedBy": {}
    }
  }
]
{
  "status": 404,
  "title": "Élément introuvable",
  "detail": "Contract not found",
  "exception": "CONTRACT_NOT_FOUND",
  "instance": "/api/v1/provider/contracts/abc",
  "details": {
    "property1": "string",
    "property2": "string"
  }
}
{
  "status": 404,
  "title": "Élément introuvable",
  "detail": "Contract not found",
  "exception": "CONTRACT_NOT_FOUND",
  "instance": "/api/v1/provider/contracts/abc",
  "details": {
    "property1": "string",
    "property2": "string"
  }
}
{
  "status": 404,
  "title": "Élément introuvable",
  "detail": "Contract not found",
  "exception": "CONTRACT_NOT_FOUND",
  "instance": "/api/v1/provider/contracts/abc",
  "details": {
    "property1": "string",
    "property2": "string"
  }
}