openapi: 3.2.0 info: version: v1 title: IDWS Vehicle Service Model Years API servers: - url: https://idws-sandbox.datasolutions.coxautoinc.com security: - apiKey: [] tags: - name: ModelYears paths: /idws/vehicle/modelyears: get: tags: - ModelYears summary: Gets a list of model years operationId: IdwsVehicleModelyearsGet parameters: - name: vehicleClass in: query description: NewCar or UsedCar. If not specified, all modelyears will be returned. required: false schema: type: string - name: applicationFilter in: query description: Dealer or Consumer. If not specified, all modelyears will be returned. required: false schema: type: string - name: yearId in: query description: Limits the output to only those modelyears available for the specified year required: false schema: type: integer format: int32 - name: makeId in: query description: Limits the output to only those modelyears available for the specified make required: false schema: type: integer format: int32 - name: modelId in: query description: Limits the output to only those modelyears available for the specified model required: false schema: type: integer format: int32 - name: bodyStyle in: query description: Limits the output to only those modelyears available for the specified body style required: false schema: type: string - name: marketingCategory in: query description: Limits the output to only those modelyears available for the specified marketing category required: false schema: type: string - name: isCPOEligible in: query description: Limits the output to only those modelyears available for those that are CPO eligible required: false schema: type: boolean - name: limit in: query description: Maximum number of modelyears to return. Default is 25. required: false schema: type: integer format: int32 - name: start in: query description: Index of the modelyear that begins the returned set. required: false schema: type: integer format: int32 responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/IDWS.Vehicle.Contracts.Contracts.V1.ModelYearsResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/IDWS.Platform.ResponseMessage.ReturnResponse' '401': description: Unauthorized '500': description: Server Error /idws/vehicle/modelyears/id/{id}: get: tags: - ModelYears summary: Get the Model Year based on ID operationId: IdwsVehicleModelyearsIdByIdGet parameters: - name: id in: path description: The id representing the model year required: true schema: type: integer format: int32 responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/IDWS.Vehicle.Contracts.Contracts.V1.ModelYearsResponse_ModelYear' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/IDWS.Platform.ResponseMessage.ReturnResponse' '401': description: Unauthorized '500': description: Server Error components: schemas: IDWS.Platform.ResponseMessage.ReturnResponse_ResponseMessage: type: object properties: code: type: string message: type: string IDWS.Vehicle.Contracts.Contracts.V1.ModelYearsResponse: type: object properties: items: type: array items: $ref: '#/components/schemas/IDWS.Vehicle.Contracts.Contracts.V1.ModelYearsResponse_ModelYear' first: type: string next: type: string previous: type: string limit: format: int32 type: integer count: format: int32 type: integer IDWS.Platform.ResponseMessage.ReturnResponse: type: object properties: errors: type: array items: $ref: '#/components/schemas/IDWS.Platform.ResponseMessage.ReturnResponse_ResponseMessage' warnings: type: array items: $ref: '#/components/schemas/IDWS.Platform.ResponseMessage.ReturnResponse_ResponseMessage' IDWS.Vehicle.Contracts.Contracts.V1.ModelYearsResponse_ModelYear: type: object properties: modelYearId: format: int32 type: integer yearId: format: int32 type: integer makeId: format: int32 type: integer makeName: type: string modelId: format: int32 type: integer modelName: type: string securitySchemes: apiKey: name: api_key in: query type: apiKey description: Mashery API Key