How to get BrandYear for a Dealer
Get Brand Year for the provided Dealer UUID
Request
HTTP request
POST  https://api.mykaarma.com/appointment/v2/dealer-vehicle-config/brand-years
Authorization
This request requires the following authorization scopes:
| Scope | Level | Description | 
|---|---|---|
dealer.vehicle.config.read | Dealer | Authorises client to read vehicle config for the provided dealer | 
Request Body
| Property Name | Value | Description | Required | 
|---|---|---|---|
requesterUserUUID | String | UUID of the user who is making this request | No | 
dealerUUIDList | List<String> | List of dealer UUIDs for which we want to get BrandYear | Yes | 
Sample Request Model
{
  "dealerUUIDList": [
    "string"
  ],
  "requesterUserUUID": "string"
}
Sample Curl
curl --location 'https://api.mykaarma.com/appointment/v2/dealer-vehicle-config/brand-years' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{basic_auth_token}}' \
--data '{
  "dealerUUIDList": [
    "b7aedae19a153bfcc453f36e373d9937bf4ff0df4bb76c1006297fc61b92bd35",
    "bb858056db42991825026f41919a6d3404351b1dad201f1c5470c09d65ad9805"
  ],
  "requesterUserUUID": null
}'
Response
{
  "mapOfDealerAndBrandYears": {
    "additionalProp1": [
      {
        "brandId": 0,
        "brandLogo": "string",
        "brandName": "string",
        "webSchedulerMobileServiceImageURL": "string",
        "years": [
          "string"
        ]
      }
    ],
    "additionalProp2": [
      {
        "brandId": 0,
        "brandLogo": "string",
        "brandName": "string",
        "webSchedulerMobileServiceImageURL": "string",
        "years": [
          "string"
        ]
      }
    ],
    "additionalProp3": [
      {
        "brandId": 0,
        "brandLogo": "string",
        "brandName": "string",
        "webSchedulerMobileServiceImageURL": "string",
        "years": [
          "string"
        ]
      }
    ]
  },
  "statusCode": 0,
  "error": {
    "errorCode": "string",
    "errorDescription": "string",
    "errorUID": "string"
  },
  "warnings": [
    {
      "warningCode": "string",
      "warningDescription": "string"
    }
  ]
}