--- swagger: "2.0" info: x-ibm-name: mirai-loaner-information-cps-api title: Mirai Loaner Information CPS API version: 1.0.0 termsOfService: Toyota Terms of Service - Legal description: API provide the status and remaining rental day information related to the Mirai Loaner program for the provided VIN. name: "" schemes: - https basePath: /Warranty/v consumes: - application/json produces: - application/json securityDefinitions: ClientSecret: type: apiKey description: "" in: header name: X-IBM-Client-Secret clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] ClientSecret: [] x-ibm-configuration: testable: true enforced: true phase: realized categories: - Confidential paths: /MiraiLoanerInformation/lookup: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/jsonResponse' 401: description: "" schema: $ref: '#/definitions/error401' 404: description: "" schema: $ref: '#/definitions/error404' 500: description: "" schema: $ref: '#/definitions/error500' parameters: - name: jsonRequest required: false in: body schema: $ref: '#/definitions/jsonRequest' definitions: jsonRequest: properties: GetMiraiLoanerProgram: type: object properties: ApplicationArea: type: object properties: CreationDateTime: type: string BODID: type: string Sender: type: object properties: CreatorNameCode: type: string SenderNameCode: type: string Destination: type: object properties: DestinationNameCode: type: string GetMiraiLoanerProgramDataArea: type: object properties: VehicleDetail: type: object properties: VIN: type: string example: GetMiraiLoanerProgram: ApplicationArea: Sender: CreatorNameCode: 1DDWebApp SenderNameCode: 1DDWebApp CreationDateTime: "2014-12-17T09:30:47Z" BODID: ac90d42b-a4f9-357e-9a89-fcc11c0c8903 Destination: DestinationNameCode: CPS GetMiraiLoanerProgramDataArea: VehicleDetail: VIN: JTDBVRBD0G0001065 jsonResponse: properties: ShowMiraiLoanerProgram: type: object properties: ApplicationArea: type: object properties: CreationDateTime: type: string BODID: type: string Sender: type: object properties: CreatorNameCode: type: string SenderNameCode: type: string Destination: type: object properties: DestinationNameCode: type: string ServiceStatus: type: object properties: TimeStamp: type: string StatusType: type: string StatusCode: type: string StatusDescription: type: string System: type: string BusinessException: type: object properties: ErrorCode: type: string ErrorDescription: type: string example: ShowMiraiLoanerProgram: ApplicationArea: Sender: CreatorNameCode: CPS SenderNameCode: CPS CreationDateTime: "2021-01-12T12:56:29Z" BODID: ac90d42b-a4f9-357e-9a89-fcc11c0c8903 Destination: DestinationNameCode: 1DDWebApp ServiceStatus: TimeStamp: "2021-01-12T12:56:29Z" StatusType: BUSINESS_EXCEPTION StatusCode: 1 StatusDescription: BUSINESS_EXCEPTION System: CPS BusinessException: ErrorCode: 1 ErrorDescription: duplicate transmission number error401: properties: httpCode: type: string httpMessage: type: string moreInformation: type: string required: - httpCode - httpMessage - moreInformation example: httpCode: "401" httpMessage: Unauthorized moreInformation: Invalid client id or secret. additionalProperties: false error404: properties: httpCode: type: string httpMessage: type: string moreInformation: type: string required: - httpCode - httpMessage - moreInformation example: httpCode: "404" httpMessage: Not Found moreInformation: No resources match requested URI additionalProperties: false error500: properties: httpCode: type: string httpMessage: type: string moreInformation: type: string required: - httpCode - httpMessage - moreInformation example: httpCode: "500" httpMessage: Internal Server Error moreInformation: Internal Server Error. tags: [] x-ibm-endpoints: - endpointUrl: https://api-int.test.toyota.com/tmna/test type: - development - endpointUrl: https://api.test.toyota.com/tmna/test type: - development ...