{
  "openapi": "3.0.4",
  "info": {
    "title": "TALON Open API v1",
    "version": "1.0"
  },
  "paths": {
    "/openapi/v1/repairorder/{id}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a repair order based on id",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/{id}",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier for the repair order",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          }
        }
      }
    },
    "/openapi/v1/repairorder/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all the active repair orders",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/page/{pageNo}/{rowsPerPage}?internalRO=false",
        "parameters": [
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "internalRO",
            "in": "query",
            "description": "'NULL' will get both internal and customer. 'false' gets customer repair orders only records. 'true' gets internal repair orders only.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of IRepairOrder objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/repairorder/update/{date}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all repair orders based on last update date",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/update/{date}/{pageNo}?internalRO=false",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "Date time in yyyy-MM-ddThh:mm:ssZ format. Must not be greater than a month ago.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "internalRO",
            "in": "query",
            "description": "'NULL' will get both internal and customer. 'false' gets customer repair orders only records. 'true' gets internal repair orders only.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of IRepairOrder objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/repairorder/stocknumber/{stockNumber}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a work order based on stock number",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/stocknumber/{stockNumber}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "stockNumber",
            "in": "path",
            "description": "Repair Order stockNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.workorder.IRepairOrder"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          },
          "401": {
            "description": "User authentication failed"
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint"
          }
        }
      }
    },
    "/openapi/v1/repairorder/vin/{vin}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns repair orders based on VIN",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/vin/{vin}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "vin",
            "in": "path",
            "description": "VIN for the vehicle being worked on",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          }
        }
      }
    },
    "/openapi/v1/repairorder/customer/{customerID}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns repair orders based on customerID",
        "description": "Sample request:\r\n            \r\n    GET /repairorder/customer/{customerID}/page/{pageNo}/{rowsPerPage}/?vin={vin}",
        "parameters": [
          {
            "name": "customerID",
            "in": "path",
            "description": "The customerID that is used to look up Repair Orders",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "vin",
            "in": "query",
            "description": "Optional filter by VIN",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          }
        }
      }
    },
    "/openapi/v1/repairorder/history/{month}/{year}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns billed repair orders based on month and year up to 5 years of history",
        "description": "Sample request:\r\n            \r\n    GET /history/{month}/{year}/page/{pageNo}/{rowsPerPage}/?internalRo={true|false|null}",
        "parameters": [
          {
            "name": "month",
            "in": "path",
            "description": "Month number that is being requested",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "Year of request(Limited to 5 years of historical data)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of repair order per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "internalRO",
            "in": "query",
            "description": "'NULL' will get both internal and customer. 'false' gets customer repair orders only records. 'true' gets internal repair orders only.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.workorder.RepairOrder"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Vehicle/{id}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a vehicle based on id",
        "description": "Sample request:\r\n            \r\n    GET /vehicle/{id}",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Vehicle Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Vehicle": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all vehicles",
        "description": "Sample request:\r\n            \r\n    GET /vehicle",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Vehicle/update/{date}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all inventory records that have an updatedtm within the date provided",
        "description": "Sample request:\r\n            \r\n    GET /vehicle/update/{date}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "The minimum update date time. Format: yyyy-MM-ddThh:mm:ssZ",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Vehicle/stock-number/{stockNumber}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a vehicle based on stock_number",
        "description": "Sample request:\r\n            \r\n    GET /vehicle/stock-number/{stockNumber}",
        "parameters": [
          {
            "name": "stockNumber",
            "in": "path",
            "description": "Vehicle stockNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.vehicle.Vehicle"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/Monitor/test-connections": {
      "get": {
        "tags": [
          "v1"
        ],
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Invoice/update/{date}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all invoice records that have been updated within the date provided",
        "description": "Sample request:\r\n            \r\n    GET /invoice/update/{date}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "The start update date time. Format: yyyy-mm-ddThh:mm:ssZ",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit) to look at",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Number of items per page (Limit 1000)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Invoice/customer/{customerID}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns invoice(s) based on the specified customerID",
        "description": "Sample request:\r\n            \r\n    GET invoice/customer/{customerID}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "customerID",
            "in": "path",
            "description": "The customer ID used to look up the invoice(s)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit) to look at",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Number of items per page (Limit 1000)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Invoice/{invoiceID}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a invoice based on the specified invoiceId",
        "description": "Sample request:\r\n            \r\n    GET /invoice/{invoiceId}",
        "parameters": [
          {
            "name": "invoiceID",
            "in": "path",
            "description": "The unique identifier for the invoice",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Invoice/history/{month}/{year}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Get invoice history based on month and year.",
        "description": "Sample request:\r\n            \r\n    GET /invoice/history/06/2023/page/1/100",
        "parameters": [
          {
            "name": "month",
            "in": "path",
            "description": "Month number for month of the year",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "Year number up to five years prior",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "requested page number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Rows per page limit",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.invoice.Invoice"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.invoice.Invoice"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.invoice.Invoice"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/Hub/signalr/response": {
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Endpoint to post SignalR responses to used internally for bidirectional communication",
        "description": "Sample request:\r\n            \r\n    POST signalr/response\r\n    {\r\n        \"requestId\": \"D45E6A64-FEEE-4773-98BA-5DE614FF8BA8\",\r\n        \"result\": \"string content\",\r\n    }",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "String containing whatever resultset is requested. \r\nTypically this will be in a Json format unless some form of error response is sent back",
          "content": {
            "application/json-patch+json; x-version=1.0": {
              "schema": {
                "$ref": "#/components/schemas/talon.open.api.messages.ClientResponse"
              }
            },
            "application/json; x-version=1.0": {
              "schema": {
                "$ref": "#/components/schemas/talon.open.api.messages.ClientResponse"
              }
            },
            "text/json; x-version=1.0": {
              "schema": {
                "$ref": "#/components/schemas/talon.open.api.messages.ClientResponse"
              }
            },
            "application/*+json; x-version=1.0": {
              "schema": {
                "$ref": "#/components/schemas/talon.open.api.messages.ClientResponse"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/openapi/Hub/ping": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Ping a specific client to see if they are connected",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/Hub/ping/client": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Ping a specific client to see if they are connected",
        "parameters": [
          {
            "name": "datasetKey",
            "in": "query",
            "description": "datasetKey for the client to ping",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/System.Collections.Generic.KeyValuePair`2[System.String,System.String]"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/Hub/clients/heartbeat": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Gets the health status of everything in the cached datasets",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/talon.open.api.messages.ClientStatus"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/talon.open.api.messages.ClientStatus"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/talon.open.api.messages.ClientStatus"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      },
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Updates the cached value for the dataset",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/talon.open.api.dealer.Dealer"
                }
              }
            },
            "application/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/talon.open.api.dealer.Dealer"
                }
              }
            },
            "text/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/talon.open.api.dealer.Dealer"
                }
              }
            },
            "application/*+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/talon.open.api.dealer.Dealer"
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/dealreferences/deal-charges": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all deal charges",
        "description": "Sample request:\r\n            \r\n    GET /deal-charges",
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of DealCharges objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.DealCharges"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.DealCharges"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.DealCharges"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/dealreferences/employees": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all active employees",
        "description": "Sample request:\r\n            \r\n    GET /employees",
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of EmployeeOutput objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.EmployeeOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.EmployeeOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.EmployeeOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/dealreferences/lienholders": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all the active lienholders",
        "description": "Sample request:\r\n            \r\n    GET /lienholders",
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of LienHolderOutput objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.LienHolderOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.LienHolderOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.dealreferences.LienHolderOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/Deal/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all open deals and quotes where deal inactive date is null",
        "description": "Sample request:\r\n            \r\n    GET /deal/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of deals per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of DealOutput objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/Deal/{dealId}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a deal based on dealId",
        "description": "Sample request:\r\n            \r\n    GET /deal/{dealId}",
        "parameters": [
          {
            "name": "dealId",
            "in": "path",
            "description": "The Deal Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an DealOutput object",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/Deal/update/{date}/{pageNo}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns deals based on last update date",
        "description": "Sample request:\r\n            \r\n    GET /deal/update/{date}/{pageNo}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "Date time in yyyy-MM-dd hh:mm:ss format. Must not be greater than a year ago.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of DealOutput objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/Deal/history/{month}/{year}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Get deal history based on month and year.",
        "description": "Sample request:\r\n            \r\n    GET /deal/history/06/2023/page/1/100",
        "parameters": [
          {
            "name": "month",
            "in": "path",
            "description": "Month number for month of the year",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "year",
            "in": "path",
            "description": "Year number up to five years prior",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "requested page number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Rows per page limit",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.deal.DealOutput"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Deal": {
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Inserts a deal based on json body",
        "description": "Sample request:\r\n            \r\n    POST /deal\r\n        {\r\n             \"stock_number\"          :\"3E1FF379-9030-496\",\r\n             \"customer_id\"           :\"16507\",\r\n             \"vehicle_sell_price\"    :\"1500.00\",\r\n             \"talon_employee_code\"   :\"DAW\",\r\n             \"deal_comments\"         :\"Any additional notes needed for the the deal can go here.\"\r\n        }",
        "requestBody": {
          "description": "JToken representing the IDealInputV1 object that will be used when creating a deal.",
          "content": {
            "application/json": {
              "schema": { }
            }
          }
        },
        "responses": {
          "201": {
            "description": "HTTP Statuscode with a payload containing the newly created deal id",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    },
    "/openapi/v1/customervehicles/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all the active customer vehicles",
        "description": "Sample request:\r\n            \r\n    GET /customervehicles/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of customer vehicles per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of CustomerVehicle objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/customervehicles/update/{date}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all customer vehicles based on last update date",
        "description": "Sample request:\r\n            \r\n    GET /customervehicles/update/{date}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "Date time in yyyy-MM-ddThh:mm:ssZ format. Must not be greater than a month ago.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of customer vehicles per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Body will contain an IEnumerable of CustomerVehicle objects",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/customervehicles/{customerID}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns customer vehicles based on customerID",
        "description": "Sample request:\r\n            \r\n    GET /customervehicles/{customerID}?active",
        "parameters": [
          {
            "name": "customerID",
            "in": "path",
            "description": "The customerID that is used to look up Customer Vehicles",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "active",
            "in": "query",
            "description": "Optional filter by active status",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pageNo",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/customervehicles/{customerID}/{vin}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns customer vehicles based on customerID and VIN",
        "description": "Sample request:\r\n            \r\n    GET /customervehicles/{customerID}/{vin}",
        "parameters": [
          {
            "name": "customerID",
            "in": "path",
            "description": "The customerID that is used to look up Customer Vehicles",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "vin",
            "in": "path",
            "description": "VIN for the vehicle being looked up",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerVehicle"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Something was wrong with the users request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the api but, not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          },
          "503": {
            "description": "Service Unavailable"
          }
        }
      }
    },
    "/openapi/v1/customervehicles": {
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Adds a new customer vehicle",
        "description": "Sample request:\r\n\r\n   POST /customervehicles \r\n    { \r\n        \"customerId\"    :2147483647, \r\n        \"vin\"           :\"1HGCM82633A123456\", \r\n        \"odometer\"      :999999, \r\n        \"color\"         :\"Red\",\r\n        \"trimname\"      :\"SE\"\r\n    }",
        "requestBody": {
          "description": "The customer vehicle request",
          "content": {
            "application/json": {
              "schema": { }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request was successful"
          },
          "400": {
            "description": "Something was wrong with the user's request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "User authentication failed",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "User has access to the API but not to this endpoint",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error occurred"
          }
        }
      }
    },
    "/openapi/v1/Customer/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all customers",
        "description": "Sample request:\r\n            \r\n    GET /customer/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "pageNo",
            "in": "path",
            "description": "Requested page number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of customers per page to return (2000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Customer/{customerId}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a customer based on customerId",
        "description": "Sample request:\r\n            \r\n    GET /customer/{customerId}",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "The customer ID to get",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Customer/update/{date}/{pageNo}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all customer records that have an date within the date provided",
        "description": "Sample request:\r\n            \r\n    GET /customer/update/{date}/{pageNo}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "The minimum update date time. Format: yyyy-mm-ddThh:mm:ssZ",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Customer": {
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Inserts the incoming customer",
        "description": "Sample request:\r\n            \r\n    POST /customer - Named customer\r\n        {\r\n            \"customer_type\": \"R\",\r\n            \"salutation_code\": \"Mr.\",\r\n            \"first_name\": \"Nick\",\r\n            \"middle_name\": \"Rback\",\r\n            \"last_name\": \"Chubb\",\r\n            \"name_suffix\": \"III\",\r\n            \"company_name\": \"Browns Org.\",\r\n            \"alias\": \"NC\",\r\n            \"address_line1\": \"123 Superbowl Street\",\r\n            \"address_line2\": \"4567\",\r\n            \"city\": \"Cleveland\",\r\n            \"state_code\": \"OH\",\r\n            \"postal_code\": \"12345\",\r\n            \"postal_code_suffix\": \"6789\",\r\n            \"county\": \"Cuyahoga\",\r\n            \"country_code\": \"US\",\r\n            \"donotcontact_mail\": true,\r\n            \"contact_method_preferred\": \"P\",\r\n            \"personal_phone_mobile\": \"1234567890\",\r\n            \"personal_phone_home\": \"1234567890\",\r\n            \"donotcontact_phone\": true,\r\n            \"email\": \"ncrb@browns.com\",\r\n            \"donotcontact_email\": true,\r\n            \"primary_phone_type\": \"3\",\r\n            \"gender_type\": \"M\",\r\n            \"birth_date\": \"1992-04-24\",\r\n            \"marital_status_code\": \"S\",\r\n            \"customer_class\": \"HD\",\r\n            \"customer_club\": \"HD\",\r\n            \"marketing_hog_number\": \"HOG1\",\r\n            \"marketing_loyalty_code\": \"HOGL1\",\r\n            \"marketing_misc1\": \"MISC1\",\r\n            \"marketing_misc2\": \"MISC2\",\r\n            \"marketing_misc3\": \"MISC3\"\r\n        } \r\n        \r\n    POST /customer - Company name\r\n        \r\n        {\r\n            \"customer_type\": \"W\",\r\n            \"company_name\": \"Browns Org.\",\r\n            \"alias\": \"NC\",\r\n            \"address_line1\": \"123 Superbowl Street\",\r\n            \"address_line2\": \"4567\",\r\n            \"city\": \"Cleveland\",\r\n            \"state_code\": \"OH\",\r\n            \"postal_code\": \"12345\",\r\n            \"postal_code_suffix\": \"6789\",\r\n            \"county\": \"Cuyahoga\",\r\n            \"country_code\": \"US\",\r\n            \"donotcontact_mail\": true,\r\n            \"contact_method_preferred\": \"P\",\r\n            \"personal_phone_mobile\": \"1234567890\",\r\n            \"personal_phone_home\": \"1234567890\",\r\n            \"donotcontact_phone\": true,\r\n            \"email\": \"ncrb@browns.com\",\r\n            \"donotcontact_email\": true,\r\n            \"primary_phone_type\": \"3\",\r\n            \"gender_type\": \"M\",\r\n            \"birth_date\": \"1992-04-24\",\r\n            \"customer_class\": \"HD\",\r\n            \"customer_club\": \"HD\",\r\n            \"marketing_hog_number\": \"HOG1\",\r\n            \"marketing_loyalty_code\": \"HOGL1\",\r\n            \"marketing_misc1\": \"MISC1\",\r\n            \"marketing_misc2\": \"MISC2\",\r\n            \"marketing_misc3\": \"MISC3\"\r\n        }",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": { }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          },
          "200": {
            "description": ""
          }
        }
      }
    },
    "/openapi/v1/Customer/{id}": {
      "patch": {
        "tags": [
          "v1"
        ],
        "summary": "Updates a customer based on json body",
        "description": "Sample request:\r\n            \r\n    PATCH /customer\r\n       [\r\n             {    \r\n               \"path\": \"company_name\",\r\n               \"op\": \"replace\",\r\n               \"value\": \"Test1\"\r\n             },\r\n             {    \r\n               \"path\": \"city\",\r\n               \"op\": \"replace\",\r\n               \"value\": \"Test2\"\r\n             }\r\n       ]",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "application/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "text/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "application/*+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/Appointment/apptreferences/service-employees": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Retrieves a list of service employee references.",
        "description": "This method fetches service employeesreferences of type talon.open.api.appointment.ApptReferenceEmployee\r\n             for the current user's dataset and partner. The response includes paging information and a collection of\r\n             customer appointments.\r\n            \r\n                 GET /appointment/apptreferences/service-employees",
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceEmployee]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceEmployee]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceEmployee]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error"
          }
        }
      }
    },
    "/openapi/v1/Appointment/apptreferences/skill-levels": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Retrieves a list of service skill level references.",
        "description": "This method fetches service employees skill levels of type talon.open.api.appointment.ApptReferenceSkillLevel\r\n             for the current user's dataset and partner.\r\n            \r\n                 GET /appointment/apptreferences/skill-level",
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceSkillLevel]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceSkillLevel]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceSkillLevel]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error"
          }
        }
      }
    },
    "/openapi/v1/Appointment/apptreferences/hours-of-operation": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Retrieves a list of service hours of operation references.",
        "description": "This method fetches service hours of operation\r\n             of type talon.open.api.appointment.ApptReferenceHoursOfOperation\r\n             for the current user's dataset and partner.\r\n            \r\n                 GET /appointment/apptreferences/hours-of-operation",
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceHoursOfOperation]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceHoursOfOperation]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceHoursOfOperation]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error"
          }
        }
      }
    },
    "/openapi/v1/Appointment/apptreferences/available-times/{startDate}/{endDate}/{minuteInterval}/{employeeCode}/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Retrieves a list of available time slots for a service tech",
        "description": "This method fetches available service hours slots \r\n             of type talon.open.api.appointment.TechAppointmentSlot\r\n             for the current user's dataset and partner.\r\n            \r\n                 GET /appointment/apptreferences/available-times/{startDate}/{endDate}/{minuteInterval}/{employeeCode}/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "startDate",
            "in": "path",
            "description": "Start date of date window to query Ex: 08-01-2026 or 2026-08-01",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endDate",
            "in": "path",
            "description": "End date of date window to query Ex: 08-10-2026 or 2026-08-10",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "minuteInterval",
            "in": "path",
            "description": "Time slot interval to return\r\n                          valid values: 15, 30, 45, 60, 75, 90, 105,120,135,150,165,180,195, 210, 225, 240",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "employeeCode",
            "in": "path",
            "description": "Technician employee code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number to retrieve",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Number of rows per page",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error"
          }
        }
      }
    },
    "/openapi/v1/Appointment/apptreferences/available-times/{startDate}/{endDate}/{minuteInterval}/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Retrieves a list of available time slots for service techs",
        "description": "This method fetches available service hours slots \r\n             of type talon.open.api.appointment.TechAppointmentSlot\r\n             for the current user's dataset and partner.\r\n            \r\n                 GET /appointment/apptreferences/available-times/{startDate}/{endDate}/{minuteInterval}/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "startDate",
            "in": "path",
            "description": "Start date of date window to query Ex: 08-01-2026 or 2026-08-01",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endDate",
            "in": "path",
            "description": "End date of date window to query Ex: 08-10-2026 or 2026-08-10",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "minuteInterval",
            "in": "path",
            "description": "Time slot interval to return\r\n                          valid values: 15, 30, 45, 60, 75, 90, 105,120,135,150,165,180,195, 210, 225, 240",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number to retrieve",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Number of rows per page",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error"
          }
        }
      }
    },
    "/openapi/v1/CustomerAppointment/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all paged appointment information",
        "description": "Sample request:\r\n            \r\n    GET /customerappointment/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit) to look at",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Max number of appointments per page to return (1000 limit)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/CustomerAppointment/update/{date}/page/{pageNo}/{rowsPerPage}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns all appointment records that have been updated within the date provided",
        "description": "Sample request:\r\n            \r\n    GET /customerappointment/update/{date}/page/{pageNo}/{rowsPerPage}",
        "parameters": [
          {
            "name": "date",
            "in": "path",
            "description": "The start update date time. Format: yyyy-mm-ddThh:mm:ssZ",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "path",
            "description": "Page number (100 limit) to look at",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "rowsPerPage",
            "in": "path",
            "description": "Number of items per page (Limit 1000)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/CustomerAppointment/customer/{customerID}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns appointment(s) based on the specified customerID",
        "description": "Sample request:\r\n            \r\n    GET /customerappointment/customer/{customerID}",
        "parameters": [
          {
            "name": "customerID",
            "in": "path",
            "description": "The customer ID used to look up the appointment(s)",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/CustomerAppointment/appointment/{appointmentID}": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "Returns a appointment based on the specified appointmentID",
        "description": "Sample request:\r\n            \r\n    GET /customerappointment/appointment/{appointmentID}",
        "parameters": [
          {
            "name": "appointmentID",
            "in": "path",
            "description": "The unique identifier for the appointment",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/openapi/v1/CustomerAppointment": {
      "post": {
        "tags": [
          "v1"
        ],
        "summary": "Posts a customer appointment to the specified datastore",
        "description": "Sample request:\r\n            \r\n    POST /CustomerAppointment\r\n    {\r\n       \"customer_id\":\"123456\",\r\n       \"assigned_SA\":\"SQA654\",\r\n       \"assigned_tech\":\"DJW987\",\r\n       \"appt_reason\":\"Sample Reason, need to look into brakes\",\r\n       \"customer_comments\":\"Brakes feel a bit spongy\",\r\n       \"start_datetime\":\"2026-03-19 13:00:00\",\r\n       \"end_datetime\":\"2026-03-19 18:30:00\",\r\n       \"skill_level_code\":\"4\",\r\n       \"vin\":\"V123T6TON122345ZY\",\r\n       \"make\":\"HD\",\r\n       \"model\":\"RDSTR\",\r\n       \"year\":\"2022\",\r\n       \"unscheduled\":false,\r\n       \"events\":[\r\n           {\r\n               \"description\":\"Verify and bleed brakes if needed\",\r\n               \"minutes\":\"90\",\r\n               \"repair_code\":\"R\"\r\n           }\r\n       ]\r\n   }",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/talon.open.api.appointment.CustomerAppointmentInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "v1"
        ],
        "summary": "Confirms or reschedules an appointment",
        "description": "Sample request:\r\n            \r\n    PATCH /customerappointment\r\n       [\r\n             {\r\n               \"path\": \"appt_guid\",\r\n               \"op\": \"replace\",\r\n               \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\r\n             },\r\n             {\r\n               \"path\": \"customer_id\",\r\n               \"op\": \"replace\",\r\n               \"value\": 12345\r\n             },\r\n             {\r\n               \"path\": \"confirm_appt\",\r\n               \"op\": \"replace\",\r\n               \"value\": \"N\"\r\n             },\r\n             {\r\n               \"path\": \"comments\",\r\n               \"op\": \"replace\",\r\n               \"value\": \"Need to reschedule appointment\"\r\n             }\r\n       ]\r\n            \r\nWhen confirm_appt is \"N\", comments are required (5-150 characters, A-Z a-z 0-9 spaces and standard punctuation).",
        "requestBody": {
          "description": "JSON patch document containing appt_guid, customer_id, confirm_appt, and optional comments operations",
          "content": {
            "application/json-patch+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "application/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "text/json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            },
            "application/*+json; x-version=1.0": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.JsonPatch.Operations.Operation"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request was successful",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request was made",
            "content": {
              "text/plain; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=1.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/openapi/v2/Deal": {
      "post": {
        "tags": [
          "v2"
        ],
        "summary": "Inserts a deal based on json body",
        "description": "Sample request:\r\n            \r\n    POST /deal\r\n        {\r\n             \"stock_number\"          :\"3E1FF379-9030-496\",\r\n             \"customer_id\"           :\"16507\",\r\n             \"vehicle_sell_price\"    :\"1500.00\",\r\n             \"deal_comments\"         :\"Any additional notes needed for the the deal can go here.\",\r\n             \"Parts_Access_Amt\"      :\"12.00\",\r\n             \"Labor_Amt\"                :\"12.00\",\r\n             \"Cash_Down_Amt\"            :\"12.00\",\r\n             \"Cash_Deal\"                :\"true\",\r\n             \"LienHolder_Code\"          :\"DAW\",\r\n             \"Loan_Term\"                :\"1\",\r\n             \"Apr\"                      :\"12.00\",\r\n             \"Days_First_Pay\"           :\"2\",\r\n             \"Payments_Per_Year\"        :\"1\",\r\n             \"Sales1_Employee_Code\"     :\"DAW\",\r\n             \"Salesfi1_Employee_Code\"   :\"AWSD\",\r\n             \"Sales_Mgr_Employee_Code\"  :\"DFRE\",\r\n             \"charges\"                  :[{\"charge_id\":1,\"charge_amt\":\"11.01\"},{\"charge_id\":2,\"charge_amt\":\"14.24\"}],\r\n             \"ppm_amt\"                  :\"12.00\",\r\n             \"esp_amt\"                  :\"200.0\",\r\n             \"trade_ins\"                 :[{\"trade_allowance_amount\":\"12.24\"}]\r\n        }",
        "requestBody": {
          "description": "JToken representing the IDealInputV2 object that will be used when creating a deal.",
          "content": {
            "application/json": {
              "schema": { }
            }
          }
        },
        "responses": {
          "201": {
            "description": "HTTP Statuscode with a payload containing the newly created deal id",
            "content": {
              "text/plain; x-version=2.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "application/json; x-version=2.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json; x-version=2.0": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "Body will contain a detailed description of what was invalid.",
            "content": {
              "text/plain; x-version=2.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json; x-version=2.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json; x-version=2.0": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Unknown error has occurred."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Microsoft.AspNetCore.JsonPatch.Operations.Operation": {
        "type": "object",
        "properties": {
          "value": {
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "op": {
            "type": "string",
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "System.Collections.Generic.KeyValuePair`2[System.String,System.String]": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.ApptReferenceEmployee": {
        "type": "object",
        "properties": {
          "employee_code": {
            "type": "string",
            "nullable": true
          },
          "employee_name": {
            "type": "string",
            "nullable": true
          },
          "skill_level_code": {
            "type": "string",
            "nullable": true
          },
          "skill_level_name": {
            "type": "string",
            "nullable": true
          },
          "termination_date": {
            "type": "string",
            "nullable": true
          },
          "position_name": {
            "type": "string",
            "nullable": true
          },
          "department_name": {
            "type": "string",
            "nullable": true
          },
          "service_calendar_tech": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.ApptReferenceHoursOfOperation": {
        "type": "object",
        "properties": {
          "department": {
            "type": "string",
            "nullable": true
          },
          "hours_description": {
            "type": "string",
            "nullable": true
          },
          "calendar_start_date": {
            "type": "string",
            "nullable": true
          },
          "calendar_end_date": {
            "type": "string",
            "nullable": true
          },
          "mon_start_time": {
            "type": "string",
            "nullable": true
          },
          "mon_end_time": {
            "type": "string",
            "nullable": true
          },
          "mon_exception_code": {
            "type": "string",
            "nullable": true
          },
          "tue_start_time": {
            "type": "string",
            "nullable": true
          },
          "tue_end_time": {
            "type": "string",
            "nullable": true
          },
          "tue_exception_code": {
            "type": "string",
            "nullable": true
          },
          "wed_start_time": {
            "type": "string",
            "nullable": true
          },
          "wed_end_time": {
            "type": "string",
            "nullable": true
          },
          "wed_exception_code": {
            "type": "string",
            "nullable": true
          },
          "thu_start_time": {
            "type": "string",
            "nullable": true
          },
          "thu_end_time": {
            "type": "string",
            "nullable": true
          },
          "thu_exception_code": {
            "type": "string",
            "nullable": true
          },
          "fri_start_time": {
            "type": "string",
            "nullable": true
          },
          "fri_end_time": {
            "type": "string",
            "nullable": true
          },
          "fri_exception_code": {
            "type": "string",
            "nullable": true
          },
          "sat_start_time": {
            "type": "string",
            "nullable": true
          },
          "sat_end_time": {
            "type": "string",
            "nullable": true
          },
          "sat_exception_code": {
            "type": "string",
            "nullable": true
          },
          "sun_start_time": {
            "type": "string",
            "nullable": true
          },
          "sun_end_time": {
            "type": "string",
            "nullable": true
          },
          "sun_exception_code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.ApptReferenceSkillLevel": {
        "type": "object",
        "properties": {
          "level_code": {
            "type": "string",
            "nullable": true
          },
          "level_name": {
            "type": "string",
            "nullable": true
          },
          "level_sort_order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.CustomerAppointment": {
        "type": "object",
        "properties": {
          "appt_guid": {
            "type": "string",
            "format": "uuid"
          },
          "customer_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "preferred_phone": {
            "type": "string",
            "nullable": true
          },
          "customer_name": {
            "type": "string",
            "nullable": true
          },
          "work_stage": {
            "type": "string",
            "nullable": true
          },
          "appt_description": {
            "type": "string",
            "nullable": true
          },
          "start_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "promised_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true
          },
          "customer_waiting": {
            "type": "boolean",
            "nullable": true
          },
          "vehicle_info": {
            "$ref": "#/components/schemas/talon.open.api.appointment.VehicleAppointmentDto"
          },
          "work_event": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.EventAppointmentDto"
            },
            "nullable": true
          },
          "ro_id": {
            "type": "string",
            "nullable": true
          },
          "cancel_reason": {
            "type": "string",
            "nullable": true
          },
          "no_show": {
            "type": "boolean",
            "nullable": true
          },
          "create_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "update_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "inactive_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sa_employee_name": {
            "type": "string",
            "nullable": true
          },
          "technician_name": {
            "type": "string",
            "nullable": true
          },
          "sa_employee_code": {
            "type": "string",
            "nullable": true
          },
          "technician_code": {
            "type": "string",
            "nullable": true
          },
          "unscheduled_flag": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.CustomerAppointmentInput": {
        "required": [
          "appt_reason",
          "assigned_sa",
          "customer_id",
          "end_datetime",
          "start_datetime",
          "unscheduled"
        ],
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "integer",
            "format": "int32"
          },
          "assigned_sa": {
            "maxLength": 6,
            "minLength": 2,
            "type": "string"
          },
          "assigned_tech": {
            "type": "string",
            "nullable": true
          },
          "appt_reason": {
            "minLength": 1,
            "type": "string"
          },
          "customer_comments": {
            "type": "string",
            "nullable": true
          },
          "start_datetime": {
            "type": "string",
            "format": "date-time"
          },
          "end_datetime": {
            "type": "string",
            "format": "date-time"
          },
          "skill_level_code": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vin": {
            "minLength": 1,
            "type": "string",
            "nullable": true
          },
          "make": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "maximum": 9999,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "unscheduled": {
            "type": "boolean"
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.CustomerAppointmentInputEvent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.CustomerAppointmentInputEvent": {
        "required": [
          "description",
          "repair_code"
        ],
        "type": "object",
        "properties": {
          "description": {
            "minLength": 1,
            "type": "string"
          },
          "minutes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "repair_code": {
            "pattern": "^[rRiI]$",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.EventAppointmentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "type_desc": {
            "type": "string",
            "nullable": true
          },
          "work_desc": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.appointment.TechAppointmentSlot": {
        "type": "object",
        "properties": {
          "employee_code": {
            "type": "string",
            "nullable": true
          },
          "employee_name": {
            "type": "string",
            "nullable": true
          },
          "skill_level_code": {
            "type": "string",
            "nullable": true
          },
          "skill_level_name": {
            "type": "string",
            "nullable": true
          },
          "date_start_time": {
            "type": "string",
            "nullable": true
          },
          "date_end_time": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an available appointment slot for a technician, including technician details, skill level, and the\r\nscheduled time range."
      },
      "talon.open.api.appointment.VehicleAppointmentDto": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32"
          },
          "mileage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customer.CustomerOutputResource": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customer_type": {
            "type": "string",
            "nullable": true
          },
          "customer_type_desc": {
            "type": "string",
            "nullable": true
          },
          "salutation_code": {
            "type": "string",
            "nullable": true
          },
          "salutation_code_desc": {
            "type": "string",
            "nullable": true
          },
          "first_name": {
            "type": "string",
            "nullable": true
          },
          "middle_name": {
            "type": "string",
            "nullable": true
          },
          "middle_initial": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "last_name": {
            "type": "string",
            "nullable": true
          },
          "name_suffix": {
            "type": "string",
            "nullable": true
          },
          "name_suffix_desc": {
            "type": "string",
            "nullable": true
          },
          "company_name": {
            "type": "string",
            "nullable": true
          },
          "alias": {
            "type": "string",
            "nullable": true
          },
          "address_line1": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code_suffix": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "country_code": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_mail": {
            "type": "boolean",
            "nullable": true
          },
          "personal_phone_mobile": {
            "type": "string",
            "nullable": true
          },
          "personal_phone_home": {
            "type": "string",
            "nullable": true
          },
          "primary_phone_type": {
            "type": "string",
            "nullable": true
          },
          "primary_phone_type_desc": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_phone": {
            "type": "boolean",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_email": {
            "type": "boolean",
            "nullable": true
          },
          "contact_method_preferred": {
            "type": "string",
            "nullable": true
          },
          "contact_method_preferred_desc": {
            "type": "string",
            "nullable": true
          },
          "gender_type": {
            "type": "string",
            "nullable": true
          },
          "gender_type_desc": {
            "type": "string",
            "nullable": true
          },
          "birth_date": {
            "type": "string",
            "nullable": true
          },
          "marital_status_code": {
            "type": "string",
            "nullable": true
          },
          "marital_status_desc": {
            "type": "string",
            "nullable": true
          },
          "purchasedate_last": {
            "type": "string",
            "nullable": true
          },
          "customer_class": {
            "type": "string",
            "nullable": true
          },
          "customer_club": {
            "type": "string",
            "nullable": true
          },
          "marketing_hog_number": {
            "type": "string",
            "nullable": true
          },
          "marketing_loyalty_code": {
            "type": "string",
            "nullable": true
          },
          "marketing_misc1": {
            "type": "string",
            "nullable": true
          },
          "marketing_misc2": {
            "type": "string",
            "nullable": true
          },
          "marketing_misc3": {
            "type": "string",
            "nullable": true
          },
          "create_date_time": {
            "type": "string",
            "nullable": true
          },
          "update_date_time": {
            "type": "string",
            "nullable": true
          },
          "inactive_date_time": {
            "type": "string",
            "nullable": true
          },
          "ssn": {
            "nullable": true
          },
          "drivers_license": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customervehicle.CustomerContract": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "policy_no": {
            "type": "string",
            "nullable": true
          },
          "vendor": {
            "type": "string",
            "nullable": true
          },
          "vendor_name": {
            "type": "string",
            "nullable": true
          },
          "expiration_date": {
            "type": "string",
            "nullable": true
          },
          "contract_date": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customervehicle.CustomerVehicle": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "integer",
            "format": "int32"
          },
          "customer_name": {
            "type": "string",
            "nullable": true
          },
          "inactivedtm_customer": {
            "type": "string",
            "format": "date-time"
          },
          "vehicles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.customervehicle.Vehicle"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customervehicle.Deal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "contract_date": {
            "type": "string",
            "nullable": true
          },
          "subtotal_amt": {
            "type": "number",
            "format": "float"
          },
          "sale_type_desc": {
            "type": "string",
            "nullable": true
          },
          "final_payment_date": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customervehicle.Manufacturer": {
        "type": "object",
        "properties": {
          "warranty_end_date": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.customervehicle.Vehicle": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "make_name": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "marketing_description": {
            "type": "string",
            "nullable": true
          },
          "motorsport_family": {
            "type": "string",
            "nullable": true
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "key_1": {
            "type": "string",
            "nullable": true
          },
          "key_2": {
            "type": "string",
            "nullable": true
          },
          "odometer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "factory_options_desc": {
            "type": "string",
            "nullable": true
          },
          "fuel_type": {
            "type": "string",
            "nullable": true
          },
          "fuel_type_desc": {
            "type": "string",
            "nullable": true
          },
          "engine_cc": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "license_number": {
            "type": "string",
            "nullable": true
          },
          "company_owned": {
            "type": "boolean",
            "nullable": true
          },
          "manufacturer": {
            "$ref": "#/components/schemas/talon.open.api.customervehicle.Manufacturer"
          },
          "last_service_date": {
            "type": "string",
            "nullable": true
          },
          "insertdtm": {
            "type": "string",
            "format": "date-time"
          },
          "inactivedtm": {
            "type": "string",
            "format": "date-time"
          },
          "deal": {
            "$ref": "#/components/schemas/talon.open.api.customervehicle.Deal"
          },
          "engine_no": {
            "type": "string",
            "nullable": true
          },
          "weight": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customer_contracts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.customervehicle.CustomerContract"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.deal.Amounts": {
        "type": "object",
        "properties": {
          "veh_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "accessories_labor": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "deal_add_ons": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_service_contract": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "prepaid_maintenance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "theft_protection": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "tire_and_wheel": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gap": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "apperance_protection": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vehicle_insurance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "debt_protection": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "excess_wear_tear": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ahealth_clife": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "freight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "prep": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "document_fees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "other_charges_fees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "unmapped_charges": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "title_fees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "registration_fees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "license_fee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_taxes_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "trade_allowance_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "trade_payoff_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "deposit_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "cash_down_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "rebates_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_due": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "frontend_gross": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "backend_gross": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains most of the amounts associated with the deal"
      },
      "talon.open.api.deal.BMV": {
        "type": "object",
        "properties": {
          "tag": {
            "type": "string",
            "nullable": true
          },
          "tag_exp_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "tag_state_code": {
            "type": "string",
            "nullable": true
          },
          "tag_decal": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "title_code": {
            "type": "string",
            "nullable": true
          },
          "title_state_code": {
            "type": "string",
            "nullable": true
          },
          "title_year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "license_number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains all of the BMV information for the vehicle"
      },
      "talon.open.api.deal.Cobuyer": {
        "type": "object",
        "properties": {
          "fullname": {
            "type": "string",
            "nullable": true
          },
          "address_line1": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "personalphone_mobile": {
            "type": "string",
            "nullable": true
          },
          "personalphone_home": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the information for cobuyer on a deal."
      },
      "talon.open.api.deal.DealCustomer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "fullname": {
            "type": "string",
            "nullable": true
          },
          "address_line1": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code_suffix": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "country_code": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_mail": {
            "type": "boolean",
            "nullable": true
          },
          "personalphone_mobile": {
            "type": "string",
            "nullable": true
          },
          "personalphone_home": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_phone": {
            "type": "boolean",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "donotcontact_email": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Customer information used for a deal"
      },
      "talon.open.api.deal.DealOutput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique TALON system id for the customer deal",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "description": "Deal status code; C, O, Q, V",
            "nullable": true
          },
          "status_desc": {
            "type": "string",
            "description": "C= Closed, O= Open, Q= Quote, V= Void",
            "nullable": true
          },
          "sale_type": {
            "type": "string",
            "description": "Type of deal, valid codes are C, E, F, O, P,and  R",
            "nullable": true
          },
          "sale_type_desc": {
            "type": "string",
            "description": "C=Consignment, E=EagleRider,F=Fleet,O=Online,P=Certified Pre-owned, R=Retail",
            "nullable": true
          },
          "create_date": {
            "type": "string",
            "description": "Date the deal was created",
            "nullable": true
          },
          "contract_date": {
            "type": "string",
            "description": "Date the customer is to sign the documents",
            "format": "date",
            "nullable": true
          },
          "pickup_date": {
            "type": "string",
            "description": "Date the vehicle is to be picked up",
            "format": "date",
            "nullable": true
          },
          "delivery_method": {
            "type": "string",
            "description": "S= In store, R = Remote",
            "nullable": true
          },
          "update_time": {
            "type": "string",
            "description": "Last time an amount was changed on the deal or the sales person changed, or loan information changed.",
            "nullable": true
          },
          "inactive_date": {
            "type": "string",
            "description": "When a vehicle was deleted from inventory. It's rare that a vehicle would have an inactive date, however it can be deleted if there are no associated transactions or relationships in TALON.",
            "nullable": true
          },
          "closed_date": {
            "type": "string",
            "description": "When the vehicle was invoiced and closed.",
            "nullable": true
          },
          "invoice_id": {
            "type": "integer",
            "description": "Invoice is populated when the vehicle is finalized and sold.",
            "format": "int32",
            "nullable": true
          },
          "invoice_date": {
            "type": "string",
            "description": "Date of the invoice. Typically the same date as closed date.",
            "nullable": true
          },
          "employees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.deal.SalesPerson"
            },
            "description": "Contains the information of the employees that worked on the deal.",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/talon.open.api.deal.DealCustomer"
          },
          "cobuyer": {
            "$ref": "#/components/schemas/talon.open.api.deal.Cobuyer"
          },
          "vehicle": {
            "$ref": "#/components/schemas/talon.open.api.deal.DealVehicleOutput"
          },
          "trade_count": {
            "type": "integer",
            "description": "Count of trades on the deal, most deals only have 1 trade however TALON will allow you to add multiple trades and non-vehicle trades.",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "trades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.deal.Trade"
            },
            "description": "List of trade information for the deal.",
            "nullable": true
          },
          "amounts": {
            "$ref": "#/components/schemas/talon.open.api.deal.Amounts"
          },
          "loan": {
            "$ref": "#/components/schemas/talon.open.api.deal.LoanOutput"
          },
          "deal_comments": {
            "type": "string",
            "description": "Deal notes used by the sales team to add notes about whats going on with the deal.",
            "nullable": true
          },
          "deal_locked": {
            "type": "boolean",
            "description": "If the deal is currently locked by another user."
          }
        },
        "additionalProperties": false,
        "description": "Model containing information about a customer deal"
      },
      "talon.open.api.deal.DealVehicleOutput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "stock_number": {
            "type": "string",
            "nullable": true
          },
          "preowned": {
            "type": "boolean",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32"
          },
          "dealer_color": {
            "type": "string",
            "nullable": true
          },
          "factory_options_desc": {
            "type": "string",
            "nullable": true
          },
          "motorsport_family": {
            "type": "string",
            "nullable": true
          },
          "marketing_description": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "weight": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "fuel_type": {
            "type": "string",
            "nullable": true
          },
          "fuel_type_desc": {
            "type": "string",
            "nullable": true
          },
          "manufacturer_code": {
            "type": "string",
            "nullable": true
          },
          "manufacturer_name": {
            "type": "string",
            "nullable": true
          },
          "manufacturer_warranty_end_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "odometer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dealer_category": {
            "$ref": "#/components/schemas/talon.open.api.deal.DealerCategory"
          },
          "bmv": {
            "$ref": "#/components/schemas/talon.open.api.deal.BMV"
          }
        },
        "additionalProperties": false,
        "description": "Vehicle information used for deals"
      },
      "talon.open.api.deal.DealerCategory": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "subgroup": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dealer category information for a vehicle"
      },
      "talon.open.api.deal.Lienholder": {
        "type": "object",
        "properties": {
          "vendor_name": {
            "type": "string",
            "nullable": true
          },
          "address_line1": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state_code": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Lienholder information for the deal."
      },
      "talon.open.api.deal.LoanOutput": {
        "type": "object",
        "properties": {
          "lienholder": {
            "$ref": "#/components/schemas/talon.open.api.deal.Lienholder"
          },
          "amount_financed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "apr": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "payment_term": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthly_payment": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "balloon_payment": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "first_payment_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "final_payment_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "finance_income": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the loan information for a deal."
      },
      "talon.open.api.deal.SalesPerson": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the employee info that worked on the deal."
      },
      "talon.open.api.deal.Trade": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32"
          },
          "model_color": {
            "type": "string",
            "nullable": true
          },
          "odometer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Trade information for the deal"
      },
      "talon.open.api.dealer.Dealer": {
        "required": [
          "dealerKey",
          "storeDB"
        ],
        "type": "object",
        "properties": {
          "dealerKey": {
            "type": "string",
            "nullable": true
          },
          "storeDB": {
            "type": "string",
            "nullable": true
          },
          "datasetKey": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.dealreferences.DealCharges": {
        "type": "object",
        "properties": {
          "charge_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "charge_name": {
            "type": "string",
            "nullable": true
          },
          "billofsale_classification": {
            "type": "string",
            "nullable": true
          },
          "chargelistprice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "category": {
            "$ref": "#/components/schemas/talon.open.api.dealreferences.DealerCategoryOutput"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.dealreferences.DealerCategoryOutput": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "subgroup": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.dealreferences.EmployeeOutput": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "full_name": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "string",
            "nullable": true
          },
          "department": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.dealreferences.LienHolderOutput": {
        "type": "object",
        "properties": {
          "vendor_code": {
            "type": "string",
            "nullable": true
          },
          "vendor_name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.invoice.DealerCategory": {
        "type": "object",
        "properties": {
          "dealer_category_code": {
            "type": "string",
            "nullable": true
          },
          "dealer_category_desc": {
            "type": "string",
            "nullable": true
          },
          "dealer_category_group": {
            "type": "string",
            "nullable": true
          },
          "dealer_category_subgroup": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.invoice.Invoice": {
        "type": "object",
        "properties": {
          "invoice_id": {
            "type": "integer",
            "format": "int32"
          },
          "invoice_dtm": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customer_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customer_name": {
            "type": "string",
            "nullable": true
          },
          "transaction_type": {
            "type": "string",
            "nullable": true
          },
          "transaction_name": {
            "type": "string",
            "nullable": true
          },
          "transaction_id": {
            "type": "string",
            "nullable": true
          },
          "department": {
            "type": "string",
            "nullable": true
          },
          "total_invoice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_deposit_applied": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_deposit_collected": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_taxfee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_supplemental_taxfee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "total_shipping": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "cashier": {
            "type": "string",
            "nullable": true
          },
          "cashier_name": {
            "type": "string",
            "nullable": true
          },
          "invoice_details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.invoice.InvoiceDetail"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.invoice.InvoiceDetail": {
        "type": "object",
        "properties": {
          "line_item_guid": {
            "type": "string",
            "nullable": true
          },
          "sale_type": {
            "type": "string",
            "nullable": true
          },
          "item_code": {
            "type": "string",
            "nullable": true
          },
          "item_description": {
            "type": "string",
            "nullable": true
          },
          "vendor_code": {
            "type": "string",
            "nullable": true
          },
          "vendor_name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_list": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_discount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_taxfee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_deposit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "salesperson_code": {
            "type": "string",
            "nullable": true
          },
          "salesperson_name": {
            "type": "string",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "vin_reference_code": {
            "type": "string",
            "nullable": true
          },
          "special": {
            "type": "string",
            "nullable": true
          },
          "dealer_category": {
            "$ref": "#/components/schemas/talon.open.api.invoice.DealerCategory"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.ClientResponse": {
        "required": [
          "requestId",
          "result"
        ],
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "RequestId associated with this response",
            "nullable": true
          },
          "result": {
            "type": "string",
            "description": "Resultset from the request",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to handle client responses"
      },
      "talon.open.api.messages.ClientStatus": {
        "type": "object",
        "properties": {
          "healthyTimeLimit": {
            "type": "integer",
            "description": "Time limit used to determine if a client is healthy or not",
            "format": "int32"
          },
          "updateDateTime": {
            "type": "string",
            "description": "Last time the client checked in",
            "format": "date-time"
          },
          "isHealthy": {
            "type": "boolean",
            "description": "If the client is healthy or not"
          },
          "expired": {
            "type": "boolean",
            "description": "If the last check in time is over the time limit",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Status information for the potentially connected clients"
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceEmployee]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.ApptReferenceEmployee"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceHoursOfOperation]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.ApptReferenceHoursOfOperation"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.ApptReferenceSkillLevel]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.ApptReferenceSkillLevel"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.CustomerAppointment]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.CustomerAppointment"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.appointment.TechAppointmentSlot]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.appointment.TechAppointmentSlot"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.customer.CustomerOutputResource]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.customer.CustomerOutputResource"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.messages.IResultPagingInfo`1[talon.open.api.invoice.Invoice]": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.invoice.Invoice"
            },
            "nullable": true,
            "readOnly": true
          },
          "pageNo": {
            "type": "integer",
            "format": "int32"
          },
          "resultCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.vehicle.Vehicle": {
        "type": "object",
        "properties": {
          "vehicle_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "stock_number": {
            "type": "string",
            "nullable": true
          },
          "vin": {
            "type": "string",
            "nullable": true
          },
          "preowned": {
            "type": "boolean",
            "nullable": true
          },
          "inventory_status_code": {
            "type": "string",
            "nullable": true
          },
          "inventory_status_desc": {
            "type": "string",
            "nullable": true
          },
          "company_owned": {
            "type": "boolean",
            "nullable": true
          },
          "vehicle_classification_code": {
            "type": "string",
            "nullable": true
          },
          "vehicle_classification_desc": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "make_desc": {
            "type": "string",
            "nullable": true
          },
          "manufacturer_code": {
            "type": "string",
            "nullable": true
          },
          "manufacturer_name": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dealer_color": {
            "type": "string",
            "nullable": true
          },
          "motorsport_family": {
            "type": "string",
            "nullable": true
          },
          "marketing_description": {
            "type": "string",
            "nullable": true
          },
          "factory_options_desc": {
            "type": "string",
            "nullable": true
          },
          "vehicle_weight": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "key_num_1": {
            "type": "string",
            "nullable": true
          },
          "key_num_2": {
            "type": "string",
            "nullable": true
          },
          "security_code": {
            "type": "string",
            "nullable": true
          },
          "fuel_type": {
            "type": "string",
            "nullable": true
          },
          "fuel_type_desc": {
            "type": "string",
            "nullable": true
          },
          "engine_size_cc": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "engine_type_description": {
            "type": "string",
            "nullable": true
          },
          "engine_number": {
            "type": "string",
            "nullable": true
          },
          "cylinder_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "transmission_code": {
            "type": "string",
            "nullable": true
          },
          "transmission_desc": {
            "type": "string",
            "nullable": true
          },
          "bodystyle_code": {
            "type": "string",
            "nullable": true
          },
          "bodystyle_name": {
            "type": "string",
            "nullable": true
          },
          "vin2": {
            "type": "string",
            "nullable": true
          },
          "odometer_value": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "odometer_code": {
            "type": "string",
            "nullable": true
          },
          "odometer_desc": {
            "type": "string",
            "nullable": true
          },
          "warranty_end_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "vehicle_notes": {
            "type": "string",
            "nullable": true
          },
          "dealercategory_code": {
            "type": "string",
            "nullable": true
          },
          "dealercategory_desc": {
            "type": "string",
            "nullable": true
          },
          "dealercategory_group": {
            "type": "string",
            "nullable": true
          },
          "dealercategory_subgroup": {
            "type": "string",
            "nullable": true
          },
          "expected_delivery_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "stock_date_time": {
            "type": "string",
            "nullable": true
          },
          "available_forsale_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "customer_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customer_deal_number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "veh_msrp_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_msrp_options_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_msrp_freight_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "bluebook": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_msrp_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_msrp_options_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_msrp_freight_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_veh_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_accesslabor_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_total_price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_veh_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_accesslaboradj_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "veh_total_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pack_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "tag_license_code": {
            "type": "string",
            "nullable": true
          },
          "tag_expiration_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "tag_state_code": {
            "type": "string",
            "nullable": true
          },
          "tag_decal_code": {
            "type": "string",
            "nullable": true
          },
          "title_num": {
            "type": "string",
            "nullable": true
          },
          "title_code": {
            "type": "string",
            "nullable": true
          },
          "title_state_code": {
            "type": "string",
            "nullable": true
          },
          "title_year": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "damage_desc": {
            "type": "string",
            "nullable": true
          },
          "defect_desc": {
            "type": "string",
            "nullable": true
          },
          "floorplan": {
            "type": "boolean",
            "nullable": true
          },
          "holdback_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "sold_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "update_date_time": {
            "type": "string",
            "nullable": true
          },
          "inactive_date_time": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Alerts": {
        "type": "object",
        "properties": {
          "comeback_ro": {
            "type": "string",
            "nullable": true
          },
          "authorize_ro": {
            "type": "boolean",
            "nullable": true
          },
          "retain_parts": {
            "type": "boolean",
            "nullable": true
          },
          "customer_parts": {
            "type": "boolean",
            "nullable": true
          },
          "customer_waiting": {
            "type": "boolean",
            "nullable": true
          },
          "pickup_veh": {
            "type": "boolean",
            "nullable": true
          },
          "deliver_veh": {
            "type": "boolean",
            "nullable": true
          },
          "approve_trade": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Customer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "po_number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.DealerCategory": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "subgroup": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Event": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "type_desc": {
            "type": "string",
            "nullable": true
          },
          "work_desc": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "$ref": "#/components/schemas/talon.open.api.workorder.EventAttribute"
          },
          "policy": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Policy"
          },
          "alternate_payee_code": {
            "type": "string",
            "nullable": true
          },
          "alternate_payee_name": {
            "type": "string",
            "nullable": true
          },
          "technicians": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.Technicians"
            },
            "nullable": true
          },
          "std_event": {
            "$ref": "#/components/schemas/talon.open.api.workorder.StandardEvent"
          },
          "internal_include": {
            "type": "string",
            "nullable": true
          },
          "total_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "event_item_details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.EventDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.EventAttribute": {
        "type": "object",
        "properties": {
          "install_repair": {
            "type": "string",
            "nullable": true
          },
          "pdi": {
            "type": "boolean",
            "nullable": true
          },
          "collision": {
            "type": "boolean",
            "nullable": true
          },
          "recall": {
            "type": "boolean",
            "nullable": true
          },
          "recall_code": {
            "type": "string",
            "nullable": true
          },
          "standard_service": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.EventDetails": {
        "type": "object",
        "properties": {
          "record_guid": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "dealercategory": {
            "$ref": "#/components/schemas/talon.open.api.workorder.DealerCategory"
          },
          "item_code": {
            "type": "string",
            "nullable": true
          },
          "item_description": {
            "type": "string",
            "nullable": true
          },
          "vendor_code": {
            "type": "string",
            "nullable": true
          },
          "vendor_name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_sale": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_discount_given": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_sales_tax": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ext_fees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "employee_code": {
            "type": "string",
            "nullable": true
          },
          "employee_name": {
            "type": "string",
            "nullable": true
          },
          "item_type": {
            "type": "string",
            "nullable": true
          },
          "delivery_status": {
            "type": "string",
            "nullable": true
          },
          "task_code": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.IRepairOrder": {
        "type": "object",
        "properties": {
          "ro_id": {
            "type": "string",
            "description": "Talon's WorkOrderCode (Dealers do have an option to assign RO numbers that could contain letters and numbers though it is very rare.)",
            "nullable": true
          },
          "ro_tag": {
            "type": "string",
            "description": "Vehicle hang tag assigned to the vehicle so it can be visually located in the service department",
            "nullable": true
          },
          "sa_employee_code": {
            "type": "string",
            "description": "Unique Service Advisors employee short code",
            "nullable": true
          },
          "sa_employee_name": {
            "type": "string",
            "description": "Service Advisors employee's full name: Last, first middle initial suffix",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Customer"
          },
          "ro_alerts": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Alerts"
          },
          "vehicle": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Vehicle"
          },
          "sale_type": {
            "type": "string",
            "description": "R -Retail, E -Eaglerider, and F-Fleet",
            "nullable": true
          },
          "internal": {
            "type": "boolean",
            "description": "True if the service work is for vehicle inventory, false for all others",
            "nullable": true
          },
          "internal_preowned": {
            "type": "boolean",
            "description": "If the vehicle is preowned or not, may not be defined",
            "nullable": true
          },
          "status_code": {
            "type": "string",
            "nullable": true
          },
          "status_desc": {
            "type": "string",
            "description": "If the work order is internal, it will return New or Used, else NULL (not applicable)",
            "nullable": true
          },
          "work_stage": {
            "type": "string",
            "description": "Unknown, 1 - Unconfirmaed, 2 - Confirmed, 3 - Checked in, 4 - In process, 5 - Waiting for Authorization, 6 - Waiting for parts, 7 - Complete, 8 - Checked-out",
            "nullable": true
          },
          "request_by": {
            "type": "string",
            "description": "Who requested the work: Customer or Sales (sales department)",
            "nullable": true
          },
          "appointment_dtm": {
            "type": "string",
            "description": "Scheduled appointment date or start date if not using appointments",
            "format": "date-time",
            "nullable": true
          },
          "appointmentguid": {
            "type": "string",
            "description": "Unique identifier for the appointment",
            "nullable": true
          },
          "arrival_dtm": {
            "type": "string",
            "description": "Date time the vehicle arrived at the dealership.",
            "format": "date-time",
            "nullable": true
          },
          "arrival_mileage": {
            "type": "integer",
            "description": "Mileage recorded when the vehicle arrived.",
            "format": "int32",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "description": "Degree of priority of the work order",
            "nullable": true
          },
          "promise_date": {
            "type": "string",
            "description": "Date told to the customer, when the work should be completed by.",
            "format": "date-time",
            "nullable": true
          },
          "ro_employee_comments": {
            "type": "string",
            "description": "Service advisors work order notes that may or may not be printed on the work order.",
            "nullable": true
          },
          "complete_dtm": {
            "type": "string",
            "description": "Date the work order was marked 'complete' and ready for pickup.",
            "nullable": true
          },
          "complete_mileage": {
            "type": "integer",
            "description": "The miles on the vehicle when the repair order was completed.",
            "format": "int32",
            "nullable": true
          },
          "invoice_id": {
            "type": "integer",
            "description": "Invoice is only populated if the repair order was billed.",
            "format": "int32",
            "nullable": true
          },
          "invoice_dtm": {
            "type": "string",
            "description": "Invoice date is the date the repair ordered was billed.",
            "format": "date-time",
            "nullable": true
          },
          "journal_entry_id": {
            "type": "integer",
            "description": "Accounting journal entry number",
            "format": "int32",
            "nullable": true
          },
          "create_dtm": {
            "type": "string",
            "description": "Date and time the work order was created",
            "format": "date-time",
            "nullable": true
          },
          "inactive_dtm": {
            "type": "string",
            "description": "WorkOrder is no longer active and was removed.",
            "nullable": true
          },
          "update_date_time": {
            "type": "string",
            "description": "Last date the work order had any changed",
            "nullable": true
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.Event"
            },
            "description": "Detailed events that occurred during the work order",
            "nullable": true
          },
          "ro_totals": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Totals"
          },
          "shopsupplies_and_storage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.EventDetails"
            },
            "description": "Contains the information for shop supplies and storage",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "RepairOrder object containing all of the work order information"
      },
      "talon.open.api.workorder.Manufacturer": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "warranty_start_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "warranty_end_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Policy": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "exp_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "exp_miles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deductable_amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.RepairOrder": {
        "type": "object",
        "properties": {
          "ro_id": {
            "type": "string",
            "nullable": true
          },
          "ro_tag": {
            "type": "string",
            "nullable": true
          },
          "sa_employee_code": {
            "type": "string",
            "nullable": true
          },
          "sa_employee_name": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Customer"
          },
          "ro_alerts": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Alerts"
          },
          "vehicle": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Vehicle"
          },
          "sale_type": {
            "type": "string",
            "nullable": true
          },
          "internal": {
            "type": "boolean",
            "nullable": true
          },
          "internal_preowned": {
            "type": "boolean",
            "nullable": true
          },
          "status_code": {
            "type": "string",
            "nullable": true
          },
          "status_desc": {
            "type": "string",
            "nullable": true
          },
          "work_stage": {
            "type": "string",
            "nullable": true
          },
          "request_by": {
            "type": "string",
            "nullable": true
          },
          "appointment_dtm": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "appointmentguid": {
            "type": "string",
            "nullable": true
          },
          "arrival_dtm": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "arrival_mileage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true
          },
          "promise_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ro_employee_comments": {
            "type": "string",
            "nullable": true
          },
          "complete_dtm": {
            "type": "string",
            "nullable": true
          },
          "complete_mileage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "invoice_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "invoice_dtm": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "journal_entry_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "create_dtm": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "inactive_dtm": {
            "type": "string",
            "nullable": true
          },
          "update_date_time": {
            "type": "string",
            "nullable": true
          },
          "event_items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.Event"
            },
            "nullable": true
          },
          "shopsupplies_and_storage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/talon.open.api.workorder.EventDetails"
            },
            "nullable": true
          },
          "ro_totals": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Totals"
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.StandardEvent": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "nullable": true
          },
          "desc": {
            "type": "string",
            "nullable": true
          },
          "type_code": {
            "type": "string",
            "nullable": true
          },
          "type_desc": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Technicians": {
        "type": "object",
        "properties": {
          "employee_code": {
            "type": "string",
            "nullable": true
          },
          "employee_name": {
            "type": "string",
            "nullable": true
          },
          "skill_level": {
            "type": "string",
            "nullable": true
          },
          "employee_license": {
            "type": "string",
            "nullable": true
          },
          "bill_hours": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "actual_hours": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "pay_hours": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "labor_cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Totals": {
        "type": "object",
        "properties": {
          "warranty_amt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "customer_pay": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "deposits": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "talon.open.api.workorder.Vehicle": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "nullable": true
          },
          "stock_number": {
            "type": "string",
            "nullable": true
          },
          "license_number": {
            "type": "string",
            "nullable": true
          },
          "make_code": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "model_year": {
            "type": "integer",
            "format": "int32"
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "manufacturer": {
            "$ref": "#/components/schemas/talon.open.api.workorder.Manufacturer"
          },
          "mileage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme.",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}