{
  "openapi": "3.1.1",
  "info": {
    "title": "Infopiezas.Api | v1",
    "description": "## API de infopiezas.net\r\n\r\nEsta documentación describe todos los endpoints disponibles para integrar con la plataforma.\r\n\r\n### Autenticación\r\n\r\nTodos los endpoints requieren un API Key enviado en el header `X-API-KEY`.  \r\nEl valor debe ser `usuario@mail.com:api_secret` codificado en **Base64**.\r\n\r\n```\r\nX-API-KEY: <base64(user_mail:api_secret)>\r\n```\r\n\r\n### Soporte\r\n\r\nPara consultas técnicas, contactar al equipo de infopiezas.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api-test.infopiezas.net/"
    }
  ],
  "paths": {
    "/Configuration/item-types": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Tipos de piezas",
        "description": "Devuelve listado de tipos de piezas.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResultOfListOfItemTypeModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResultOfListOfItemTypeModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResultOfListOfItemTypeModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/requests-types": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Tipos de licitaciones",
        "description": "Devuelve listado de tipos de licitaciones.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestTypeModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestTypeModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/status/requests": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Estatus de licitaciones",
        "description": "Devuelve listado de estatus de licitaciones.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/status/purchase-orders": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Estatus de órdenes de compra",
        "description": "Devuelve listado de estatus de órdenes de compra.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/status/service-orders": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Estatus de órdenes de mano de obra",
        "description": "Devuelve listado de estatus de órdenes de mano de obra.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/countries": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Paises",
        "description": "Devuelve listado de paises.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/states": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Provincias",
        "description": "Devuelve listado de provincias.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/state-cities": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Ciudades",
        "description": "Devuelve listado de ciudades.",
        "parameters": [
          {
            "name": "stateId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateCityModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateCityModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateCityModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Configuration/item-actions": {
      "get": {
        "tags": [
          "Configuration"
        ],
        "summary": "Acciones de pieza",
        "description": "Devuelve listado de acciones de pieza.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemActionModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemActionModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemActionModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/driver-license-types": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Tipos de licencia de conducir",
        "description": "Devuelve listado de tipos de licencia de conducir.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverLicenseTypeModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverLicenseTypeModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverLicenseTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/driver-types": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Tipo de conductor",
        "description": "Devuelve listado de tipo de conductor.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverTypeModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverTypeModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DriverTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/authorities": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Autoridades",
        "description": "Devuelve listado de autoridades.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AuthorityModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AuthorityModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AuthorityModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/incident-categories": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Categorías de siniestro",
        "description": "Devuelve listado de categorías de siniestro.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentCategoryModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentCategoryModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentCategoryModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/incident-report-status": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Estatus de reporte de siniestro",
        "description": "Devuelve listado de estatus de reporte de siniestro.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportStatusModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportStatusModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportStatusModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/incident-report-types": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Tipos de reporte de siniestro",
        "description": "Devuelve listado de tipos de reporte de siniestro.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportTypeModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportTypeModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/incident-report-document-types": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Tipos de documentos anexos",
        "description": "Devuelve listado de tipos de documentos anexos.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportDocumentTypeModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportDocumentTypeModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncidentReportDocumentTypeModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/incident-reports/incident-report-form": {
      "get": {
        "tags": [
          "IncidentReports"
        ],
        "summary": "Reporte de siniestro",
        "description": "Devuelve un reporte de siniestro.",
        "parameters": [
          {
            "name": "incidentReportFormId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "incidentReportFormGuid",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerIncidentReportModelOfObject"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerIncidentReportModelOfObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerIncidentReportModelOfObject"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/items-receptions": {
      "get": {
        "tags": [
          "ItemsReceptions"
        ],
        "summary": "Buscar recepciones - Cabecera",
        "description": "Devuelve listado paginado de recepciones de piezas (datos de cabecera).",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PurchaseOrderId",
            "in": "query",
            "description": "Número de orden de compra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ReceivedByPersonId",
            "in": "query",
            "description": "Id de la empresa que recibe las piezas",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ItemReceptionId",
            "in": "query",
            "description": "Número de recepción",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Id de marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Id de modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionHeaderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionHeaderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionHeaderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/items-receptions/details": {
      "get": {
        "tags": [
          "ItemsReceptions"
        ],
        "summary": "Buscar recepciones - Detalle",
        "description": "Devuelve listado paginado de recepciones de piezas (detalle de piezas).",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PurchaseOrderId",
            "in": "query",
            "description": "Número de orden de compra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ReceivedByPersonId",
            "in": "query",
            "description": "Id de la empresa que recibe las piezas",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ItemReceptionId",
            "in": "query",
            "description": "Número de recepción",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Id de marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Id de modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionDetailModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionDetailModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsReceptionDetailModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/items-receptions/{itemReceptionId}": {
      "get": {
        "tags": [
          "ItemsReceptions"
        ],
        "summary": "Detalle de recepción de piezas",
        "description": "Devuelve el detalle de una recepción de piezas.",
        "parameters": [
          {
            "name": "itemReceptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsReceptionModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsReceptionModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsReceptionModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/items-shipments": {
      "get": {
        "tags": [
          "ItemsShipments"
        ],
        "summary": "Búsqueda de envíos de piezas",
        "description": "Devuelve listado paginado de envíos de piezas.",
        "parameters": [
          {
            "name": "ItemShipmentId",
            "in": "query",
            "description": "No. envío de piezas",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RequestId",
            "in": "query",
            "description": "Numero de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PurchaseOrderId",
            "in": "query",
            "description": "Número de orden de compra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Numero de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsShipmentHeaderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsShipmentHeaderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfItemsShipmentHeaderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/items-shipments/{itemShipmentId}": {
      "get": {
        "tags": [
          "ItemsShipments"
        ],
        "summary": "Detalle de envío de piezas",
        "description": "Devuelve el detalle de un envío de piezas.",
        "parameters": [
          {
            "name": "itemShipmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsShipmentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsShipmentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemsShipmentModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Persons": {
      "get": {
        "tags": [
          "Persons"
        ],
        "summary": "Datos de la cuenta",
        "description": "Devuelve la información de la cuenta del usuario.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PersonModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Persons/workshops": {
      "get": {
        "tags": [
          "Persons"
        ],
        "summary": "Talleres relacionados",
        "description": "Devuelve el listado de talleres relacionados a la cuenta del usuario.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Persons/suppliers": {
      "get": {
        "tags": [
          "Persons"
        ],
        "summary": "Suplidores relacionados",
        "description": "Devuelve el listado de suplidores relacionados a la cuenta del usuario.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssociatePersonModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/purchase-orders": {
      "get": {
        "tags": [
          "PurchaseOrders"
        ],
        "summary": "Buscar de órdenes de compra",
        "description": "Devuelve listado paginado de órdenes de compra.",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Numero de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PurchaseOrderId",
            "in": "query",
            "description": "Numero de la orden de compra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "PurchaseOrderStatusId",
            "in": "query",
            "description": "Estatus de la orden de compra",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Id de marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Id de modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfPurchaseOrderHeaderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfPurchaseOrderHeaderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfPurchaseOrderHeaderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/purchase-orders/{purchaseOrderId}": {
      "get": {
        "tags": [
          "PurchaseOrders"
        ],
        "summary": "Consultar orden de compra",
        "description": "Devuelve el detalle de una orden de compra.",
        "parameters": [
          {
            "name": "purchaseOrderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Quotes": {
      "get": {
        "tags": [
          "Quotes"
        ],
        "summary": "Buscar cotizaciones",
        "description": "Devuelve listado paginado de cotizaciones.",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "QuoteId",
            "in": "query",
            "description": "Número de cotización",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Id de marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Id de modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfQuoteHeaderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfQuoteHeaderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfQuoteHeaderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Quotes/{quoteId}": {
      "get": {
        "tags": [
          "Quotes"
        ],
        "summary": "Consultar cotización",
        "description": "Devuelve el detalle de una cotización.",
        "parameters": [
          {
            "name": "quoteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Requests": {
      "get": {
        "tags": [
          "Requests"
        ],
        "summary": "Consultar licitaciones enviadas",
        "description": "Devuelve un listado de licitaciones enviadas por la empresa.",
        "parameters": [
          {
            "name": "CreatedByPersonId",
            "in": "query",
            "description": "Id de la empresa que creó la licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "RequestId",
            "in": "query",
            "description": "Id de la licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RequestStatusId",
            "in": "query",
            "description": "Id del estatus de la licitación",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Id de marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Id de modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfRequestForQuoteHeader"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfRequestForQuoteHeader"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfRequestForQuoteHeader"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/Requests/{requestId}": {
      "get": {
        "tags": [
          "Requests"
        ],
        "summary": "Consultar licitación",
        "description": "Devuelve los datos de una licitación.",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RequestForQuoteModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestForQuoteModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestForQuoteModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/service-orders": {
      "get": {
        "tags": [
          "ServiceOrders"
        ],
        "summary": "Buscar órdenes de mano de obra",
        "description": "Devuelve listado paginado de órdenes de mano de obra.",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ServiceOrderId",
            "in": "query",
            "description": "Número de la orden de mano de obra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ServiceOrderStatusId",
            "in": "query",
            "description": "Estatus de la orden de mano de obra",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfServiceOrderHeaderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfServiceOrderHeaderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfServiceOrderHeaderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/service-orders/{serviceOrderId}": {
      "get": {
        "tags": [
          "ServiceOrders"
        ],
        "summary": "Consultar orden de mano de obra",
        "description": "Devuelve el detalle de una orden de mano de obra.",
        "parameters": [
          {
            "name": "serviceOrderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceOrderModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceOrderModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceOrderModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/service-orders/vehicle-receptions": {
      "get": {
        "tags": [
          "ServiceOrders"
        ],
        "summary": "Buscar recepciones de vehículos",
        "description": "Devuelve listado paginado recepciones de vehículo.",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ServiceOrderId",
            "in": "query",
            "description": "Número de la orden de mano de obra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/service-orders/vehicle-deliveries": {
      "get": {
        "tags": [
          "ServiceOrders"
        ],
        "summary": "Buscar entregas de vehículos",
        "description": "Devuelve listado paginado entregas de vehículo.",
        "parameters": [
          {
            "name": "RequestId",
            "in": "query",
            "description": "Número de licitación",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ServiceOrderId",
            "in": "query",
            "description": "Número de la orden de mano de obra",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "InsuranceClaimNumber",
            "in": "query",
            "description": "Número de reclamo",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "InsurancePolicyNumber",
            "in": "query",
            "description": "Número de póliza",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "description": "Fecha desde",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "description": "Fecha hasta",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "VehicleMakeId",
            "in": "query",
            "description": "Marca del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleModelId",
            "in": "query",
            "description": "Modelo del vehículo",
            "schema": {
              "type": "integer",
              "format": "int16"
            }
          },
          {
            "name": "VehicleYear",
            "in": "query",
            "description": "Año del vehículo",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationPagedResultOfVehicleReceptionModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "title": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "status": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "format": "int32"
                    },
                    "detail": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "instance": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AssociatePersonModel": {
        "type": "object",
        "properties": {
          "personId": {
            "type": "integer",
            "description": "Id de la empresa",
            "format": "int32"
          },
          "personTypeId": {
            "type": "integer",
            "description": "Id tipo de cuenta (1 empresa, 2 personal)",
            "format": "uint8"
          },
          "personTypeName": {
            "type": "string",
            "description": "Tipo de cuenta"
          },
          "name": {
            "type": "string",
            "description": "Nombre de la cuenta"
          },
          "personCategoryId": {
            "type": "integer",
            "description": "Id tipo de empresa",
            "format": "int16"
          },
          "personCategoryName": {
            "type": "string",
            "description": "Tipo de empresa"
          },
          "businessActivityId": {
            "type": "integer",
            "description": "Id tipo de actividad",
            "format": "int16"
          },
          "businessActivityName": {
            "type": "string",
            "description": "Tipo de actividad"
          },
          "taxId": {
            "type": "string",
            "description": "Número de Rnc"
          },
          "phone": {
            "type": "string",
            "description": "Teléfono"
          },
          "address": {
            "type": "string",
            "description": "Dirección"
          },
          "stateId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id Provincia",
            "format": "int32"
          },
          "stateName": {
            "type": "string",
            "description": "Provincia"
          }
        },
        "description": "Datos de la cuenta"
      },
      "AttachmentDetails": {
        "type": "object",
        "properties": {
          "sequenceIndex": {
            "type": "integer",
            "format": "int32"
          },
          "incidentReportFormAttachmentId": {
            "type": "integer",
            "format": "int32"
          },
          "incidentDocumentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "incidentDocumentTypeName": {
            "type": "string"
          },
          "originalFilename": {
            "type": "string"
          },
          "hasPreview": {
            "type": "boolean"
          },
          "contentType": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "previewFilename": {
            "type": "string"
          },
          "baseUrl": {
            "type": "string"
          },
          "fileFullPath": {
            "type": [
              "null",
              "string"
            ]
          },
          "previewFullPath": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AuthorityModel": {
        "type": "object",
        "properties": {
          "authorityId": {
            "type": "integer",
            "description": "Id de la autoridad",
            "format": "int16"
          },
          "authorityName": {
            "type": "string",
            "description": "Nombre de la autoridad"
          }
        },
        "description": "Autoridad"
      },
      "CountryModel": {
        "type": "object",
        "properties": {
          "countryId": {
            "type": "integer",
            "description": "Id del país",
            "format": "int16"
          },
          "countryName": {
            "type": "string",
            "description": "Nombre del país"
          }
        },
        "description": "País"
      },
      "DocumentStatusModel": {
        "type": "object",
        "properties": {
          "documentStatusId": {
            "type": "integer",
            "description": "Id estatus",
            "format": "int16"
          },
          "documentStatusName": {
            "type": "string",
            "description": "Nombre estatus"
          }
        },
        "description": "Estatus de documentos"
      },
      "DriverLicenseTypeModel": {
        "type": "object",
        "properties": {
          "driverLicenseTypeId": {
            "type": "integer",
            "description": "Id del tipo de licencia de conducir",
            "format": "int16"
          },
          "driverLicenseTypeName": {
            "type": "string",
            "description": "Nombre del tipo de licencia de conducir"
          }
        },
        "description": "Tipo de licencia de conducir"
      },
      "DriverTypeModel": {
        "type": "object",
        "properties": {
          "driverTypeId": {
            "type": "integer",
            "description": "Id del tipo de conductor",
            "format": "int16"
          },
          "driverTypeName": {
            "type": "string",
            "description": "Nombre del tipo de conductor"
          }
        },
        "description": "Tipo de conductor"
      },
      "GeneralInfoDetails": {
        "type": "object",
        "properties": {
          "incidentReportTypeId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int16"
          },
          "incidentReportTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "incidentDateTime": {
            "type": "string"
          },
          "incidentDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "incidentDateTimeLocal": {
            "type": "string",
            "format": "date-time"
          },
          "incidentDateTimeLabel": {
            "type": "string"
          },
          "insurancePolicyNumber": {
            "type": "string"
          },
          "insuranceOwnerDisplayName": {
            "type": "string"
          },
          "vinNumber": {
            "type": "string"
          },
          "vehicleMakeId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "vehicleMakeName": {
            "type": "string"
          },
          "vehicleModelId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "vehicleModelName": {
            "type": "string"
          },
          "vehicleYear": {
            "type": "integer",
            "format": "int16"
          },
          "stateId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "stateName": {
            "type": "string"
          },
          "stateCityId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "stateCityName": {
            "type": "string"
          },
          "workshopPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "remoteInternalNumber": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IncidentCategoryModel": {
        "type": "object",
        "properties": {
          "incidentReportCategoryId": {
            "type": "integer",
            "description": "Id de la categoría de siniestro",
            "format": "int16"
          },
          "incidentReportCategoryName": {
            "type": "string",
            "description": "Nombre de la categoría de siniestro"
          }
        },
        "description": "Categoría de siniestro"
      },
      "IncidentReportDocumentTypeModel": {
        "type": "object",
        "properties": {
          "incidentDocumentTypeId": {
            "type": "integer",
            "description": "Id tipo de documento",
            "format": "int16"
          },
          "incidentDocumentTypeName": {
            "type": "string",
            "description": "Nombre del tipo de documento"
          }
        },
        "description": "Tipo de documento anexo"
      },
      "IncidentReportStatusModel": {
        "type": "object",
        "properties": {
          "incidentReportStatusId": {
            "type": "integer",
            "description": "Id del estatus del reporte de siniestro",
            "format": "int16"
          },
          "incidentReportStatusName": {
            "type": "string",
            "description": "Nombre del estatus del reporte de siniestro"
          }
        },
        "description": "Estatus del reporte de siniestro"
      },
      "IncidentReportTypeModel": {
        "type": "object",
        "properties": {
          "incidentReportTypeId": {
            "type": "integer",
            "description": "Id del tipo de reporte de siniestro",
            "format": "int16"
          },
          "incidentReportTypeName": {
            "type": "string",
            "description": "Nombre del tipo de reporte de siniestro"
          }
        },
        "description": "Tipo de reporte de siniestro"
      },
      "InsuranceCompanyInfo": {
        "type": "object",
        "properties": {
          "orderTypeId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de tipo de orden",
            "format": "uint8"
          },
          "requiresChargeAuthorization": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Si requiere autorización por cobros"
          },
          "purchaseOrderFooterText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Pie de orden de compra"
          }
        }
      },
      "Item": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "description": "Id de pieza",
            "format": "int32"
          },
          "itemCode": {
            "type": "string",
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": "string",
            "description": "Nombre de la pieza"
          },
          "requestedItemTypeId": {
            "type": "integer",
            "description": "Id tipo de pieza solicitada",
            "format": "uint8"
          },
          "requestedItemTypeName": {
            "type": "string",
            "description": "Tipo de pieza solicitada"
          },
          "sentItemTypeId": {
            "type": "integer",
            "description": "Id tipo de pieza enviada",
            "format": "uint8"
          },
          "sentItemTypeName": {
            "type": "string",
            "description": "Nombre tipo de pieza enviada"
          },
          "receivedItemTypeId": {
            "type": "integer",
            "description": "Id de tipo de pieza recibido",
            "format": "uint8"
          },
          "receivedItemTypeName": {
            "type": "string",
            "description": "Nombre tipo de pieza recibido"
          },
          "isItemReturned": {
            "type": "boolean",
            "description": "La pieza fue devuelta"
          },
          "receivedQuantity": {
            "type": "integer",
            "description": "Cantidad recibida",
            "format": "int32"
          }
        },
        "description": "Pieza recibida"
      },
      "ItemActionModel": {
        "type": "object",
        "properties": {
          "itemActionId": {
            "type": "integer",
            "description": "Id de la acción",
            "format": "int16"
          },
          "itemActionName": {
            "type": "string",
            "description": "Nombre de la acción"
          }
        },
        "description": "Acción de pieza"
      },
      "ItemDetails": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "integer",
            "format": "int16"
          },
          "itemCode": {
            "type": "string"
          },
          "itemName": {
            "type": "string"
          },
          "itemActionId": {
            "type": "integer",
            "format": "int16"
          },
          "itemActionName": {
            "type": "string"
          },
          "itemRepairPrice": {
            "type": "number",
            "format": "double"
          },
          "itemReplacePrice": {
            "type": "number",
            "format": "double"
          },
          "itemMinSellPrice": {
            "type": "number",
            "format": "double"
          },
          "itemAverageSellPrice": {
            "type": "number",
            "format": "double"
          },
          "itemMaxSellPrice": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ItemModel": {
        "type": "object",
        "properties": {
          "purchaseOrderItemId": {
            "type": "integer",
            "description": "Id de la pieza en la orden de compra",
            "format": "int32"
          },
          "itemId": {
            "type": "integer",
            "description": "Id de la pieza",
            "format": "int32"
          },
          "itemTypeId": {
            "type": "integer",
            "description": "Indica el id del tipo de pieza (nueva, usada, etc.)",
            "format": "uint8"
          },
          "itemTypeName": {
            "type": "string",
            "description": "Indica el nombre del tipo de pieza (nueva, usada, etc.)"
          },
          "deliveryTimeInDays": {
            "type": "integer",
            "description": "Tiempo de entrega de la pieza, en días.",
            "format": "int32"
          },
          "itemCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": "string",
            "description": "Nombre de la pieza"
          },
          "itemQuantity": {
            "type": "integer",
            "description": "Cantidad ordenada",
            "format": "int32"
          },
          "supplierUnitPrice": {
            "type": "number",
            "description": "Precio unitario de la pieza",
            "format": "double"
          },
          "supplierUnitTax": {
            "type": "number",
            "description": "Impuesto unitario de la pieza",
            "format": "double"
          },
          "supplierUnitDiscount": {
            "type": "number",
            "description": "Descuento unitario de la pieza",
            "format": "double"
          },
          "supplierItemRowTotal": {
            "type": "number",
            "description": "Total por línea",
            "format": "double"
          },
          "hasItemBeenSent": {
            "type": "boolean",
            "description": "Pieza enviada"
          },
          "hasItemBeenReceived": {
            "type": "boolean",
            "description": "Pieza recibida"
          },
          "isItemReturned": {
            "type": "boolean",
            "description": "Pieza devuelta"
          },
          "canItemBeSent": {
            "type": "boolean",
            "description": "La pieza puede ser enviada"
          }
        },
        "description": "Detalle de la pieza"
      },
      "ItemShipmentTrackingModel": {
        "type": "object",
        "properties": {
          "purchaseOrderItemId": {
            "type": "integer",
            "format": "int32"
          },
          "purchaseOrderId": {
            "type": "integer",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "format": "int32"
          },
          "itemId": {
            "type": "integer",
            "format": "int32"
          },
          "itemName": {
            "type": "string"
          },
          "itemTypeId": {
            "type": "integer",
            "format": "int16"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "purchaseOrderTypeName": {
            "type": "string"
          },
          "itemSentDateUTC": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "itemSentDateLocal": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "itemReceivedDateUTC": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "itemReceivedDateLocal": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "sentTypeName": {
            "type": "string"
          },
          "supplierPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "supplierPersonName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ItemsReceptionDetailModel": {
        "type": "object",
        "properties": {
          "itemReceptionId": {
            "type": "integer",
            "description": "Id recepción de piezas",
            "format": "int32"
          },
          "purchaseOrderId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "No. orden de compra",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Id Licitación",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "No. de reclamo"
          },
          "insurancePolicyNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de póliza de seguro"
          },
          "buyerPersonId": {
            "type": "integer",
            "description": "Empresa que generó la orden de compra",
            "format": "int32"
          },
          "buyerPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Empresa que generó la orden de compra"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vehículo"
          },
          "vin": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de chasis"
          },
          "receptionDateUtc": {
            "type": "string",
            "description": "Fecha de recepción en zona horaria UTC",
            "format": "date-time"
          },
          "receptionDateLocal": {
            "type": "string",
            "description": "Fecha de recepcion en zona horaria local",
            "format": "date-time"
          },
          "receivedByPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de empresa que recibió la(s) pieza(s)",
            "format": "int32"
          },
          "receivedByPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Rnc de empresa que recibió la(s) pieza(s)"
          },
          "receivedByPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de empresa que recibió la(s) pieza(s)"
          },
          "receivedByDisplayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de la persona que recibió la(s) pieza(s)"
          },
          "supplierPersonId": {
            "type": "integer",
            "description": "Id suplidor",
            "format": "int32"
          },
          "supplierPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Rnc suplidor"
          },
          "supplierPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre suplidor"
          },
          "numberOfReceivedItems": {
            "type": "integer",
            "description": "Cantidad de piezas recibidas",
            "format": "int32"
          },
          "vehicle": {
            "description": "Vehículo",
            "$ref": "#/components/schemas/VehicleDetailsModel"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReceptionItemDetails"
            },
            "description": "Detalle de piezas recibidas"
          }
        },
        "description": "Detalle de recepción de piezas"
      },
      "ItemsReceptionHeaderModel": {
        "type": "object",
        "properties": {
          "itemReceptionId": {
            "type": "integer",
            "description": "Id recepción de piezas",
            "format": "int32"
          },
          "purchaseOrderId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "No. orden de compra",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Id Licitación",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "No. de reclamo"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "Número de póliza de seguro"
          },
          "buyerPersonId": {
            "type": "integer",
            "description": "Empresa que generó la orden de compra",
            "format": "int32"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Empresa que generó la orden de compra"
          },
          "vehicleName": {
            "type": "string",
            "description": "Vehículo"
          },
          "vin": {
            "type": [
              "null",
              "string"
            ],
            "description": "No. de chasis"
          },
          "receptionDateUtc": {
            "type": "string",
            "description": "Fecha de recepcion en zona horaria UTC",
            "format": "date-time"
          },
          "receptionDateLocal": {
            "type": "string",
            "description": "Fecha de recepcion en zona horaria local",
            "format": "date-time"
          },
          "receivedByPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de empresa que recibió la(s) pieza(s)",
            "format": "int32"
          },
          "receivedByPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Rnc de empresa  que recibió la(s) pieza(s)"
          },
          "receivedByPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de empresa  que recibió la(s) pieza(s)"
          },
          "receivedByDisplayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de la persona que recibió la(s) pieza(s)"
          },
          "supplierPersonId": {
            "type": "integer",
            "description": "Id empresa suplidor",
            "format": "int32"
          },
          "supplierPersonTaxId": {
            "type": "string",
            "description": "Rnc suplidor"
          },
          "supplierPersonName": {
            "type": "string",
            "description": "Nombre suplidor"
          },
          "numberOfReceivedItems": {
            "type": "integer",
            "description": "Número de piezas recibidas",
            "format": "int32"
          },
          "vehicle": {
            "description": "Vehículo",
            "$ref": "#/components/schemas/VehicleDetailsModel"
          }
        },
        "description": "Recepción de piezas"
      },
      "ItemsReceptionModel": {
        "type": "object",
        "properties": {
          "itemReceptionId": {
            "type": "integer",
            "description": "Id recepción de piezas",
            "format": "int32"
          },
          "purchaseOrderId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "No. orden de compra",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Id Licitación",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "No. de reclamo"
          },
          "buyerPersonId": {
            "type": "integer",
            "description": "Empresa que generó la orden de compra",
            "format": "int32"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Empresa que generó la orden de compra"
          },
          "vehicleName": {
            "type": "string",
            "description": "Vehículo"
          },
          "vin": {
            "type": [
              "null",
              "string"
            ],
            "description": "No. de chasis"
          },
          "receptionDateUtc": {
            "type": "string",
            "description": "Fecha de recepcion en zona horaria UTC",
            "format": "date-time"
          },
          "receptionDateLocal": {
            "type": "string",
            "description": "Fecha de recepcion en zona horaria local",
            "format": "date-time"
          },
          "receivedByPersonId": {
            "type": "integer",
            "description": "Id de empresa que recibió la(s) pieza(s)",
            "format": "int32"
          },
          "receivedByPersonTaxId": {
            "type": "string",
            "description": "Rnc de empresa  que recibió la(s) pieza(s)"
          },
          "receivedByPersonName": {
            "type": "string",
            "description": "Nombre de empresa  que recibió la(s) pieza(s)"
          },
          "receivedByDisplayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de la persona que recibió la(s) pieza(s)"
          },
          "supplierPersonId": {
            "type": "integer",
            "description": "Id suplidor",
            "format": "int32"
          },
          "supplierPersonTaxId": {
            "type": "string",
            "description": "Rnc suplidor"
          },
          "supplierPersonName": {
            "type": "string",
            "description": "Nombre suplidor"
          },
          "vehicle": {
            "description": "Vehículo",
            "$ref": "#/components/schemas/VehicleDetailsModel"
          },
          "receivedItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Item"
            },
            "description": "Piezas recibidas"
          }
        },
        "description": "Recepción de piezas"
      },
      "ItemsShipmentHeaderModel": {
        "type": "object",
        "properties": {
          "itemShipmentId": {
            "type": "integer",
            "description": "Id del envío de piezas",
            "format": "int32"
          },
          "createdOnUtc": {
            "type": "string",
            "description": "Fecha de creación (hora GMT)",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha de creación (hora local)",
            "format": "date-time"
          },
          "insuranceClaimNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Numero de reclamo"
          },
          "buyerPersonId": {
            "type": "integer",
            "description": "Empresa que generó la orden de compra",
            "format": "int32"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Empresa que generó la orden de compra"
          },
          "vehicleName": {
            "type": "string",
            "description": "Vehículo"
          },
          "vin": {
            "type": [
              "null",
              "string"
            ],
            "description": "No. de chasis"
          },
          "sentBy": {
            "type": "string",
            "description": "Enviado por",
            "format": "uuid"
          },
          "sentByPersonId": {
            "type": "integer",
            "description": "Enviado por",
            "format": "int32"
          },
          "sentByDisplayName": {
            "type": "string",
            "description": "Creado por"
          },
          "sentByPersonTaxId": {
            "type": "string",
            "description": "Enviado por (RNC)"
          },
          "sentByPersonName": {
            "type": "string",
            "description": "Enviado por (nombre)"
          },
          "purchaseOrderId": {
            "type": "integer",
            "description": "Número de la orden de compra",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Licitación No.",
            "format": "int32"
          },
          "purchaseOrderCreatedByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la orden de compra",
            "format": "int32"
          },
          "purchaseOrderCreatedByPersonTaxId": {
            "type": "string",
            "description": "Rnc de la empresa que creó la orden de compra"
          },
          "purchaseOrderCreatedByPersonName": {
            "type": "string",
            "description": "Empresa que creó la orden de compra"
          },
          "workshopPersonId": {
            "type": "string",
            "description": "Id de empresa taller"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "Rnc de empresa taller"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre de empresa taller"
          },
          "deliverTo": {
            "type": "string",
            "description": "Entregar a"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "numberOfItems": {
            "type": "integer",
            "description": "Numero de piezas",
            "format": "int32"
          }
        },
        "description": "Envío de piezas"
      },
      "ItemsShipmentModel": {
        "type": "object",
        "properties": {
          "itemShipmentId": {
            "type": "integer",
            "description": "Id del envío de piezas",
            "format": "int32"
          },
          "packingSlipId": {
            "type": "integer",
            "description": "Conduce No.",
            "format": "int32"
          },
          "createdOnUtc": {
            "type": "string",
            "description": "Fecha de creación (hora GMT)",
            "format": "date-time"
          },
          "createOnLocal": {
            "type": "string",
            "description": "Fecha de creación (hora local)",
            "format": "date-time"
          },
          "insuranceClaimNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Numero de reclamo"
          },
          "buyerPersonId": {
            "type": "integer",
            "description": "Empresa que generó la orden de compra",
            "format": "int32"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Empresa que generó la orden de compra"
          },
          "vehicleName": {
            "type": "string",
            "description": "Vehículo"
          },
          "vin": {
            "type": [
              "null",
              "string"
            ],
            "description": "No. de chasis"
          },
          "purchaseOrderId": {
            "type": "integer",
            "description": "Número de la orden de compra",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Licitación No.",
            "format": "int32"
          },
          "purchaseOrderCreatedByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la orden de compra",
            "format": "int32"
          },
          "purchaseOrderCreatedByPersonTaxId": {
            "type": "string",
            "description": "Rnc de la empresa que creó la orden de compra"
          },
          "purchaseOrderCreatedByPersonName": {
            "type": "string",
            "description": "Empresa que creó la orden de compra"
          },
          "workshopPersonId": {
            "type": "string",
            "description": "Id de empresa taller"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "Rnc de empresa taller"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre de empresa taller"
          },
          "sentBy": {
            "type": "string",
            "description": "Enviado por (usuario)",
            "format": "uuid"
          },
          "sentByPersonId": {
            "type": "integer",
            "description": "Enviado por (Id)",
            "format": "int32"
          },
          "sentByPersonTaxId": {
            "type": "string",
            "description": "Enviado por (RNC)"
          },
          "sentByPersonName": {
            "type": "string",
            "description": "Enviado por (nombre)"
          },
          "sentByDisplayName": {
            "type": "string",
            "description": "Creado por"
          },
          "deliverTo": {
            "type": "string",
            "description": "Entregar a"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailsModel"
          },
          "shippedItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Item"
            },
            "description": "Piezas a enviar"
          }
        },
        "description": "Envío de piezas"
      },
      "ItemTypeModel": {
        "type": "object",
        "properties": {
          "itemTypeId": {
            "type": "integer",
            "description": "Id tipo de pieza",
            "format": "uint8"
          },
          "typeName": {
            "type": "string",
            "description": "Nombre tipo de pieza"
          },
          "isHidden": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Es escondido (no debe aparecer en los listados)"
          },
          "itemTypeAbbrev": {
            "type": "string",
            "description": "Abreviatura"
          },
          "altName": {
            "type": "string",
            "description": "Nombre alterno"
          },
          "qualityValue": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Nivel de calidad",
            "format": "int16"
          }
        },
        "description": "Tipo de pieza"
      },
      "OperationPagedResultOfItemsReceptionDetailModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemsReceptionDetailModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfItemsReceptionHeaderModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemsReceptionHeaderModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfItemsShipmentHeaderModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemsShipmentHeaderModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfPurchaseOrderHeaderModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchaseOrderHeaderModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfQuoteHeaderModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteHeaderModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfRequestForQuoteHeader": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestForQuoteHeader"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfServiceOrderHeaderModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceOrderHeaderModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationPagedResultOfVehicleReceptionModel": {
        "type": "object",
        "properties": {
          "pagedData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleReceptionModel"
            }
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPageCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "firstRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "lastRowOnPage": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "OperationResultOfListOfItemTypeModel": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ItemTypeModel"
            }
          },
          "isSuccess": {
            "type": "boolean"
          },
          "isFailure": {
            "type": "boolean"
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "hasErrors": {
            "type": "boolean"
          },
          "validationMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationMessage"
            }
          },
          "firstValidationMessage": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PartnerIncidentReportModelOfObject": {
        "type": "object",
        "properties": {
          "reportFormContents": { },
          "incidentReportFormId": {
            "type": "integer",
            "format": "int32"
          },
          "incidentReportFormGuid": {
            "type": "string",
            "format": "uuid"
          },
          "insuranceCompanyClaimNumber": {
            "type": "string"
          },
          "incidentReportFormStatusId": {
            "type": "integer",
            "format": "int16"
          },
          "incidentReportStatusName": {
            "type": "string"
          },
          "incidentReportCategoryId": {
            "type": "integer",
            "format": "int16"
          },
          "incidentReportCategoryName": {
            "type": "string"
          },
          "insurancePerson": {
            "$ref": "#/components/schemas/PersonDetails"
          },
          "createdByPerson": {
            "$ref": "#/components/schemas/PersonDetails"
          },
          "createdByDisplayName": {
            "type": "string"
          },
          "workshopPerson": {
            "$ref": "#/components/schemas/PersonDetails"
          },
          "createdOnUtc": {
            "type": "string",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "format": "date-time"
          },
          "generalInfo": {
            "$ref": "#/components/schemas/GeneralInfoDetails"
          },
          "reportedAuthorities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportedAuthorityDetails"
            }
          },
          "insuranceFormInfoJson": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemDetails"
            }
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceItemDetails"
            }
          },
          "attachmentsDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttachmentDetails"
            }
          },
          "attachmentsPictures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PicturesDetails"
            }
          }
        }
      },
      "PersonDetails": {
        "type": "object",
        "properties": {
          "personId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "personTaxId": {
            "type": "string"
          },
          "personName": {
            "type": "string"
          }
        }
      },
      "PersonModel": {
        "type": "object",
        "properties": {
          "personId": {
            "type": "integer",
            "description": "Id de la empresa",
            "format": "int32"
          },
          "personTypeId": {
            "type": "integer",
            "description": "Id tipo de cuenta (1 empresa, 2 personal)",
            "format": "uint8"
          },
          "personTypeName": {
            "type": "string",
            "description": "Tipo de cuenta"
          },
          "personStatusId": {
            "type": "integer",
            "description": "Id Status de la cuenta",
            "format": "uint8"
          },
          "personStatusName": {
            "type": "string",
            "description": "Status de la cuenta"
          },
          "name": {
            "type": "string",
            "description": "Nombre de la cuenta"
          },
          "personCategoryId": {
            "type": "integer",
            "description": "Id tipo de empresa",
            "format": "int16"
          },
          "personCategoryName": {
            "type": "string",
            "description": "Tipo de empresa"
          },
          "businessActivityId": {
            "type": "integer",
            "description": "Id actividad",
            "format": "int16"
          },
          "businessActivityName": {
            "type": "string",
            "description": "Nombre actividad"
          },
          "taxId": {
            "type": "string",
            "description": "Número de Rnc"
          },
          "phone": {
            "type": "string",
            "description": "Teléfono"
          },
          "address": {
            "type": "string",
            "description": "Dirección"
          },
          "stateId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id Provincia",
            "format": "int32"
          },
          "stateName": {
            "type": "string",
            "description": "Provincia"
          },
          "insuranceCompanyDetails": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Datos del perfil de asegurador",
                "$ref": "#/components/schemas/InsuranceCompanyInfo"
              }
            ]
          }
        },
        "description": "Datos de la cuenta"
      },
      "PicturesDetails": {
        "type": "object",
        "properties": {
          "sequenceIndex": {
            "type": "integer",
            "format": "int32"
          },
          "incidentReportFormAttachmentId": {
            "type": "integer",
            "format": "int32"
          },
          "incidentDocumentTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "incidentDocumentTypeName": {
            "type": "string"
          },
          "originalFilename": {
            "type": "string"
          },
          "hasPreview": {
            "type": "boolean"
          },
          "contentType": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "previewFilename": {
            "type": "string"
          },
          "baseUrl": {
            "type": "string"
          },
          "fileFullPath": {
            "type": [
              "null",
              "string"
            ]
          },
          "previewFullPath": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PurchaseOrderHeaderModel": {
        "type": "object",
        "properties": {
          "purchaseOrderId": {
            "type": "integer",
            "description": "Id de la orden de compra en infopiezas.net",
            "format": "int32"
          },
          "orderTypeId": {
            "type": "integer",
            "description": "Id tipo de orden de compra",
            "format": "int16"
          },
          "orderTypeName": {
            "type": "string",
            "description": "Tipo de orden de compra"
          },
          "footerText": {
            "type": "string",
            "description": "Pie de página de la orden de compra"
          },
          "isPreOrder": {
            "type": "boolean",
            "description": "Indica si la orden de compra es pre-orden"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "quoteId": {
            "type": "integer",
            "description": "Cotización No.",
            "format": "int32"
          },
          "purchaseOrderStatusId": {
            "type": "integer",
            "description": "Id estatus orden de compra",
            "format": "uint8"
          },
          "purchaseOrderStatusName": {
            "type": "string",
            "description": "Estatus orden de compra"
          },
          "paymentTermId": {
            "type": "integer",
            "description": "Id condición de pago",
            "format": "int16"
          },
          "paymentTermName": {
            "type": "string",
            "description": "Condición de pago"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la orden",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que creó la orden"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que creó la orden"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Orden creada por"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamación"
          },
          "vehicleName": {
            "type": "string",
            "description": "Vehículo"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "No. de póliza"
          },
          "insurancePolicyHolderName": {
            "type": "string",
            "description": "Nombre asegurado"
          },
          "createdOnDateUtc": {
            "type": "string",
            "description": "Fecha de creación de la orden de compra, en UTC",
            "format": "date-time"
          },
          "createdOnDateLocal": {
            "type": "string",
            "description": "Fecha de creación de la orden de compra, hora local",
            "format": "date-time"
          },
          "workshopPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del taller donde se entregarán las piezas",
            "format": "int32"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "RNC del taller donde se entregarán las piezas"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre del taller donde se entregarán las piezas"
          },
          "supplierPersonId": {
            "type": "integer",
            "description": "Id del suplidor a quien se emite la orden de compra",
            "format": "int32"
          },
          "supplierPersonTaxId": {
            "type": "string",
            "description": "RNC del suplidor a quien se emite la orden de compra"
          },
          "supplierPersonName": {
            "type": "string",
            "description": "Nombre del suplidor a quien se emite la orden de compra"
          },
          "deductibleAmount": {
            "type": "number",
            "description": "Monto deducible",
            "format": "double"
          },
          "subTotal": {
            "type": "number",
            "description": "Subtotal",
            "format": "double"
          },
          "taxTotal": {
            "type": "number",
            "description": "Total impuestos",
            "format": "double"
          },
          "discountTotal": {
            "type": "number",
            "description": "Descuento unitario de la pieza",
            "format": "double"
          },
          "grandTotal": {
            "type": "number",
            "description": "Total descuentos",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "numberOfItems": {
            "type": "integer",
            "description": "Número de piezas",
            "format": "int32"
          }
        },
        "description": "Orden de compra (encabezado)"
      },
      "PurchaseOrderModel": {
        "type": "object",
        "properties": {
          "purchaseOrderId": {
            "type": "integer",
            "description": "Id de la orden de compra en infopiezas.net",
            "format": "int32"
          },
          "orderTypeId": {
            "type": "integer",
            "description": "Id tipo de orden de compra",
            "format": "int16"
          },
          "orderTypeName": {
            "type": "string",
            "description": "Tipo de orden de compra"
          },
          "purchaseOrderInternalId": {
            "type": "string",
            "description": "Número interno de la orden de compra en el sistema de la aseguradora"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "quoteId": {
            "type": "integer",
            "description": "Cotización No.",
            "format": "int32"
          },
          "purchaseOrderStatusId": {
            "type": "integer",
            "description": "Id estatus orden de compra",
            "format": "uint8"
          },
          "purchaseOrderStatusName": {
            "type": "string",
            "description": "Estatus orden de compra"
          },
          "paymentTermId": {
            "type": "integer",
            "description": "Id condición de pago",
            "format": "int16"
          },
          "paymentTermName": {
            "type": "string",
            "description": "Condición de pago"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la orden",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que creó la orden"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que creó la orden"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Orden creada por"
          },
          "itemCategoryId": {
            "type": "integer",
            "description": "Categoria de las piezas (1. Piezas, 2. Cristales",
            "format": "int32"
          },
          "itemCategoryName": {
            "type": "string",
            "description": "Categoria de las piezas (Piezas, Cristales)"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamación"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "No. de póliza"
          },
          "insurancePolicyHolderName": {
            "type": "string",
            "description": "Nombre asegurado"
          },
          "insuranceClaimId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de la reclamación en infopiezas.net",
            "format": "int32"
          },
          "createdOnDateUtc": {
            "type": "string",
            "description": "Fecha de creación de la orden de compra, en UTC",
            "format": "date-time"
          },
          "createdOnDateLocal": {
            "type": "string",
            "description": "Fecha de creación de la orden de compra, hora local",
            "format": "date-time"
          },
          "workshopPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del taller",
            "format": "int32"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "RNC del taller"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre del taller"
          },
          "supplierPersonId": {
            "type": "integer",
            "description": "Id del suplidor a quien se emite la orden de compra",
            "format": "int32"
          },
          "supplierPersonTaxId": {
            "type": "string",
            "description": "RNC del suplidor a quien se emite la orden de compra"
          },
          "supplierPersonName": {
            "type": "string",
            "description": "Nombre del suplidor a quien se emite la orden de compra"
          },
          "deductibleAmount": {
            "type": "number",
            "description": "Monto deducible",
            "format": "double"
          },
          "subTotal": {
            "type": "number",
            "description": "Subtotal",
            "format": "double"
          },
          "taxTotal": {
            "type": "number",
            "description": "Total impuestos",
            "format": "double"
          },
          "discountTotal": {
            "type": "number",
            "description": "Descuento unitario de la pieza",
            "format": "double"
          },
          "grandTotal": {
            "type": "number",
            "description": "Total descuentos",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "deliverTo": {
            "type": "string",
            "description": "Entregar a"
          },
          "footerText": {
            "type": "string",
            "description": "Pie de página de la orden de compra"
          },
          "isPreOrder": {
            "type": "boolean",
            "description": "Indica si la orden de compra es pre-orden"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemModel"
            },
            "description": "Piezas ordenadas"
          },
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailsModel"
          },
          "changeHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatusChangeHistory"
            },
            "description": "Historial de cambios de estado"
          }
        },
        "description": "Orden de compra"
      },
      "QuoteHeaderModel": {
        "type": "object",
        "properties": {
          "quoteId": {
            "type": "integer",
            "description": "Id de la cotización",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la solicitud de cotización (Request)",
            "format": "int32"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que envió la cotización",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que envió la cotización"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que envió la cotización"
          },
          "createdByUserDisplayName": {
            "type": "string",
            "description": "Nombre del usuario que envió la cotización"
          },
          "creationDateUtc": {
            "type": "string",
            "description": "Fecha de la cotizacion (UTC)",
            "format": "date-time"
          },
          "creationDateLocal": {
            "type": "string",
            "description": "Fecha de la cotizacion (Local)",
            "format": "date-time"
          },
          "requestBuyerPersonName": {
            "type": "string",
            "description": "Nombre completo del cliente"
          },
          "vehicleName": {
            "type": "string",
            "description": "Marca, modelo y año del vehiculo"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamo"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "Número de póliza"
          },
          "isComplete": {
            "type": "boolean",
            "description": "Indica si se cotizaron todas las piezas de la licitación"
          },
          "isPurchaseOrderCreated": {
            "type": "boolean",
            "description": "Indica si se generó una orden de compra par esta cotización"
          },
          "requestStatusId": {
            "type": "integer",
            "description": "Id de estatus de la licitacion",
            "format": "uint8"
          },
          "requestStatusName": {
            "type": "string",
            "description": "Nombre del estatus de la licitacion"
          },
          "quoteSubTotal": {
            "type": "number",
            "description": "Subtotal (no incluye impuestos ni descuentos)",
            "format": "double"
          },
          "quoteTaxTotal": {
            "type": "number",
            "description": "Total de impuestos",
            "format": "double"
          },
          "quoteDiscountTotal": {
            "type": "number",
            "description": "Total de descuentos",
            "format": "double"
          },
          "quoteGrandTotal": {
            "type": "number",
            "description": "Total de la cotización",
            "format": "double"
          },
          "requestNumberOfItems": {
            "type": "integer",
            "description": "Cantidad de piezas en la licitación",
            "format": "int32"
          },
          "quoteNumberOfItems": {
            "type": "integer",
            "description": "Cantidad de piezas en la cotización",
            "format": "int32"
          },
          "quotedItemsLabel": {
            "type": [
              "null",
              "string"
            ],
            "description": "Cantidad de piezas en la cotización (label)"
          },
          "minDeliveryDays": {
            "type": "integer",
            "description": "Mínimo tiempo de entrega",
            "format": "int32"
          },
          "maxDeliveryDays": {
            "type": "integer",
            "description": "Máximo tiempo de entrega",
            "format": "int32"
          },
          "deliveryDaysLabel": {
            "type": [
              "null",
              "string"
            ]
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          }
        },
        "description": "Información de cotización"
      },
      "QuoteItemModel": {
        "type": "object",
        "properties": {
          "quoteItemId": {
            "type": "integer",
            "description": "Id de la pieza en la cotización",
            "format": "int32"
          },
          "itemId": {
            "type": "integer",
            "description": "Id de la pieza",
            "format": "int32"
          },
          "itemCode": {
            "type": "string",
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": "string",
            "description": "Nombre de la pieza"
          },
          "hasBeenOrdered": {
            "type": "boolean",
            "description": "Si la pieza ha sido ordenada"
          },
          "requestedItemTypeId": {
            "type": "integer",
            "description": "Tipo de pieza solicitada",
            "format": "int32"
          },
          "requestedItemTypeName": {
            "type": "string",
            "description": "Tipo de pieza solicitada"
          },
          "quotedItemTypeId": {
            "type": "integer",
            "description": "Tipo de pieza cotizada",
            "format": "int32"
          },
          "quotedItemTypeName": {
            "type": "string",
            "description": "Nombre del tipo de la pieza cotizada"
          },
          "deliveryDays": {
            "type": "integer",
            "description": "Tiempo de entrega (en días)",
            "format": "int32"
          },
          "quotedQuantity": {
            "type": "integer",
            "description": "Cantidad cotizada",
            "format": "int32"
          },
          "unitPriceAmount": {
            "type": "number",
            "description": "Precio unitario (no incluye impuestos ni descuentos)",
            "format": "double"
          },
          "unitTaxAmount": {
            "type": "number",
            "description": "Impuesto unitario",
            "format": "double"
          },
          "unitDiscountPercentage": {
            "type": "number",
            "description": "Descuento unitario",
            "format": "double"
          },
          "unitDiscountAmount": {
            "type": "number",
            "description": "Monto descuento unitario",
            "format": "double"
          },
          "rowPriceAmount": {
            "type": "number",
            "description": "Total precio",
            "format": "double"
          },
          "rowTaxAmount": {
            "type": "number",
            "description": "Total impuesto",
            "format": "double"
          },
          "rowDiscountAmount": {
            "type": "number",
            "description": "Total monto descuento",
            "format": "double"
          },
          "rowTotalAmount": {
            "type": "number",
            "description": "Total general",
            "format": "double"
          }
        }
      },
      "QuoteModel": {
        "type": "object",
        "properties": {
          "quoteId": {
            "type": "integer",
            "description": "Id de la cotización",
            "format": "int32"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la solicitud de cotización (Request)",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamo"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "Número de póliza"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que envió la cotización",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que envió la cotización"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que envió la cotización"
          },
          "createdByPhoneNumber": {
            "type": "string",
            "description": "Numero de teléfono de la empresa que envió la cotización"
          },
          "createdByAddress": {
            "type": "string",
            "description": "Dirección de la empresa que envió la cotización"
          },
          "createdByUserDisplayName": {
            "type": "string",
            "description": "Nombre del usuario que envió la cotización"
          },
          "creationDateUtc": {
            "type": "string",
            "description": "Fecha de la cotizacion (UTC)",
            "format": "date-time"
          },
          "creationDateLocal": {
            "type": "string",
            "description": "Fecha de la cotizacion (Local)",
            "format": "date-time"
          },
          "isComplete": {
            "type": "boolean",
            "description": "Indica si se cotizaron todas las piezas de la licitación"
          },
          "isPurchaseOrderCreated": {
            "type": "boolean",
            "description": "Indica si se generó una orden de compra par esta cotización"
          },
          "requestStatusId": {
            "type": "integer",
            "description": "Id de estatus de la licitacion",
            "format": "uint8"
          },
          "requestStatusName": {
            "type": "string",
            "description": "Nombre del estatus de la licitacion"
          },
          "requestDurationLabel": {
            "type": "string",
            "description": "Duracion de la licitación"
          },
          "deliveryProvinceId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Provincia/ciudad de entrega",
            "format": "int32"
          },
          "deliveryProvinceName": {
            "type": "string",
            "description": "Provincia/ciudad de entrega"
          },
          "requestItemCategoryId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Categoria de piezas (piezas o cristales)",
            "format": "uint8"
          },
          "requestItemCategoryName": {
            "type": "string",
            "description": "Categoria de piezas (piezas o cristales)"
          },
          "requestTypeId": {
            "type": "integer",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)",
            "format": "uint8"
          },
          "requestTypeName": {
            "type": "string",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)"
          },
          "itemTypeId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Tipo de piezas",
            "format": "uint8"
          },
          "itemTypeName": {
            "type": "string",
            "description": "Tipo de piezas"
          },
          "quoteSubTotal": {
            "type": "number",
            "description": "Subtotal (no incluye impuestos ni descuentos)",
            "format": "double"
          },
          "quoteTaxTotal": {
            "type": "number",
            "description": "Total de impuestos",
            "format": "double"
          },
          "quoteDiscountTotal": {
            "type": "number",
            "description": "Total de descuentos",
            "format": "double"
          },
          "quoteGrandTotal": {
            "type": "number",
            "description": "Total de la cotización",
            "format": "double"
          },
          "quoteNumberOfItems": {
            "type": "integer",
            "description": "Cantidad de piezas en la cotización",
            "format": "int32"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "requestBuyerPersonName": {
            "type": "string",
            "description": "Nombre completo del cliente"
          },
          "vehicleName": {
            "type": "string",
            "description": "Marca, modelo y año del vehiculo"
          },
          "quoteItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteItemModel"
            },
            "description": "Detalle de piezas cotizadas"
          },
          "vehicle": {
            "description": "Datos del vehículo",
            "$ref": "#/components/schemas/VehicleDetailsModel"
          }
        },
        "description": "Detalle de cotización"
      },
      "ReceptionItemDetails": {
        "type": "object",
        "properties": {
          "itemReceptionDetailId": {
            "type": "integer",
            "description": "Id detalle de recepción de piezas",
            "format": "int32"
          },
          "itemId": {
            "type": "integer",
            "description": "Id de la pieza",
            "format": "int32"
          },
          "itemCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre de la pieza"
          },
          "receivedQuantity": {
            "type": "integer",
            "description": "Cantidad recibida",
            "format": "int32"
          },
          "receivedItemTypeId": {
            "type": "integer",
            "description": "Id tipo de pieza recibida",
            "format": "int16"
          },
          "receivedItemTypeName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Tipo de pieza recibida"
          },
          "itemTypeAbbreviation": {
            "type": [
              "null",
              "string"
            ],
            "description": "Tipo de pieza recibida (abreviado)"
          }
        },
        "description": "Detalle de pieza recibida"
      },
      "ReportedAuthorityDetails": {
        "type": "object",
        "properties": {
          "authorityId": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "authorityName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "RequestForQuoteHeader": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la licitación",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que creó la licitación"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que creó la licitación"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Nombre de la persona que creó la licitación"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamo"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "Número de póliza de seguro"
          },
          "insuredName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del asegurado"
          },
          "collisionDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha del incidente",
            "format": "date-time"
          },
          "buyerPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de la empresa que emitirá la orden de compra",
            "format": "int32"
          },
          "buyerPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que emitirá la orden de compra"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que emitirá la orden de compra"
          },
          "createdOnUtc": {
            "type": "string",
            "description": "Fecha y hora de creación (UTC)",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha y hora de creación (Local)",
            "format": "date-time"
          },
          "auctionStartTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha en que inicio la licitación (UTC)",
            "format": "date-time"
          },
          "auctionStartTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha en que inicio la licitación (Local)",
            "format": "date-time"
          },
          "auctionEstimadedCloseTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de cierre de la licitación (UTC)",
            "format": "date-time"
          },
          "auctionEstimadedCloseTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de cierre de la licitación (Local)",
            "format": "date-time"
          },
          "auctionActualCloseTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha actual de cierre de la licitación (UTC)",
            "format": "date-time"
          },
          "auctionActualCloseTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha actual de cierre de la licitación (Local)",
            "format": "date-time"
          },
          "requestStatusId": {
            "type": "integer",
            "description": "Estatus de la licitacion",
            "format": "uint8"
          },
          "requestStatusName": {
            "type": "string",
            "description": "Estatus de la licitacion"
          },
          "requestTypeId": {
            "type": "integer",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)",
            "format": "uint8"
          },
          "requestTypeName": {
            "type": "string",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)"
          },
          "requestItemCategoryId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Categoria de piezas (piezas o cristales)",
            "format": "uint8"
          },
          "requestItemCategoryName": {
            "type": "string",
            "description": "Categoria de piezas (piezas o cristales)"
          },
          "quoteTypeId": {
            "type": "integer",
            "description": "Tipo de licitación",
            "format": "uint8"
          },
          "quoteTypeName": {
            "type": "string",
            "description": "Tipo de licitación"
          },
          "itemTypeId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Tipo de piezas",
            "format": "uint8"
          },
          "itemTypeName": {
            "type": "string",
            "description": "Tipo de piezas"
          },
          "numberParticipants": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Número de suplidores participando",
            "format": "int16"
          },
          "numberofQuotes": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Número de cotizaciones",
            "format": "int32"
          },
          "requiresInvoiceTaxId": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Requiere comprobante fiscal"
          },
          "numberOfItems": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Número de piezas",
            "format": "int32"
          },
          "durationId": {
            "type": "integer",
            "description": "Id de duración de la licitación",
            "format": "int16"
          },
          "minutesDuration": {
            "type": "integer",
            "description": "Duracion de la licitacion en minutos",
            "format": "int16"
          },
          "durationLabel": {
            "type": "string",
            "description": "Duracion de la licitacion en minutos"
          },
          "vehicleVIN": {
            "type": "string",
            "description": "Numero de chasis"
          },
          "vehicleMakeId": {
            "type": "integer",
            "description": "Id de la marca del vehículo",
            "format": "int16"
          },
          "vehicleMakeName": {
            "type": "string",
            "description": "Nombre de la marca"
          },
          "vehicleModelId": {
            "type": "integer",
            "description": "Id del modelo",
            "format": "int16"
          },
          "vehicleModelName": {
            "type": "string",
            "description": "Nombre del modelo"
          },
          "vehicleYear": {
            "type": "integer",
            "description": "Año del vehículo",
            "format": "int16"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Marca, modelo y año del vehículo"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "workshopPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del taller",
            "format": "int32"
          },
          "workshopName": {
            "type": "string",
            "description": "Nombre del taller"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "RNC del taller"
          },
          "incidentDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha y hora del incidente (UTC)",
            "format": "date-time"
          },
          "deliveryProvinceId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Provincia/ciudad de entrega",
            "format": "int16"
          },
          "deliveryProvinceName": {
            "type": "string",
            "description": "Provincia/ciudad de entrega"
          }
        },
        "description": "Licitación (cabecera)"
      },
      "RequestForQuoteItemModel": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "description": "Id de la pieza",
            "format": "int32"
          },
          "itemTypeId": {
            "type": "integer",
            "description": "Tipo de pieza (piezas o cristales)",
            "format": "int32"
          },
          "itemTypeName": {
            "type": "string",
            "description": "Nombre del tipo de pieza"
          },
          "quantity": {
            "type": "integer",
            "description": "Cantidad requerida",
            "format": "int32"
          },
          "itemCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": "string",
            "description": "Nombre de la pieza"
          },
          "itemActionId": {
            "type": "integer",
            "description": "Acción",
            "format": "int16"
          },
          "itemActionName": {
            "type": "string",
            "description": "Acción"
          },
          "hasItemBeenOrdered": {
            "type": "boolean",
            "description": "Si se emitió orden de compra para la pieza"
          },
          "hasItemBeenSent": {
            "type": "boolean",
            "description": "Si la pieza fue enviada"
          },
          "hasItemBeenReceived": {
            "type": "boolean",
            "description": "Si la pieza fue recibida"
          },
          "isItemReturned": {
            "type": "boolean",
            "description": "Si la pieza está devuelta"
          }
        },
        "description": "Detalle de la pieza"
      },
      "RequestForQuoteModel": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que creó la licitación",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que creó la licitación"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Nombre de la persona que creó la licitación"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que creó la licitación"
          },
          "buyerPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de la empresa que emitirá la orden de compra",
            "format": "int32"
          },
          "buyerPersonTaxId": {
            "type": "string",
            "description": "RNC de la empresa que emitirá la orden de compra"
          },
          "buyerPersonName": {
            "type": "string",
            "description": "Nombre de la empresa que emitirá la orden de compra"
          },
          "createdOnUtc": {
            "type": "string",
            "description": "Fecha y hora de creación (UTC)",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha y hora de creación (Local)",
            "format": "date-time"
          },
          "auctionStartTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha en que inicio la licitación (UTC)",
            "format": "date-time"
          },
          "auctionStartTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha en que inicio la licitación (Local)",
            "format": "date-time"
          },
          "auctionEstimadedCloseTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de cierre de la licitación (UTC)",
            "format": "date-time"
          },
          "auctionEstimadedCloseTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de cierre de la licitación (Local)",
            "format": "date-time"
          },
          "auctionActualCloseTimeUtc": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha actual de cierre de la licitación (UTC)",
            "format": "date-time"
          },
          "auctionActualCloseTimeLocal": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha actual de cierre de la licitación (Local)",
            "format": "date-time"
          },
          "deliveryProvinceId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Provincia/ciudad de entrega",
            "format": "int16"
          },
          "deliveryProvinceName": {
            "type": "string",
            "description": "Provincia/ciudad de entrega"
          },
          "requestStatusId": {
            "type": "integer",
            "description": "Estatus de la licitacion",
            "format": "uint8"
          },
          "requestStatusName": {
            "type": "string",
            "description": "Estatus de la licitacion"
          },
          "requestTypeId": {
            "type": "integer",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)",
            "format": "uint8"
          },
          "requestTypeName": {
            "type": "string",
            "description": "Tipo de licitación (aseguradora, corporativo, personal)"
          },
          "requestItemCategoryId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Categoria de piezas (piezas o cristales)",
            "format": "uint8"
          },
          "requestItemCategoryName": {
            "type": "string",
            "description": "Categoria de piezas (piezas o cristales)"
          },
          "quoteTypeId": {
            "type": "integer",
            "description": "Tipo de licitación",
            "format": "uint8"
          },
          "quoteTypeName": {
            "type": "string",
            "description": "Tipo de licitación"
          },
          "itemTypeId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Tipo de piezas",
            "format": "uint8"
          },
          "itemTypeName": {
            "type": "string",
            "description": "Tipo de piezas"
          },
          "numberParticipants": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Número de suplidores participando",
            "format": "int16"
          },
          "requiresInvoiceTaxId": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Requiere comprobante fiscal"
          },
          "numberOfItems": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Número de piezas",
            "format": "int32"
          },
          "durationId": {
            "type": "integer",
            "description": "Id de duración de la licitación",
            "format": "int16"
          },
          "minutesDuration": {
            "type": "integer",
            "description": "Duracion de la licitacion en minutos",
            "format": "int16"
          },
          "durationLabel": {
            "type": "string",
            "description": "Duracion de la licitacion en minutos"
          },
          "workshopPersonId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del taller",
            "format": "int32"
          },
          "workshopPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "RNC del taller"
          },
          "workshopPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del taller"
          },
          "vehicleVIN": {
            "type": "string",
            "description": "Numero de chasis"
          },
          "vehicleMakeId": {
            "type": "integer",
            "description": "Id de la marca del vehículo",
            "format": "int16"
          },
          "vehicleMakeName": {
            "type": "string",
            "description": "Nombre de la marca"
          },
          "vehicleModelId": {
            "type": "integer",
            "description": "Id del modelo",
            "format": "int16"
          },
          "vehicleModelName": {
            "type": "string",
            "description": "Nombre del modelo"
          },
          "vehicleYear": {
            "type": "integer",
            "description": "Año del vehículo",
            "format": "int16"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Marca, modelo y año del vehículo"
          },
          "policyNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de póliza"
          },
          "claimNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de reclamo"
          },
          "insuredName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del asegurado"
          },
          "collisionDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha del incidente",
            "format": "date-time"
          },
          "comments": {
            "type": [
              "null",
              "string"
            ],
            "description": "Comentarios"
          },
          "requestItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestForQuoteItemModel"
            },
            "description": "Listado de piezas"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestImage"
            },
            "description": "Imagenes"
          },
          "serviceOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceOrderHeaderModel"
            },
            "description": "Órdenes de mano de obra"
          },
          "quotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteHeaderModel"
            },
            "description": "Cotizaciones"
          },
          "purchaseOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchaseOrderHeaderModel"
            },
            "description": "Órdenes de compra"
          },
          "itemShipmentTracking": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemShipmentTrackingModel"
            },
            "description": "Detalle de envío de piezas"
          }
        },
        "description": "Licitación"
      },
      "RequestImage": {
        "type": "object",
        "properties": {
          "imageId": {
            "type": "integer",
            "description": "Id de la imagen",
            "format": "int32"
          },
          "thumbnailUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Url de la imagen pequeña"
          },
          "fullSizeUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Url de la imagen tamaño normal"
          }
        },
        "description": "Detalles de la imagen"
      },
      "RequestTypeModel": {
        "type": "object",
        "properties": {
          "requestTypeId": {
            "type": "integer",
            "description": "Id tipo de licitación",
            "format": "int16"
          },
          "requestTypeName": {
            "type": "string",
            "description": "Nombre tipo de licitación"
          }
        },
        "description": "Tipo de licitación"
      },
      "ServiceItemDetails": {
        "type": "object",
        "properties": {
          "workshopServiceId": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "workshopServiceCode": {
            "type": "string"
          },
          "workshopServiceName": {
            "type": "string"
          },
          "unitPrice": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ServiceOrderHeaderModel": {
        "type": "object",
        "properties": {
          "serviceOrderId": {
            "type": "integer",
            "description": "Id de la orden de mano de obra en infopiezas",
            "format": "int32"
          },
          "serviceOrderGuid": {
            "type": "string",
            "description": "Guid único para esta orden de mano de obra"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "serviceOrderStatusId": {
            "type": "integer",
            "description": "Id del estatus de la orden de mano de obra",
            "format": "uint8"
          },
          "serviceOrderStatusName": {
            "type": "string",
            "description": "Nombre del estatus de la orden de mano de obra"
          },
          "claimId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del reclamo en infopiezas (si existe)",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamación en la aseguradora"
          },
          "deliveryDays": {
            "type": "integer",
            "description": "Días de entrega",
            "format": "int32"
          },
          "createdOnUtcDate": {
            "type": "string",
            "description": "Fecha de creación de la orden de servicio, en UTC",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "format": "date-time"
          },
          "vehicleReceptionDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha de recepción del vehículo",
            "format": "date-time"
          },
          "estimatedDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de entrega del vehículo",
            "format": "date-time"
          },
          "actualDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha real de entrega del vehículo",
            "format": "date-time"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Empresa del usuario que crea la orden de servicio"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Usuario que crea la orden de servicio"
          },
          "createdByUserId": {
            "type": "string",
            "description": "Usuario que crea la orden de servicio"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "RNC del taller a quien se emite la orden de servicio"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre del taller a quien se emite la orden de servicio"
          },
          "vehicleVIN": {
            "type": "string",
            "description": "Numero de chasis"
          },
          "vehicleMakeId": {
            "type": "integer",
            "description": "Id de la marca del vehículo",
            "format": "int16"
          },
          "vehicleMakeName": {
            "type": "string",
            "description": "Nombre de la marca"
          },
          "vehicleModelId": {
            "type": "integer",
            "description": "Id del modelo",
            "format": "int16"
          },
          "vehicleModelName": {
            "type": "string",
            "description": "Nombre del modelo"
          },
          "vehicleYear": {
            "type": "integer",
            "description": "Año del vehículo",
            "format": "int16"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Marca, modelo y año del vehículo"
          },
          "subTotalAmount": {
            "type": "number",
            "description": "Subtotal orden de servicio en función de precios previamente acordados de por el tipo de servicio (reparar/reemplazar)",
            "format": "double"
          },
          "otherChargesAmount": {
            "type": "number",
            "description": "Monto ajuste orden de servicio",
            "format": "double"
          },
          "deductibleAmount": {
            "type": "number",
            "description": "Monto deducible",
            "format": "double"
          },
          "taxTotalAmount": {
            "type": "number",
            "description": "Monto de impuestos",
            "format": "double"
          },
          "grandTotalAmount": {
            "type": "number",
            "description": "Total general: (subtotal + impuestos) - deducible",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          }
        },
        "description": "Orden de mano de obra (cabecera)"
      },
      "ServiceOrderItemModel": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "integer",
            "description": "Id de la pieza",
            "format": "int32"
          },
          "itemCode": {
            "type": "string",
            "description": "Código de la pieza"
          },
          "itemName": {
            "type": "string",
            "description": "Nombre de la pieza"
          },
          "itemQuantity": {
            "type": "integer",
            "description": "Cantidad",
            "format": "int32"
          },
          "itemActionId": {
            "type": "integer",
            "description": "Id acción a tomar",
            "format": "int16"
          },
          "itemActionName": {
            "type": "string",
            "description": "Nombre acción a tomar"
          },
          "workshopItemRepairPrice": {
            "type": "number",
            "description": "Precio de reparación de piezas acordado con el taller (por unidad).",
            "format": "double"
          },
          "workshopItemReplacePrice": {
            "type": "number",
            "description": "Precio de reemplazo de piezas acordado con el taller (por unidad).",
            "format": "double"
          },
          "workshopPrice": {
            "type": "number",
            "description": "Precio de la pieza acordado con el taller (según la acción).",
            "format": "double"
          },
          "otherCosts": {
            "type": [
              "null",
              "number"
            ],
            "description": "Otros costos",
            "format": "double"
          }
        },
        "description": "Pieza de orden de mano de obra"
      },
      "ServiceOrderModel": {
        "type": "object",
        "properties": {
          "serviceOrderId": {
            "type": "integer",
            "description": "Id de la orden de mano de obra en infopiezas",
            "format": "int32"
          },
          "serviceOrderGuid": {
            "type": "string",
            "description": "Guid único para esta orden de mano de obra"
          },
          "requestId": {
            "type": "integer",
            "description": "Id de la licitación",
            "format": "int32"
          },
          "serviceOrderStatusId": {
            "type": "integer",
            "description": "Estado de la orden de servicio (Id)",
            "format": "uint8"
          },
          "serviceOrderStatusName": {
            "type": "string",
            "description": "Estado de la orden de servicio"
          },
          "claimId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del reclamo en infopiezas (si existe)",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": "string",
            "description": "Número de reclamación en la aseguradora"
          },
          "insurancePolicyNumber": {
            "type": "string",
            "description": "Número de póliza de seguro"
          },
          "insuredName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del asegurado"
          },
          "deliveryDays": {
            "type": "integer",
            "description": "Dias de entrega",
            "format": "int32"
          },
          "createdOnUtcDate": {
            "type": "string",
            "description": "Fecha de creación de la orden de servicio, en UTC",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha de creación de la orden de servicio, en hora local",
            "format": "date-time"
          },
          "createdByUserId": {
            "type": "string",
            "description": "Usuario que crea la orden de servicio"
          },
          "createdByPersonName": {
            "type": "string",
            "description": "Empresa del usuario que crea la orden de servicio"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Nombre del usuario que crea la orden de servicio"
          },
          "workshopPersonTaxId": {
            "type": "string",
            "description": "RNC del taller a quien se emite la orden de servicio"
          },
          "workshopPersonName": {
            "type": "string",
            "description": "Nombre del taller a quien se emite la orden de servicio"
          },
          "vehicleVIN": {
            "type": "string",
            "description": "Numero de chasis"
          },
          "vehicleMakeId": {
            "type": "integer",
            "description": "Id de la marca del vehículo",
            "format": "int16"
          },
          "vehicleMakeName": {
            "type": "string",
            "description": "Nombre de la marca"
          },
          "vehicleModelId": {
            "type": "integer",
            "description": "Id del modelo",
            "format": "int16"
          },
          "vehicleModelName": {
            "type": "string",
            "description": "Nombre del modelo"
          },
          "vehicleYear": {
            "type": "integer",
            "description": "Año del vehículo",
            "format": "int16"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Marca, modelo y año del vehículo"
          },
          "otherChargesAmount": {
            "type": "number",
            "description": "Otros cargos",
            "format": "double"
          },
          "subTotalAmount": {
            "type": "number",
            "description": "Subtotal orden de servicio en función de precios previamente acordados de por el tipo de servicio (reparar/reemplazar)",
            "format": "double"
          },
          "deductibleAmount": {
            "type": "number",
            "description": "Monto deducible",
            "format": "double"
          },
          "taxTotalAmount": {
            "type": "number",
            "description": "Monto de impuestos",
            "format": "double"
          },
          "grandTotalAmount": {
            "type": "number",
            "description": "Total general (subtotal + otros  + impuestos) - deducible",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comentarios"
          },
          "vehicleReceptionDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha de recepción del vehículo",
            "format": "date-time"
          },
          "estimatedDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de entrega del vehículo",
            "format": "date-time"
          },
          "actualDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha real de entrega del vehículo",
            "format": "date-time"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceOrderItemModel"
            },
            "description": "Piezas"
          },
          "workshopOtherServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkshopServiceItemModel"
            },
            "description": "Servicios"
          },
          "changeHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatusChangeHistory"
            },
            "description": "Historial de cambios de estado"
          }
        },
        "description": "Detalle orden de mano de obra  (orden de servicio)"
      },
      "StateCityModel": {
        "type": "object",
        "properties": {
          "stateCityId": {
            "type": "integer",
            "description": "Id de ciudad",
            "format": "int32"
          },
          "stateId": {
            "type": "integer",
            "description": "Id de provincia",
            "format": "int32"
          },
          "stateCityName": {
            "type": "string",
            "description": "Nombre de ciudad"
          }
        },
        "description": "Ciudad"
      },
      "StateModel": {
        "type": "object",
        "properties": {
          "stateId": {
            "type": "integer",
            "description": "Id Provincia",
            "format": "int32"
          },
          "countryId": {
            "type": "integer",
            "description": "Id país",
            "format": "int16"
          },
          "stateName": {
            "type": "string",
            "description": "Provincia"
          }
        },
        "description": "Provincia"
      },
      "StatusChangeHistory": {
        "type": "object",
        "properties": {
          "statusChangeId": {
            "type": "integer",
            "description": "Id del cambio",
            "format": "int32"
          },
          "createdOnUtc": {
            "type": "string",
            "description": "Fecha (UTC)",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha (local)",
            "format": "date-time"
          },
          "documentStatusId": {
            "type": "integer",
            "description": "Id del estatus",
            "format": "int16"
          },
          "documentStatusName": {
            "type": "string",
            "description": "Nombre del estatus"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de la empresa que generó el cambio",
            "format": "int32"
          },
          "createdByUserId": {
            "type": "string",
            "description": "Id del usuario que generó el cambio",
            "format": "uuid"
          },
          "createdByDisplayName": {
            "type": "string",
            "description": "Nombre del usuario que generó el cambio"
          },
          "comments": {
            "type": [
              "null",
              "string"
            ],
            "description": "Comentarios"
          }
        },
        "description": "Detalle de historial de cambios"
      },
      "ValidationMessage": {
        "type": "object",
        "properties": {
          "memberDisplayName": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "VehicleDetailsModel": {
        "type": "object",
        "properties": {
          "vin": {
            "type": "string",
            "description": "Número de chasis"
          },
          "makeId": {
            "type": "integer",
            "description": "Id de la marca del vehículo",
            "format": "int16"
          },
          "makeName": {
            "type": "string",
            "description": "Marca del vehículo"
          },
          "modelId": {
            "type": "integer",
            "description": "Id del modelo",
            "format": "int16"
          },
          "modelName": {
            "type": "string",
            "description": "Modelo del vehículo"
          },
          "year": {
            "type": "integer",
            "description": "Año del vehículo",
            "format": "int16"
          },
          "vehicleName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vehículo (nombre completo)"
          }
        },
        "description": "Datos del vehículo"
      },
      "VehicleReceptionModel": {
        "type": "object",
        "properties": {
          "serviceOrderId": {
            "type": "integer",
            "description": "Id de la orden de mano de obra en infopiezas",
            "format": "int32"
          },
          "requestId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id de la licitación",
            "format": "int32"
          },
          "insuranceClaimNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de reclamo"
          },
          "insurancePolicyNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "Número de póliza"
          },
          "deliveryDays": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Días de entrega",
            "format": "int32"
          },
          "createdOnUtcDate": {
            "type": "string",
            "description": "Fecha de creación de la orden de mano de obra, UTC",
            "format": "date-time"
          },
          "createdOnLocal": {
            "type": "string",
            "description": "Fecha de creación de la orden de mano de obra (local)",
            "format": "date-time"
          },
          "vehicleReceptionDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha de recepción del vehículo (fecha local)",
            "format": "date-time"
          },
          "estimatedDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha estimada de entrega del vehículo (fecha local)",
            "format": "date-time"
          },
          "actualDeliveryDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fecha real de entrega del vehículo (fecha local)",
            "format": "date-time"
          },
          "createdByPersonId": {
            "type": "integer",
            "description": "Id de empresa del usuario que crea la orden de mano de obra",
            "format": "int32"
          },
          "createdByPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "RNC de empresa del usuario que crea la orden de mano de obra"
          },
          "createdByPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Empresa del usuario que crea la orden de mano de obra"
          },
          "createdByDisplayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Usuario que crea la orden de mano de obra"
          },
          "createdByUserId": {
            "type": "string",
            "description": "Usuario que crea la orden de mano de obra",
            "format": "uuid"
          },
          "workshopPersonId": {
            "type": "integer",
            "description": "Id del taller a quien se emite la orden de mano de obra",
            "format": "int32"
          },
          "workshopPersonTaxId": {
            "type": [
              "null",
              "string"
            ],
            "description": "RNC del taller a quien se emite la orden de mano de obra"
          },
          "workshopPersonName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del taller a quien se emite la orden de mano de obra"
          },
          "vehicle": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "description": "Datos del vehículo",
                "$ref": "#/components/schemas/VehicleDetailsModel"
              }
            ]
          }
        },
        "description": "Datos de recepción de vehículo"
      },
      "WorkshopServiceItemModel": {
        "type": "object",
        "properties": {
          "workshopServiceId": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Id del servicio de taller",
            "format": "int32"
          },
          "workshopServiceCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Código del servicio de taller"
          },
          "workshopServiceName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nombre del servicio de taller"
          },
          "workshopServiceQuantity": {
            "type": "integer",
            "description": "Cantidad del servicio",
            "format": "int32"
          },
          "workshopServicePrice": {
            "type": [
              "null",
              "number"
            ],
            "description": "Precio del servicio acordado con el taller (por unidad).",
            "format": "double"
          },
          "otherCosts": {
            "type": "number",
            "description": "Otros costos (actualmente no se usa, para futuras implementaciones)",
            "format": "double"
          },
          "rowPrice": {
            "type": "number",
            "description": "Precio total de la fila",
            "format": "double"
          }
        },
        "description": "Servicio de taller"
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "El api key es user_mail:api_secret - base64 encoded.",
        "name": "X-API-KEY",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Configuration",
      "description": "Endpoints relacionados con la configuración de la aplicación."
    },
    {
      "name": "IncidentReports",
      "description": "Endpoints relacionados con reportes de siniestros."
    },
    {
      "name": "ItemsReceptions",
      "description": "Endpoints relacionados con las recepciones de piezas."
    },
    {
      "name": "ItemsShipments",
      "description": "Endpoints relacionados con los envíos de piezas."
    },
    {
      "name": "Persons",
      "description": "Endpoints relacionados con empresas."
    },
    {
      "name": "PurchaseOrders",
      "description": "Endpoints relacionados con las órdenes de compra."
    },
    {
      "name": "Quotes",
      "description": "Endpoints relacionados con las cotizaciones."
    },
    {
      "name": "Requests",
      "description": "Endpoints relacionados con las licitaciones."
    },
    {
      "name": "ServiceOrders",
      "description": "Endpoints relacionados con las órdenes de mano de obra."
    }
  ]
}