{
  "swagger": "2.0",
  "info": {
    "version": "v1",
    "title": "consuman® API"
  },
  "host": "demo.senati.edu.pe",
  "schemes": [
    "https"
  ],
  "paths": {
    "/api/integration/v2/backups": {
      "get": {
        "tags": [
          "Backups V2"
        ],
        "summary": "Download the last full backup database for the given date or the last from today if no date provided",
        "operationId": "BackupApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date of the backup",
            "required": false,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/clients": {
      "get": {
        "tags": [
          "Client V2"
        ],
        "summary": "Get clients.",
        "operationId": "ClientApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Client V2"
        ],
        "summary": "Create a new client or update an existing client.",
        "operationId": "ClientApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "clientDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Client.IntegrationClientDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/clients/{id}": {
      "get": {
        "tags": [
          "Client V2"
        ],
        "summary": "Get a client using an internal id.",
        "operationId": "ClientApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Client V2"
        ],
        "summary": "Undelete a client by internal id.",
        "operationId": "ClientApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Client V2"
        ],
        "summary": "Delete a client using an internal system id.",
        "operationId": "ClientApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/clients/{id}/external": {
      "get": {
        "tags": [
          "Client V2"
        ],
        "summary": "Get a client using an external system id.",
        "operationId": "ClientApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Client V2"
        ],
        "summary": "Undelete a client by external system id.",
        "operationId": "ClientApiV2_UndeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Client V2"
        ],
        "summary": "Delete a client using an external system id.",
        "operationId": "ClientApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/clients/{key}/key": {
      "get": {
        "tags": [
          "Client V2"
        ],
        "summary": "Get a client using an external system id.",
        "operationId": "ClientApiV2_GetByKey",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/equipments/Get/{id}": {
      "get": {
        "tags": [
          "Equipments V1"
        ],
        "summary": "Get a equipment using an internal system id.",
        "operationId": "EquipmentApiV1_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/equipments/GetByKey/{key}": {
      "get": {
        "tags": [
          "Equipments V1"
        ],
        "summary": "Get a equipment using a key.",
        "operationId": "EquipmentApiV1_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/equipments/Post": {
      "post": {
        "tags": [
          "Equipments V1"
        ],
        "summary": "Insert or update a equipment.",
        "operationId": "EquipmentApiV1_Post",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentV1Dto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/equipments/Alta": {
      "post": {
        "tags": [
          "Equipments V1"
        ],
        "summary": "Undelete a equipment.",
        "operationId": "EquipmentApiV1_Undelete",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentV1Dto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/equipments/Delete": {
      "delete": {
        "tags": [
          "Equipments V1"
        ],
        "summary": "Delete a equipment using a external system id and parameter type.",
        "operationId": "EquipmentApiV1_DeleteFromExternal",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentV1Dto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/integration/v2/equipments/{id}": {
      "get": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Get a equipment using an internal system id.",
        "operationId": "EquipmentApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Delete a equipment using a internal system id.",
        "operationId": "EquipmentApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments/{key}/key": {
      "get": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Get a equipment using a key.",
        "operationId": "EquipmentApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments/{externalId}/external": {
      "get": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Get a equipment using an external system id.",
        "operationId": "EquipmentApiV2_GetByExternalId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Delete a equipment using a external system id and parameter type.",
        "operationId": "EquipmentApiV2_DeleteFromExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments": {
      "get": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Get all equipments.",
        "operationId": "EquipmentApiV2_GetAllForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Insert or update a equipment.",
        "operationId": "EquipmentApiV2_Post",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments/{externalId}/external/undelete": {
      "put": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Undelete a equipment by external system id.",
        "operationId": "EquipmentApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments/{id}/undelete": {
      "put": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Undelete a equipment by internal id.",
        "operationId": "EquipmentApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/equipments/structure": {
      "get": {
        "tags": [
          "Equipments V2"
        ],
        "summary": "Get all structures.",
        "operationId": "EquipmentApiV2_GetAllStructuresForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/eventReport": {
      "get": {
        "tags": [
          "Event Report V2"
        ],
        "summary": "Get a Event Reports list using a date range.",
        "operationId": "EventReportApiV2_GetAllByDatesForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Event Report V2"
        ],
        "summary": "Save a Work request.",
        "operationId": "EventReportApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "eventProgram",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Event.IntegrationCreateEventReportDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/eventReport/{id}": {
      "get": {
        "tags": [
          "Event Report V2"
        ],
        "summary": "Get a Event Reports using a Id.",
        "operationId": "EventReportApiV2_GetByIdIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/eventReport/{id}/external": {
      "get": {
        "tags": [
          "Event Report V2"
        ],
        "summary": "Get a Event Reports using a externalId.",
        "operationId": "EventReportApiV2_GetByExternalIdIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/fluidsLoad": {
      "post": {
        "tags": [
          "Fluids Load V2"
        ],
        "summary": "Load fluids and create a voucher of charge order.",
        "operationId": "FluidsLoadApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "fluidLoadDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.FluidLoad.IntegrationFluidLoadDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/groups": {
      "get": {
        "tags": [
          "Groups V2"
        ],
        "summary": "Get groups.",
        "operationId": "GroupsApiV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/layout": {
      "get": {
        "tags": [
          "Layout V2"
        ],
        "summary": "Get a list of all layout.",
        "operationId": "LayoutApiV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Layout V2"
        ],
        "summary": "Create a new layout or update an existing layout.",
        "operationId": "LayoutApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "layoutDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/layout/{id}": {
      "get": {
        "tags": [
          "Layout V2"
        ],
        "summary": "Get a layout using an internal id.",
        "operationId": "LayoutApiV2_GetForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/layout/{id}/external": {
      "get": {
        "tags": [
          "Layout V2"
        ],
        "summary": "Get a layout using an external system id.",
        "operationId": "LayoutApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{equipmentId}": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment in an optional period using its internal id.",
        "operationId": "MeasurementApiV2_GetByEquipmentId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{equipmentId}/{partId}/part": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by part in an optional period using their internal id.",
        "operationId": "MeasurementApiV2_GetByEquipmentIdAndPartId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "partId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{equipmentId}/{taskId}/task": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by task in an optional period using their internal id.",
        "operationId": "MeasurementApiV2_GetByEquipmentIdAndTaskId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "taskId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{equipmentId}/{partId}/part/{taskId}/task": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by part and task in an optional period using their internal id.",
        "operationId": "MeasurementApiV2_GetByEquipmentIdAndPartIdAndTaskId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "equipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "partId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "taskId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{externalEquipmentId}/external": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment in an optional period using its external id.",
        "operationId": "MeasurementApiV2_GetByExternalEquipmentId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalEquipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{externalEquipmentId}/{externalPartId}/externalPart/external": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by part in an optional period using their external id.",
        "operationId": "MeasurementApiV2_GetByExternalEquipmentIdAndPartId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalEquipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "externalPartId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{externalEquipmentId}/{externalTaskId}/externalTask/external": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by task in an optional period using their external id.",
        "operationId": "MeasurementApiV2_GetByExternalEquipmentIdAndTaskId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalEquipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "externalTaskId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements/{externalEquipmentId}/{externalPartId}/externalPart/{externalTaskId}/externalTask/external": {
      "get": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Get measuraments from an equipment filtered by part and task in an optional period using their external id.",
        "operationId": "MeasurementApiV2_GetByExternalEquipmentIdAndPartIdAndTaskId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalEquipmentId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "externalPartId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "externalTaskId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/measurements": {
      "post": {
        "tags": [
          "Measurements V2"
        ],
        "summary": "Create a new measurement.",
        "operationId": "MeasurementApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "measurementDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Measurement.IntegrationMeasurementDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/calendar/reminders": {
      "get": {
        "tags": [
          "Mobile Calendar V2"
        ],
        "summary": "Get all task with reminder set on for the logged user",
        "operationId": "MobileCalendarV2_GetAllReminders",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/checklists": {
      "get": {
        "tags": [
          "Mobile Checklist V2"
        ],
        "summary": "Get all checklists",
        "operationId": "MobileChecklistsV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mobile Checklist V2"
        ],
        "summary": "Save checklist feedback",
        "operationId": "MobileChecklistsV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "checklists",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.CheckList.MobileV2.ChecklistPostDtoV2"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/diagnostics/upload": {
      "post": {
        "tags": [
          "Mobile Diagnostics V2"
        ],
        "summary": "Retrieve device database",
        "operationId": "MobileDiagnosticsV2_Upload",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "diagnostic",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.DiagnosticDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/parameters": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all parameters",
        "operationId": "MobileEntitiesV2_GetAllParameters",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/assets": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all assets",
        "operationId": "MobileEntitiesV2_GetAllAssets",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/assets/structure": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all assets structures",
        "operationId": "MobileEntitiesV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/assets/life-sheet": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get asset life sheet",
        "operationId": "MobileEntitiesV2_GetAssetLifeSheet",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "filter.dateFrom.day",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.dayOfMonth",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.month",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.year",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.hour",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.hourOfDay",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.minute",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateFrom.second",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.day",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.dayOfMonth",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.month",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.year",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.hour",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.hourOfDay",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.minute",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.dateTo.second",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "filter.assetId",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/tasks": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all tasks",
        "operationId": "MobileEntitiesV2_GetAllTasks",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/answers-task": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all answers by task",
        "operationId": "MobileEntitiesV2_GetAllAnswersByTask",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/layout": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all layouts",
        "operationId": "MobileEntitiesV2_GetAllLayouts",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/supplies": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all supplies",
        "operationId": "MobileEntitiesV2_GetAllSupplies",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/supplies/assets": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all answers by task",
        "operationId": "MobileEntitiesV2_GetAllAssetsBySupply",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/traceables": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all Traceables",
        "operationId": "MobileEntitiesV2_GetAllTraceable",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/staff": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all staff",
        "operationId": "MobileEntitiesV2_GetAllStaff",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/staff/register-location": {
      "post": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Register location",
        "operationId": "MobileEntitiesV2_RegisterLocation",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "location",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Staff.MobileV2.LocationPostDtoV2"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/suppliers": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all suppliers",
        "operationId": "MobileEntitiesV2_GetAllSuppliers",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/groups": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get all user groups",
        "operationId": "MobileEntitiesV2_GetAllGroups",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/field-configuration": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get field configuration",
        "operationId": "MobileEntitiesV2_GetFieldConfiguration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/entities/category": {
      "get": {
        "tags": [
          "Mobile Entity V2"
        ],
        "summary": "Get work request categories",
        "operationId": "MobileEntitiesV2_GetCategories",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/productivity": {
      "get": {
        "tags": [
          "Mobile Productivity News V2"
        ],
        "summary": "Get all productivity news",
        "operationId": "MobileProductivityV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mobile Productivity News V2"
        ],
        "summary": "Save a list of productivity news",
        "operationId": "MobileProductivityV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "productivityNews",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.ProductivityNews.MobileV2.ProductivityNewPostDtoV2"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/system/get-mobile-version": {
      "get": {
        "tags": [
          "Mobile System V2"
        ],
        "summary": "Retrieve mobile version",
        "operationId": "MobileSystemV2_GetMobileVersion",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/{id}": {
      "get": {
        "tags": [
          "Mobile Users V2"
        ],
        "summary": "Get user by Id",
        "operationId": "MobileUsersV2_GetById",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/login/{id}": {
      "get": {
        "tags": [
          "Mobile Users V2"
        ],
        "operationId": "MobileUsersV2_Login",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/logout/{id}": {
      "get": {
        "tags": [
          "Mobile Users V2"
        ],
        "operationId": "MobileUsersV2_Logout",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/register-token": {
      "post": {
        "tags": [
          "Mobile Users V2"
        ],
        "operationId": "MobileUsersV2_RegisterPushNotificationToken",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "pushNotificationToken",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/groups": {
      "get": {
        "tags": [
          "Mobile Users V2"
        ],
        "summary": "Get all user groups",
        "operationId": "MobileUsersV2_GetAllGroups",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/claims/register": {
      "post": {
        "tags": [
          "Mobile Users V2"
        ],
        "operationId": "MobileUsersV2_RegisterClaimsUser",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "user",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.User.MobileV2.Claims.UserClaimsDtoV2"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/users/get-login-configuration": {
      "get": {
        "tags": [
          "Mobile Users V2"
        ],
        "operationId": "MobileUsersV2_GetLoginConfiguration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/vouchers": {
      "get": {
        "tags": [
          "Mobile Vouchers V2"
        ],
        "summary": "Get all vouchers",
        "operationId": "MobileVouchersV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mobile Vouchers V2"
        ],
        "summary": "Authorize vouchehr",
        "operationId": "MobileVouchersV2_SaveAuthorization",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "vouchers",
            "in": "body",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.Voucher.MobileV2.VoucherPostDtoV2"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/vouchers/get-stock-receipt/{voucherId}": {
      "get": {
        "tags": [
          "Mobile Vouchers V2"
        ],
        "operationId": "MobileVouchersV2_GetStockReceipt",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/workorders": {
      "get": {
        "tags": [
          "Mobile Work Order V2"
        ],
        "summary": "Get all work orders",
        "operationId": "MobileWorkOrderV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mobile Work Order V2"
        ],
        "summary": "Save a list of work orders",
        "operationId": "MobileWorkOrderV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "workOrders",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.MobileV2.WorkOrderPostDtoV2"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/workrequests": {
      "get": {
        "tags": [
          "Mobile Work Request V2"
        ],
        "summary": "Get all work requests",
        "operationId": "MobileWorkRequestsV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mobile Work Request V2"
        ],
        "summary": "Save a list of work requests",
        "operationId": "MobileWorkRequestsV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "workRequests",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.WorkRequestPostDtoV2"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/workrequests/claims": {
      "get": {
        "tags": [
          "Mobile Work Request V2"
        ],
        "operationId": "MobileWorkRequestsV2_GetAllClaims",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/authorization": {
      "post": {
        "tags": [
          "MobileAuthorizationV2"
        ],
        "summary": "Send an email requesting authorization to the device",
        "operationId": "MobileAuthorizationV2_SendMailDeviceAuthorization",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "deviceAuthorization",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.DeviceAuthorizationDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/mobile/v2/authorization/authorize/{deviceId}": {
      "post": {
        "tags": [
          "MobileAuthorizationV2"
        ],
        "operationId": "MobileAuthorizationV2_AuthorizeDevice",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/parametros/Get/{id}": {
      "get": {
        "tags": [
          "Parameters V1"
        ],
        "summary": "Get a parameter using an internal system id.",
        "operationId": "ParameterApiV1_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/parametros/Post": {
      "post": {
        "tags": [
          "Parameters V1"
        ],
        "summary": "Insert or update a parameter.",
        "operationId": "ParameterApiV1_Post",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "parameterDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.OldExternalParameterDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/parametros/Alta": {
      "post": {
        "tags": [
          "Parameters V1"
        ],
        "summary": "Undelete a parameter.",
        "operationId": "ParameterApiV1_Undelete",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "parameterDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.OldExternalParameterDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/parametros/Delete": {
      "delete": {
        "tags": [
          "Parameters V1"
        ],
        "summary": "Delete a parameter using a external system id and parameter type.",
        "operationId": "ParameterApiV1_DeleteExternal",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "parameterDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.OldExternalParameterDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "deprecated": true
      }
    },
    "/api/integration/v2/parameters": {
      "get": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Get a list of all parameters.",
        "operationId": "ParameterApiV2_GetAllForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Create a new parameter or update an existing parameter.",
        "operationId": "ParameterApiV2_Post",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "parameterDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parameters/type/{type}": {
      "get": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Get a list of parameters of the type that was filtered.",
        "operationId": "ParameterApiV2_GetAllByTypeForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parameters/{id}": {
      "get": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Get a parameter using an internal id.",
        "operationId": "ParameterApiV2_GetByIdForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Delete a parameter using a internal system id.",
        "operationId": "ParameterApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parameters/{id}/{type}/external": {
      "get": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Get a parameter using an external system id.",
        "operationId": "ParameterApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "type",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Delete a parameter using a external system id and parameter type.",
        "operationId": "ParameterApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "type",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parameters/{id}/{type}/external/undelete": {
      "put": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Undelete a parameter by external system id.",
        "operationId": "ParameterApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "type",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parameters/{id}/undelete": {
      "put": {
        "tags": [
          "Parameters V2"
        ],
        "summary": "Undelete a parameter by internal id.",
        "operationId": "ParameterApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parts": {
      "get": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Get parts.",
        "operationId": "PartApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Create a new part or update an existing part.",
        "operationId": "PartApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "partDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Part.IntegrationPartDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parts/{id}": {
      "get": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Get a part using an internal id.",
        "operationId": "PartApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Undelete a part by internal id.",
        "operationId": "PartApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Delete a part using an internal system id.",
        "operationId": "PartApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parts/{id}/external": {
      "get": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Get a part using an external system id.",
        "operationId": "PartApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Undelete a part by external system id.",
        "operationId": "PartApiV2_UndeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Delete a part using an external system id.",
        "operationId": "PartApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/parts/{key}/key": {
      "get": {
        "tags": [
          "Parts V2"
        ],
        "summary": "Get a part using an external system id.",
        "operationId": "PartApiV2_GetByKey",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/productivityNews": {
      "get": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Get productivity news.",
        "operationId": "ProductivityNewsApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Create a new productivity new or update an existing productivity new.",
        "operationId": "ProductivityNewsApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "productivityNewDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.ProductivityNews.IntegrationProductivityNewDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/productivityNews/{id}": {
      "get": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Get a productivity new using an internal id.",
        "operationId": "ProductivityNewsApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Delete a productivity new using an internal system id.",
        "operationId": "ProductivityNewsApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/productivityNews/{id}/external": {
      "get": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Get a productivity new using an external system id.",
        "operationId": "ProductivityNewsApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Productivity News V2"
        ],
        "summary": "Delete a productivity new using an external system id.",
        "operationId": "ProductivityNewsApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/staffs": {
      "get": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Get a list of all staffs.",
        "operationId": "StaffApiV2_GetAllForIngration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Create a new staffs or update an existing staffs.",
        "operationId": "StaffApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "staffsDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Staff.IntegrationStaffDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/staffs/{id}": {
      "get": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Get a staffs using an internal id.",
        "operationId": "StaffApiV2_GetForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Undelete a staff by internal id.",
        "operationId": "StaffApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Delete a staff using a internal system id.",
        "operationId": "StaffApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/staffs/{key}/key": {
      "get": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Get a staffs using an internal key.",
        "operationId": "StaffApiV2_GetByKeyForIngration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/staffs/{id}/external": {
      "get": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Get a staffs using an external system id.",
        "operationId": "StaffApiV2_GetExternalForIngration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Undelete a staff by external system id.",
        "operationId": "StaffApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Staffs V2"
        ],
        "summary": "Delete a staff using a external system id.",
        "operationId": "StaffApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/suppliers": {
      "get": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Get suppliers.",
        "operationId": "SupplierApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Create a new supplier or update an existing supplier.",
        "operationId": "SupplierApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "supplierDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Supplier.IntegrationSupplierDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/suppliers/{id}": {
      "get": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Get a supplier using an internal id.",
        "operationId": "SupplierApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Undelete a supplier by internal id.",
        "operationId": "SupplierApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Delete a supplier using an internal system id.",
        "operationId": "SupplierApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/suppliers/{id}/external": {
      "get": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Get a supplier using an external system id.",
        "operationId": "SupplierApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Undelete a supplier by external system id.",
        "operationId": "SupplierApiV2_UndeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Delete a supplier using an external system id.",
        "operationId": "SupplierApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/suppliers/{key}/key": {
      "get": {
        "tags": [
          "Suppliers V2"
        ],
        "summary": "Get a supplier using an external system id.",
        "operationId": "SupplierApiV2_GetByKey",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/supplies": {
      "get": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Get all supplies.",
        "operationId": "SuppliesApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Create a new supply or update an existing supply.",
        "operationId": "SuppliesApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "supplyDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Material.IntegrationSupplyDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/supplies/{id}": {
      "get": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Get a supply using an internal id.",
        "operationId": "SuppliesApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Undelete a supply by internal id.",
        "operationId": "SuppliesApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Delete a supply using an internal id.",
        "operationId": "SuppliesApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/supplies/{id}/external": {
      "get": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Get a supply using an external system id.",
        "operationId": "SuppliesApiV2_GetByExternalId",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Undelete a supply by external system id.",
        "operationId": "SuppliesApiV2_UndeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Delete a supply using an external system id.",
        "operationId": "SuppliesApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/supplies/{key}/key": {
      "get": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Get a supply using an external system id.",
        "operationId": "SuppliesApiV2_GetByKey",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/supplies/stocks": {
      "post": {
        "tags": [
          "Supplies V2"
        ],
        "summary": "Update stock supply.",
        "operationId": "SuppliesApiV2_SaveStock",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "stocks",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConsuMan.Services.Dto.Material.IntegrationStockWarehouseDto"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/tasks": {
      "get": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Get tasks.",
        "operationId": "TasksApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Create a new task or update an existing part.",
        "operationId": "TasksApiV2_Save",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "taskDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Task.IntegrationTaskDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/tasks/{id}": {
      "get": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Get a task using an internal id.",
        "operationId": "TasksApiV2_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Undelete a task by internal id.",
        "operationId": "TasksApiV2_Undelete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Delete a task using an internal system id.",
        "operationId": "TasksApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/tasks/{id}/external": {
      "get": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Get a task using an external system id.",
        "operationId": "TasksApiV2_GetExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Undelete a task by external system id.",
        "operationId": "TasksApiV2_UndeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Delete a task using an external system id.",
        "operationId": "TasksApiV2_DeleteExternal",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/tasks/{key}/key": {
      "get": {
        "tags": [
          "Tasks V2"
        ],
        "summary": "Get a task using an external system id.",
        "operationId": "TasksApiV2_GetByKey",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/users": {
      "get": {
        "tags": [
          "Users V2"
        ],
        "summary": "Get users.",
        "operationId": "UsersApiV2_GetAll",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/voucher": {
      "post": {
        "tags": [
          "Voucher V2"
        ],
        "summary": "Create a new voucher.",
        "operationId": "VoucherApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "voucherDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.Voucher.IntegrationVoucherDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/voucher/{id}": {
      "get": {
        "tags": [
          "Voucher V2"
        ],
        "summary": "Get a voucher using internal id.",
        "operationId": "VoucherApiV2_GetByIdForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/voucher/{externalId}/external": {
      "get": {
        "tags": [
          "Voucher V2"
        ],
        "summary": "Get a voucher using a external id.",
        "operationId": "VoucherApiV2_GetByExternalIdForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/voucher/{type}/type": {
      "get": {
        "tags": [
          "Voucher V2"
        ],
        "summary": "Get a voucher list using a type id.",
        "operationId": "VoucherApiV2_GetAllByTypeForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workOrderStaff": {
      "post": {
        "tags": [
          "Work Order Staff V2"
        ],
        "summary": "Create Work Order staff.",
        "operationId": "WorkOrderStaffApiV2_AddWorkOrderStaff",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "workOrderStaff",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationAddWorkOrderStaffDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workOrderStaff/{id}": {
      "delete": {
        "tags": [
          "Work Order Staff V2"
        ],
        "summary": "Delete a Work Order Staff using an internal system id.",
        "operationId": "WorkOrderStaffApiV2_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workOrder/{id}": {
      "get": {
        "tags": [
          "Work Order V2"
        ],
        "summary": "Get a Work Order using internal id.",
        "operationId": "WorkOrderApiV2_GetByIdForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workOrder": {
      "get": {
        "tags": [
          "Work Order V2"
        ],
        "summary": "Get a Work Order list using a date range.",
        "operationId": "WorkOrderApiV2_GetAllByDatesForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Work Order V2"
        ],
        "summary": "Insert a Work Order.",
        "operationId": "WorkOrderApiV2_Post",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "workOrder",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationCalendarGenerateDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workRequest": {
      "get": {
        "tags": [
          "Work Request V2"
        ],
        "summary": "Get a Work requests list using a date range.",
        "operationId": "WorkRequestApiV2_GetAllByDatesForIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "dateFrom",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "",
            "required": true,
            "type": "string",
            "format": "date-time"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Work Request V2"
        ],
        "summary": "Save a Work request.",
        "operationId": "WorkRequestApiV2_SaveForIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "workRequest",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.WorkRequestIntegrationDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workRequest/{id}": {
      "get": {
        "tags": [
          "Work Request V2"
        ],
        "summary": "Get a Work requests using a Id.",
        "operationId": "WorkRequestApiV2_GetByIdIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workRequest/{id}/external": {
      "get": {
        "tags": [
          "Work Request V2"
        ],
        "summary": "Get a Work requests using a externalId.",
        "operationId": "WorkRequestApiV2_GetByExternalIdIntegration",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/integration/v2/workRequest/accordance": {
      "post": {
        "tags": [
          "Work Request V2"
        ],
        "summary": "Agree to the Work request.",
        "operationId": "WorkRequestApiV2_AccordanceIntegration",
        "consumes": [
          "application/json",
          "text/json"
        ],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "according",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.Integration.AccordingIntegrationDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "ConsuMan.Services.Dto.Client.IntegrationClientDto": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Client tpye"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "deleted Date",
          "type": "string"
        },
        "street": {
          "description": "Address Street",
          "type": "string"
        },
        "number": {
          "format": "int32",
          "description": "Address Number",
          "type": "integer"
        },
        "floor": {
          "description": "Address floor",
          "type": "string"
        },
        "appartment": {
          "description": "Address appartment",
          "type": "string"
        },
        "district": {
          "description": "Address district",
          "type": "string"
        },
        "city": {
          "description": "Address city",
          "type": "string"
        },
        "postalCode": {
          "description": "Address postal code",
          "type": "string"
        },
        "province": {
          "description": "Address province",
          "type": "string"
        },
        "country": {
          "description": "Address country",
          "type": "string"
        },
        "telephone": {
          "description": "Telephone",
          "type": "string"
        },
        "fax": {
          "description": "Fax",
          "type": "string"
        },
        "mobile": {
          "description": "Cell phone number",
          "type": "string"
        },
        "mail": {
          "description": "Mail",
          "type": "string"
        },
        "category": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Category"
        },
        "taxCondition": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Iva condition"
        },
        "zone": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Zone"
        },
        "cuit": {
          "description": "Cuit",
          "type": "string"
        },
        "responsible": {
          "description": "Responsible",
          "type": "string"
        },
        "municipalQualificationExpirationDate": {
          "format": "date-time",
          "description": "Enabling expiration date municipal",
          "type": "string"
        },
        "municipalQualificationNumber": {
          "format": "int32",
          "description": "Municipal authorization number",
          "type": "integer"
        },
        "details": {
          "description": "Details",
          "type": "string"
        },
        "longitude": {
          "format": "double",
          "description": "Longitude coordinate",
          "type": "number"
        },
        "latitude": {
          "format": "double",
          "description": "Latitude coordinate",
          "type": "number"
        },
        "id": {
          "format": "int32",
          "description": "Internal system Id.",
          "type": "integer"
        },
        "description": {
          "description": "description.",
          "type": "string"
        },
        "key": {
          "description": "key.",
          "type": "string"
        },
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Parameter.IntegrationParameterDto": {
      "type": "object",
      "properties": {
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        },
        "id": {
          "format": "int32",
          "description": "Internal system Id.",
          "type": "integer"
        },
        "description": {
          "description": "Parameter description.",
          "type": "string"
        },
        "typeId": {
          "description": "Abbreviation of the parameter type.",
          "type": "string"
        },
        "parameter1": {
          "description": "Parameter 1.",
          "type": "string"
        },
        "parameter2": {
          "description": "Parameter 2.",
          "type": "string"
        },
        "parameter3": {
          "description": "Parameter 3.",
          "type": "string"
        },
        "parameter4": {
          "description": "Parameter 4.",
          "type": "string"
        },
        "parameter5": {
          "description": "Parameter 5.",
          "type": "string"
        },
        "isDefault": {
          "description": "Is default system parameter.",
          "type": "boolean"
        },
        "deletedDate": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Equipment.IntegrationEquipmentV1Dto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "descripcion": {
          "type": "string"
        },
        "clave": {
          "type": "string"
        },
        "idTipoClave": {
          "type": "string"
        },
        "idTipo": {
          "type": "string"
        },
        "fechaAlta": {
          "type": "string"
        },
        "idCriticidad": {
          "type": "string"
        },
        "idPlanta": {
          "type": "string"
        },
        "idSector": {
          "type": "string"
        },
        "idUbicacion": {
          "type": "string"
        },
        "idGrupoFuncional": {
          "type": "string"
        },
        "cantidadFrecuencia": {
          "format": "double",
          "type": "number"
        },
        "idTipoFrecuencia": {
          "type": "string"
        },
        "cantidadTiempo": {
          "format": "double",
          "type": "number"
        },
        "idCodigoTiempo": {
          "type": "string"
        },
        "horasXDia": {
          "format": "double",
          "type": "number"
        },
        "expiracionGarantia": {
          "type": "string"
        },
        "idEstado": {
          "type": "string"
        },
        "fechaReposicion": {
          "type": "string"
        },
        "valorReposicion": {
          "format": "double",
          "type": "number"
        },
        "idProveedor": {
          "type": "string"
        },
        "fechaCompra": {
          "type": "string"
        },
        "valorCompra": {
          "format": "double",
          "type": "number"
        },
        "comprobante": {
          "type": "string"
        },
        "idCliente": {
          "type": "string"
        },
        "idCentroCosto": {
          "type": "string"
        },
        "idCuentaContable": {
          "type": "string"
        },
        "idNaturaleza": {
          "type": "string"
        },
        "detalles": {
          "type": "string"
        },
        "registraLectura": {
          "type": "boolean"
        },
        "idLayout": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Equipment.IntegrationEquipmentDto": {
      "type": "object",
      "properties": {
        "keyType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Key Type"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Type"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created Date",
          "type": "string"
        },
        "criticality": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Criticality"
        },
        "field1": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Field 1"
        },
        "field2": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Field 2"
        },
        "field3": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Field 3"
        },
        "field4": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Field 4"
        },
        "frequencyAmount": {
          "format": "double",
          "description": "Frequency Amount",
          "type": "number"
        },
        "frequencyType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Frequency Type"
        },
        "timeAmount": {
          "format": "double",
          "description": "Time Amount",
          "type": "number"
        },
        "timeCode": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Time Code"
        },
        "hourxDay": {
          "format": "double",
          "description": "Hours of availability per day",
          "type": "number"
        },
        "warrantyExpiration": {
          "format": "date-time",
          "description": "Warranty expiration date",
          "type": "string"
        },
        "state": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter State"
        },
        "replacementDate": {
          "format": "date-time",
          "description": "Replacement date",
          "type": "string"
        },
        "replacementValue": {
          "format": "double",
          "description": "Replacement value",
          "type": "number"
        },
        "supplier": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supplier"
        },
        "purchaseDate": {
          "format": "date-time",
          "description": "Purchase date",
          "type": "string"
        },
        "purchaseValue": {
          "format": "double",
          "description": "Purchase value",
          "type": "number"
        },
        "voucher": {
          "description": "Voucher",
          "type": "string"
        },
        "client": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Client"
        },
        "costCenter": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Cost Center"
        },
        "accountingAccount": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Accounting Account"
        },
        "nature": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Nature"
        },
        "details": {
          "description": "Details",
          "type": "string"
        },
        "logReading": {
          "description": "Use readings",
          "type": "boolean"
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto",
          "description": "Layout"
        },
        "expirationValue": {
          "format": "double",
          "description": "Expiration value",
          "type": "number"
        },
        "tag": {
          "description": "Tag",
          "type": "string"
        },
        "responsibles": {
          "description": "Responsibles",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "latitude": {
          "format": "double",
          "description": "Latitude coordinate",
          "type": "number"
        },
        "longitude": {
          "format": "double",
          "description": "Longitude coordinate",
          "type": "number"
        },
        "id": {
          "format": "int32",
          "description": "Internal system Id.",
          "type": "integer"
        },
        "description": {
          "description": "description.",
          "type": "string"
        },
        "key": {
          "description": "key.",
          "type": "string"
        },
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Entity.IntegrationEntityDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal system Id.",
          "type": "integer"
        },
        "description": {
          "description": "description.",
          "type": "string"
        },
        "key": {
          "description": "key.",
          "type": "string"
        },
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Layout.IntegrationLayoutDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "description": "id Guid - insert (00000000-0000-0000-0000-000000000000)",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "externalId": {
          "description": "external Id",
          "type": "string"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "parent": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationParentDto",
          "description": "Parent"
        },
        "level": {
          "format": "int32",
          "description": "Lavel",
          "type": "integer"
        },
        "sequence": {
          "format": "int32",
          "description": "Secuencia - Orden",
          "type": "integer"
        },
        "path": {
          "description": "Path",
          "type": "string"
        },
        "automaticClosingWO": {
          "description": "Automatic closing of work order",
          "type": "boolean"
        }
      }
    },
    "ConsuMan.Services.Dto.Layout.IntegrationParentDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "description": "Id Parent - Lavel = 1 (9D6F1F7E-5733-4593-B53B-A0A85F5DC670)",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "externalId": {
          "description": "external Id",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Event.IntegrationCreateEventReportDto": {
      "type": "object",
      "properties": {
        "eventProgram": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
        },
        "equipments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "ignoreEquipments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "allEquipments": {
          "type": "boolean"
        },
        "externalId": {
          "type": "string"
        },
        "observacion": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.FluidLoad.IntegrationFluidLoadDto": {
      "type": "object",
      "properties": {
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Equipment"
        },
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supply"
        },
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Warehouse"
        },
        "driver": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Driver"
        },
        "cost": {
          "format": "double",
          "description": "Cost",
          "type": "number"
        },
        "loadDate": {
          "format": "date-time",
          "description": "Load date",
          "type": "string"
        },
        "minutes": {
          "format": "int32",
          "description": "Minutes",
          "type": "integer"
        },
        "hours": {
          "format": "int32",
          "description": "Hours",
          "type": "integer"
        },
        "odometerChange": {
          "description": "Odometer change",
          "type": "boolean"
        },
        "reading": {
          "format": "double",
          "description": "Reading",
          "type": "number"
        },
        "amount": {
          "format": "double",
          "description": "Amount",
          "type": "number"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Measurement.IntegrationMeasurementDto": {
      "description": "Model for integrating measurements",
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Id",
          "type": "integer"
        },
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentDto",
          "description": "Equipment"
        },
        "part": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Part.IntegrationPartDto",
          "description": "Part"
        },
        "task": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Task.IntegrationTaskDto",
          "description": "Task"
        },
        "value": {
          "format": "double",
          "description": "Measurement value",
          "type": "number"
        },
        "date": {
          "format": "date-time",
          "description": "Measurement date",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Part.IntegrationPartDto": {
      "description": "Model for integrating parts",
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal id",
          "type": "integer"
        },
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Part type parameter"
        },
        "key": {
          "description": "Unique key",
          "type": "string"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        },
        "isTraceable": {
          "description": "Is traceable flag",
          "type": "boolean"
        },
        "costCenter": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Cost center parameter"
        },
        "traceableSupplies": {
          "description": "Traceable supplies list",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Material.IntegrationSupplyDto"
          }
        },
        "details": {
          "description": "Details",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Task.IntegrationTaskDto": {
      "description": "Model for integrating tasks",
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal id",
          "type": "integer"
        },
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "key": {
          "description": "Unique key",
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Equipment type parameter"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "timeCode": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Time code parameter"
        },
        "time": {
          "format": "double",
          "description": "Standard time",
          "type": "number"
        },
        "specialty": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Specialty parameter"
        },
        "criticality": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Criticality parameter"
        },
        "marketCost": {
          "format": "double",
          "description": "Market cost",
          "type": "number"
        },
        "valuePerHour": {
          "description": "Value per hour flag",
          "type": "boolean"
        },
        "measurementUnit": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Measurement unit parameter"
        },
        "isPrevious": {
          "description": "Is previous flag",
          "type": "boolean"
        },
        "upperBound": {
          "format": "double",
          "description": "Upper bound",
          "type": "number"
        },
        "medium": {
          "format": "double",
          "description": "Medium bound",
          "type": "number"
        },
        "lowerBound": {
          "format": "double",
          "description": "Lower bound",
          "type": "number"
        },
        "detail": {
          "description": "Detail",
          "type": "string"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        },
        "subTasks": {
          "description": "Subtasks list",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Task.IntegrationTaskDto"
          }
        },
        "answers": {
          "description": "Answers list",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.Material.IntegrationSupplyDto": {
      "description": "Model for integrating supplies",
      "type": "object",
      "properties": {
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "id": {
          "format": "int32",
          "description": "Internal id",
          "type": "integer"
        },
        "key": {
          "description": "Unique key",
          "type": "string"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "kind": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Kind"
        },
        "subKind": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Subkind"
        },
        "date": {
          "format": "date-time",
          "description": "Creation date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        },
        "measureUnit": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Measure unit parameter"
        },
        "purchaseUnit": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Purchase unit parameter"
        },
        "conversionFactor": {
          "format": "double",
          "description": "Conversion factor",
          "type": "number"
        },
        "minimumStock": {
          "format": "double",
          "description": "Minimum stock",
          "type": "number"
        },
        "maximumStock": {
          "format": "double",
          "description": "Maximum stock",
          "type": "number"
        },
        "orderPoint": {
          "format": "double",
          "description": "Order point",
          "type": "number"
        },
        "managementTime": {
          "format": "double",
          "description": "Management time",
          "type": "number"
        },
        "managementTimeUnit": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Management time unit parameter"
        },
        "purchaseAmount": {
          "format": "double",
          "description": "Purchase amount",
          "type": "number"
        },
        "partCode": {
          "description": "Part code",
          "type": "string"
        },
        "flatCode": {
          "description": "Flat code",
          "type": "string"
        },
        "expirationDate": {
          "format": "date-time",
          "description": "Expiration date",
          "type": "string"
        },
        "defaultWarehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Default warehouse parameter"
        },
        "isTraceable": {
          "description": "Is traceable",
          "type": "boolean"
        },
        "isFluid": {
          "description": "Is fluid",
          "type": "boolean"
        },
        "controlsStock": {
          "description": "Controls stock",
          "type": "boolean"
        },
        "criticalReplacement": {
          "description": "Critical replacement",
          "type": "boolean"
        },
        "currentStock": {
          "format": "double",
          "description": "Current stock",
          "type": "number"
        },
        "currentCost": {
          "format": "double",
          "description": "Current cost",
          "type": "number"
        },
        "detail": {
          "description": "Detail",
          "type": "string"
        },
        "suppliers": {
          "description": "List of supplies",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "equivalent": {
          "description": "List of equivalent",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "toolsKit": {
          "description": "List of toolkit",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Material.IntegrationToolKitDto"
          }
        },
        "isTool": {
          "description": "Is tool",
          "type": "boolean"
        }
      }
    },
    "ConsuMan.Services.Dto.Material.IntegrationToolKitDto": {
      "type": "object",
      "properties": {
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supply"
        },
        "quantity": {
          "format": "int32",
          "description": "Quantity",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.CheckList.MobileV2.ChecklistPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "templateId": {
          "format": "int32",
          "type": "integer"
        },
        "year": {
          "format": "int32",
          "type": "integer"
        },
        "month": {
          "format": "int32",
          "type": "integer"
        },
        "layout": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.CheckList.MobileV2.ChecklistDetailPostDtoV2"
          }
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.CheckList.MobileV2.ChecklistDetailPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "asset": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "part": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "task": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "day": {
          "format": "int32",
          "type": "integer"
        },
        "order": {
          "format": "int32",
          "type": "integer"
        },
        "measurementValue": {
          "format": "double",
          "type": "number"
        },
        "realized": {
          "type": "boolean"
        },
        "answers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
          }
        },
        "details": {
          "type": "string"
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.DiagnosticDto": {
      "type": "object",
      "properties": {
        "file": {
          "format": "byte",
          "type": "string"
        },
        "deviceId": {
          "type": "string"
        },
        "userId": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.Equipment.Mobile.V2.FilterAssetLifeSheetDtoV2": {
      "type": "object",
      "properties": {
        "dateFrom": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "dateTo": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "assetId": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.Date.DateDto": {
      "type": "object",
      "properties": {
        "day": {
          "format": "int32",
          "type": "integer"
        },
        "dayOfMonth": {
          "format": "int32",
          "type": "integer"
        },
        "month": {
          "format": "int32",
          "type": "integer"
        },
        "year": {
          "format": "int32",
          "type": "integer"
        },
        "hour": {
          "format": "int32",
          "type": "integer"
        },
        "hourOfDay": {
          "format": "int32",
          "type": "integer"
        },
        "minute": {
          "format": "int32",
          "type": "integer"
        },
        "second": {
          "format": "int32",
          "type": "integer"
        },
        "date": {
          "type": "string",
          "readOnly": true
        },
        "dateTime": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ConsuMan.Services.Dto.Staff.MobileV2.LocationPostDtoV2": {
      "type": "object",
      "properties": {
        "staffId": {
          "format": "int32",
          "type": "integer"
        },
        "latitude": {
          "format": "double",
          "type": "number"
        },
        "longitude": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ConsuMan.Services.Dto.ProductivityNews.MobileV2.ProductivityNewPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "number": {
          "format": "int32",
          "type": "integer"
        },
        "stopReason": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "failure": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "timeCode": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "createdDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "inactivityTime": {
          "format": "double",
          "type": "number"
        },
        "movement": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "petitioner": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
          }
        },
        "observations": {
          "type": "string"
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.User.MobileV2.Claims.UserClaimsDtoV2": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        },
        "names": {
          "type": "string"
        },
        "lastname": {
          "type": "string"
        },
        "document": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Voucher.MobileV2.VoucherPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "authorize": {
          "type": "boolean"
        },
        "details": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.MobileV2.WorkOrderPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "startDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "endDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "details": {
          "type": "string"
        },
        "tasks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskPostDtoV2"
          }
        },
        "complementaryTasks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.MobileV2.WorkOrderComplementaryTaskPostDtoV2"
          }
        },
        "according": {
          "type": "boolean"
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "guid": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "expectedDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "plannedDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "realizationDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "taskTypeId": {
          "format": "int32",
          "type": "integer"
        },
        "insumedTime": {
          "format": "double",
          "type": "number"
        },
        "expectedTime": {
          "format": "double",
          "type": "number"
        },
        "failure": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "answers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
          }
        },
        "area": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "shift": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "project": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "laborCost": {
          "format": "double",
          "type": "number"
        },
        "supplyCost": {
          "format": "double",
          "type": "number"
        },
        "pending": {
          "format": "int32",
          "type": "integer"
        },
        "canceled": {
          "type": "boolean"
        },
        "measurementValue": {
          "format": "double",
          "type": "number"
        },
        "details": {
          "type": "string"
        },
        "assetStop": {
          "type": "boolean"
        },
        "activityToDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.ActivityToDate.Mobile.ActivityToDatePostDto"
        },
        "workRequest": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "asset": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.Mobile.V2.AssetPostDtoV2"
        },
        "part": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "task": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "traceable": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "specialties": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskSpecialtyPostDtoV2"
          }
        },
        "staffs": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskStaffPostDtoV2"
          }
        },
        "supplies": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskSupplyPostDtoV2"
          }
        },
        "timeHistory": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskTimeHistoryPostDtoV2"
          }
        },
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Attachment.Mobile.AttachmentPostDto"
          }
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.MobileV2.WorkOrderComplementaryTaskPostDtoV2": {
      "type": "object",
      "properties": {
        "Id": {
          "format": "int32",
          "type": "integer"
        },
        "Realized": {
          "type": "boolean"
        },
        "Initial": {
          "type": "boolean"
        },
        "Task": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "SignatureRequired": {
          "type": "boolean"
        },
        "Staff": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "Attachment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Attachment.Mobile.AttachmentPostDto"
        }
      }
    },
    "ConsuMan.Services.Dto.ActivityToDate.Mobile.ActivityToDatePostDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "number": {
          "format": "int32",
          "type": "integer"
        },
        "details": {
          "type": "string"
        },
        "urgencyLevel": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        }
      }
    },
    "ConsuMan.Services.Dto.Equipment.Mobile.V2.AssetPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "layout": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskSpecialtyPostDtoV2": {
      "type": "object",
      "properties": {
        "specialty": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "amount": {
          "format": "int32",
          "type": "integer"
        },
        "expectedTime": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskStaffPostDtoV2": {
      "type": "object",
      "properties": {
        "staff": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "insumedTime": {
          "format": "double",
          "type": "number"
        },
        "hourCost": {
          "format": "double",
          "type": "number"
        },
        "assignedDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "executionDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "isModified": {
          "type": "boolean"
        },
        "isDeleted": {
          "type": "boolean"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskSupplyPostDtoV2": {
      "type": "object",
      "properties": {
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Supply.Mobile.SupplyPostDto"
        },
        "consumed": {
          "format": "double",
          "type": "number"
        },
        "cost": {
          "format": "double",
          "type": "number"
        },
        "necessary": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.MobileV2.WorkOrderTaskTimeHistoryPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "staff": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "insumedTime": {
          "format": "double",
          "type": "number"
        },
        "date": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "reason": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Attachment.Mobile.AttachmentPostDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "guid": {
          "type": "string"
        },
        "entityId": {
          "format": "int32",
          "type": "integer"
        },
        "entityTypeId": {
          "format": "int32",
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "fileName": {
          "type": "string"
        },
        "fileType": {
          "type": "string"
        },
        "fileSize": {
          "format": "int64",
          "type": "integer"
        },
        "data": {
          "type": "string"
        },
        "entity": {
          "type": "string"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.Supply.Mobile.SupplyPostDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "isTool": {
          "type": "boolean"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.WorkRequestPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "generatedDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "requiredDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "createdDate": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Date.DateDto"
        },
        "observations": {
          "type": "string"
        },
        "authorize": {
          "type": "boolean"
        },
        "GUID": {
          "type": "string"
        },
        "asset": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.Mobile.V2.AssetPostDtoV2"
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.MobileV2.LayoutPostDtoV2"
        },
        "urgencyLevel": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "project": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "petitioner": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "attendant": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "reading": {
          "format": "double",
          "type": "number"
        },
        "category": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Category.MobileV2.CategoryPostDtoV2"
        },
        "customFields": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.CustomField.MobileV2.CustomFieldPostDtoV2"
          }
        },
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Attachment.Mobile.AttachmentPostDto"
          }
        },
        "generateWorkOrder": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.GenerateWorkOrderDtoV2"
        },
        "accordance": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestAccordancePostDtoV2"
        },
        "alarms": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestAlarmPostDtoV2"
          }
        },
        "vouchers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestVoucherPostDtoV2"
          }
        },
        "syncState": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.Layout.MobileV2.LayoutPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        }
      }
    },
    "ConsuMan.Services.Dto.Category.MobileV2.CategoryPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        }
      }
    },
    "ConsuMan.Services.Dto.CustomField.MobileV2.CustomFieldPostDtoV2": {
      "type": "object",
      "properties": {
        "field": {
          "format": "int32",
          "type": "integer"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.GenerateWorkOrderDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "groupId": {
          "format": "int32",
          "type": "integer"
        },
        "tasksGroupId": {
          "format": "int32",
          "type": "integer"
        },
        "internal": {
          "type": "boolean"
        },
        "supplierId": {
          "format": "int32",
          "type": "integer"
        },
        "workRequestsIds": {
          "type": "array",
          "items": {
            "format": "int32",
            "type": "integer"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestAccordancePostDtoV2": {
      "type": "object",
      "properties": {
        "rating": {
          "format": "double",
          "type": "number"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.MobileV2.EntityPostDto"
        },
        "details": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestAlarmPostDtoV2": {
      "type": "object",
      "properties": {
        "user": {
          "type": "string"
        },
        "number": {
          "format": "int32",
          "type": "integer"
        },
        "phone": {
          "type": "string"
        },
        "characteristic": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.MobileV2.WorkRequestVoucherPostDtoV2": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "authorize": {
          "type": "boolean"
        },
        "details": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.DeviceAuthorizationDto": {
      "type": "object",
      "properties": {
        "username": {
          "description": "username",
          "type": "string"
        },
        "password": {
          "description": "Password",
          "type": "string"
        },
        "deviceId": {
          "description": "Device Id",
          "type": "string"
        },
        "model": {
          "description": "Device Model",
          "type": "string"
        },
        "manufacturer": {
          "description": "Device Manufacturer",
          "type": "string"
        },
        "name": {
          "description": "Device Name",
          "type": "string"
        },
        "version": {
          "description": "Device Version",
          "type": "string"
        },
        "type": {
          "description": "Device Type",
          "type": "string"
        },
        "platform": {
          "description": "Device Platform",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Parameter.OldExternalParameterDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "descripcion": {
          "type": "string"
        },
        "tipoParametro": {
          "type": "string"
        },
        "parametro1": {
          "type": "string"
        },
        "parametro2": {
          "type": "string"
        },
        "parametro3": {
          "type": "string"
        },
        "parametro4": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.ProductivityNews.IntegrationProductivityNewDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal id",
          "type": "integer"
        },
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "informBy": {
          "format": "int32",
          "description": "Inform by time(0) or date(1)",
          "type": "integer"
        },
        "dateFrom": {
          "format": "date-time",
          "description": "Date from",
          "type": "string"
        },
        "dateTo": {
          "format": "date-time",
          "description": "Date to",
          "type": "string"
        },
        "time": {
          "format": "double",
          "description": "Time",
          "type": "number"
        },
        "timeUnit": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Time unit"
        },
        "informant": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Informant personal"
        },
        "stopReason": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Stop reason parameter"
        },
        "failure": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Failure parameter"
        },
        "movementType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Movement type parameter"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        },
        "equipments": {
          "description": "Equipments",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "equipmentsState": {
          "description": "Equipments state",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentStateDto"
          }
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Equipment.IntegrationEquipmentStateDto": {
      "type": "object",
      "properties": {
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Equipment"
        },
        "initialState": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Initial state parameter"
        },
        "initialObservations": {
          "description": "Initial state observations",
          "type": "string"
        },
        "finalState": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Final state parameter"
        },
        "finalObservations": {
          "description": "Final state observations",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Staff.IntegrationStaffDto": {
      "type": "object",
      "properties": {
        "names": {
          "description": "Names",
          "type": "string"
        },
        "typeId": {
          "format": "int32",
          "description": "staff type\r\n0: Internal company internal staff,\r\n1: Staff of a supplier,\r\n2: Client staff",
          "type": "integer"
        },
        "lastName": {
          "description": "Last name",
          "type": "string"
        },
        "supplier": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Is supplier"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        },
        "mail": {
          "description": "Mail",
          "type": "string"
        },
        "telephone": {
          "description": "Telephone",
          "type": "string"
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto",
          "description": "Staff layout"
        },
        "address": {
          "description": "Address",
          "type": "string"
        },
        "telephoneMobile": {
          "description": "Telephone mobile",
          "type": "string"
        },
        "fax": {
          "description": "Fax",
          "type": "string"
        },
        "wage": {
          "format": "double",
          "description": "Wage",
          "type": "number"
        },
        "currencyId": {
          "format": "int32",
          "description": "Currency Id (null = default)",
          "type": "integer"
        },
        "currencyValuation": {
          "format": "double",
          "description": "Currency valuation",
          "type": "number"
        },
        "hoursPerDay": {
          "format": "double",
          "description": "Hours for day",
          "type": "number"
        },
        "details": {
          "description": "Details",
          "type": "string"
        },
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Warehouse"
        },
        "birthDate": {
          "format": "date-time",
          "description": "Birth date",
          "type": "string"
        },
        "accountingAccounts": {
          "description": "Accounting Accounts",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto"
          }
        },
        "specialty": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Specialty"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "isManager": {
          "description": "Is manager",
          "type": "boolean"
        },
        "isAttendant": {
          "description": "Is attendant",
          "type": "boolean"
        },
        "client": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Is client"
        },
        "position": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Position, parameter key: CP"
        },
        "wageType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Wage type"
        },
        "shift": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Turn"
        },
        "longitude": {
          "format": "double",
          "description": "Coordinates longitude",
          "type": "number"
        },
        "latitude": {
          "format": "double",
          "description": "Coordinates latitude",
          "type": "number"
        },
        "authorizationAmount": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Authorization amount"
        },
        "driversLicense": {
          "description": "Drivers license",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Staff.IntegrationDriversLicenseDto"
          }
        },
        "id": {
          "format": "int32",
          "description": "Internal system Id.",
          "type": "integer"
        },
        "description": {
          "description": "description.",
          "type": "string"
        },
        "key": {
          "description": "key.",
          "type": "string"
        },
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Staff.IntegrationDriversLicenseDto": {
      "type": "object",
      "properties": {
        "expirationDate": {
          "format": "date-time",
          "description": "Exipiration date",
          "type": "string"
        },
        "category": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Category"
        }
      }
    },
    "ConsuMan.Services.Dto.Supplier.IntegrationSupplierDto": {
      "description": "Model for integrating suppliers",
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal id",
          "type": "integer"
        },
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "key": {
          "description": "Unique key",
          "type": "string"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Provider type parameter"
        },
        "zone": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Zone parameter"
        },
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Warehouse parameer"
        },
        "taxCondition": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Tax condition parameter"
        },
        "category": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Category parameter"
        },
        "cuit": {
          "description": "CUIT",
          "type": "string"
        },
        "streetName": {
          "description": "Street name",
          "type": "string"
        },
        "streetNumber": {
          "description": "Street number",
          "type": "string"
        },
        "floor": {
          "description": "Floor",
          "type": "string"
        },
        "apartment": {
          "description": "Apartment",
          "type": "string"
        },
        "neighborhood": {
          "description": "Neighborhood",
          "type": "string"
        },
        "city": {
          "description": "City",
          "type": "string"
        },
        "province": {
          "description": "Province",
          "type": "string"
        },
        "country": {
          "description": "Country",
          "type": "string"
        },
        "postalCode": {
          "description": "Postal code",
          "type": "string"
        },
        "fax": {
          "description": "Fax",
          "type": "string"
        },
        "telephoneNumber": {
          "description": "Telephone number",
          "type": "string"
        },
        "mobileNumber": {
          "description": "Mobile number",
          "type": "string"
        },
        "responsible": {
          "description": "Responsible",
          "type": "string"
        },
        "mail": {
          "description": "Mail Address",
          "type": "string"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Creation date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto",
          "description": "Layout"
        },
        "details": {
          "description": "Details",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Material.IntegrationStockWarehouseDto": {
      "type": "object",
      "properties": {
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Warehouse"
        },
        "currentStock": {
          "format": "int32",
          "description": "Current stock.",
          "type": "integer"
        },
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "supply."
        }
      }
    },
    "ConsuMan.Services.Dto.Voucher.IntegrationVoucherDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "internal id",
          "type": "integer"
        },
        "voucherType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Voucher type"
        },
        "externalId": {
          "description": "external id system",
          "type": "string"
        },
        "number": {
          "format": "int32",
          "description": "Number",
          "type": "integer"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "costCenter": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Cost Center"
        },
        "accountingAccount": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Accounting Account"
        },
        "characterization": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Characterization"
        },
        "responsible": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Responsible"
        },
        "client": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Client"
        },
        "suppliers": {
          "description": "Suppliers",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        },
        "associatedVoucher": {
          "description": "Associated voucher",
          "type": "string"
        },
        "requiredDate": {
          "format": "date-time",
          "description": "Required date",
          "type": "string"
        },
        "revisionDate": {
          "format": "date-time",
          "description": "Revision date",
          "type": "string"
        },
        "closingContestDate": {
          "format": "date-time",
          "description": "closing contest date",
          "type": "string"
        },
        "additionalCost": {
          "format": "double",
          "description": "Additional cost",
          "type": "number"
        },
        "paymentMethod": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Payment Method"
        },
        "placeOfDelivery": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Place of delivery"
        },
        "deliveryTerms": {
          "description": "Delivery terms",
          "type": "string"
        },
        "budgetPeriod": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationBudgetPeriodDto",
          "description": "Budget Period"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        },
        "detail": {
          "description": "Details",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Voucher.IntegrationVoucherDetailDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.Entity.IntegrationBudgetPeriodDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal Id",
          "type": "integer"
        },
        "externalId": {
          "description": "External id",
          "type": "string"
        },
        "description": {
          "description": "Description",
          "type": "string"
        },
        "dateFrom": {
          "format": "date-time",
          "description": "Date from",
          "type": "string"
        },
        "dateTo": {
          "format": "date-time",
          "description": "Date to",
          "type": "string"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Voucher.IntegrationVoucherDetailDto": {
      "type": "object",
      "properties": {
        "item": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supply"
        },
        "originWarehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Origin Warehouse"
        },
        "destinationWarehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Destination Warehouse"
        },
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Equipment"
        },
        "amount": {
          "format": "double",
          "description": "Amount",
          "type": "number"
        },
        "cost": {
          "format": "double",
          "description": "Cost",
          "type": "number"
        },
        "serials": {
          "description": "Serials",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Material.SerialDto"
          }
        },
        "returnDate": {
          "format": "date-time",
          "description": "Return date",
          "type": "string"
        },
        "driver": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Driver"
        },
        "admissionDate": {
          "format": "date-time",
          "description": "Admission date",
          "type": "string"
        },
        "supplier": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supplier"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Material.SerialDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "type": "integer"
        },
        "value": {
          "type": "string"
        },
        "traceableId": {
          "format": "int32",
          "type": "integer"
        },
        "initialReading": {
          "format": "double",
          "type": "number"
        },
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Equipment.IntegrationEquipmentDto"
        },
        "part": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Part.IntegrationPartDto"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationAddWorkOrderStaffDto": {
      "type": "object",
      "properties": {
        "workOrderTaskId": {
          "format": "int32",
          "description": "Work order task internal Id",
          "type": "integer"
        },
        "workOrderTaskExternalId": {
          "description": "Work order task external Id",
          "type": "string"
        },
        "assignedDate": {
          "format": "date-time",
          "description": "Assigned Date",
          "type": "string"
        },
        "executionDate": {
          "format": "date-time",
          "description": "Execution Date",
          "type": "string"
        },
        "insumedTime": {
          "format": "double",
          "description": "Insumed Time",
          "type": "number"
        },
        "staff": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Staff"
        },
        "scheduledTime": {
          "format": "double",
          "description": "Scheduled Time",
          "type": "number"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationCalendarGenerateDto": {
      "type": "object",
      "properties": {
        "groupId": {
          "format": "int32",
          "description": "Group",
          "type": "integer"
        },
        "supplier": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supplier"
        },
        "intern": {
          "description": "Is Internal",
          "type": "boolean"
        },
        "groupTaskId": {
          "format": "int32",
          "description": "Group task Id",
          "type": "integer"
        },
        "groupBy": {
          "description": "Group by",
          "type": "string"
        },
        "workRequests": {
          "description": "External Id",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.WorkRequestIntegrationDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "System Id.",
          "type": "integer"
        },
        "externalId": {
          "description": "External system Id.",
          "type": "string"
        },
        "number": {
          "format": "int32",
          "description": "Number.",
          "type": "integer"
        },
        "petitioner": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Petitioner."
        },
        "requiredDate": {
          "format": "date-time",
          "description": "Required date.",
          "type": "string"
        },
        "levelOfUrgency": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Level of urgency."
        },
        "observations": {
          "description": "Observations.",
          "type": "string"
        },
        "idWRAssociate": {
          "format": "int32",
          "description": "Associate Work request id.",
          "type": "integer"
        },
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Equipment."
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto",
          "description": "Layout."
        },
        "proyect": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Proyect."
        },
        "manager": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Manager."
        },
        "according": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.AccordingDto.AccordingIntegrationDto",
          "description": "According."
        },
        "authorization": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Authorize.IntegrationAuthorizationDto",
          "description": "Authorization."
        },
        "annulmentReason": {
          "description": "Annulment reason.",
          "type": "string"
        },
        "shift": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Shift."
        },
        "amount": {
          "format": "double",
          "description": "Amount.",
          "type": "number"
        },
        "createdDate": {
          "format": "date-time",
          "description": "Created date.",
          "type": "string"
        },
        "deletedDate": {
          "format": "date-time",
          "description": "Deleted date.",
          "type": "string"
        },
        "hasAttachments": {
          "description": "Has attachmnets.",
          "type": "boolean"
        },
        "workOrder": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationWorkOrderDto",
          "description": "Number."
        },
        "latitude": {
          "format": "double",
          "description": "Latitude coordinate.",
          "type": "number"
        },
        "longitude": {
          "format": "double",
          "description": "Longitude coordinate.",
          "type": "number"
        },
        "odometerValue": {
          "format": "double",
          "description": "Odometer value.",
          "type": "number"
        },
        "dynamicFields": {
          "description": "Dynamic fields.",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkRequest.Integration.IntegrationDynamicFieldDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.AccordingDto.AccordingIntegrationDto": {
      "type": "object",
      "properties": {
        "according": {
          "type": "boolean"
        },
        "rating": {
          "format": "double",
          "type": "number"
        },
        "observations": {
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.Authorize.IntegrationAuthorizationDto": {
      "type": "object",
      "properties": {
        "authorize": {
          "type": "boolean"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "Observations": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "nextAuthorizing": {
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationWorkOrderDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal Id",
          "type": "integer"
        },
        "externalId": {
          "description": "External Id",
          "type": "string"
        },
        "number": {
          "description": "Number",
          "type": "string"
        },
        "date": {
          "format": "date-time",
          "description": "Generated Date",
          "type": "string"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        },
        "layout": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Layout.IntegrationLayoutDto",
          "description": "Layout"
        },
        "state": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "State"
        },
        "intern": {
          "description": "Is Internal",
          "type": "boolean"
        },
        "supplier": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supplier"
        },
        "status": {
          "format": "int32",
          "description": "Status\r\n0 = Closed\r\n1 = Finished\r\n2 = In Progress\r\n3 = Not Started\r\n4 = Not Started overdue\r\n5 = Canceled",
          "enum": [
            0,
            1,
            2,
            3,
            4,
            5
          ],
          "type": "integer"
        },
        "startDate": {
          "format": "date-time",
          "description": "Start date",
          "type": "string"
        },
        "workStartDate": {
          "format": "date-time",
          "description": "Work start date",
          "type": "string"
        },
        "closedDate": {
          "format": "date-time",
          "description": "Closed date",
          "type": "string"
        },
        "endDate": {
          "format": "date-time",
          "description": "End date",
          "type": "string"
        },
        "userClose": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "User close"
        },
        "group": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Group"
        },
        "fieldWO1": {
          "description": "Field 1",
          "type": "string"
        },
        "fieldWO2": {
          "description": "Field 2",
          "type": "string"
        },
        "fieldWO3": {
          "description": "Field 3",
          "type": "string"
        },
        "fieldWO4": {
          "description": "Field 4",
          "type": "string"
        },
        "fieldWO5": {
          "description": "Field 5",
          "type": "boolean"
        },
        "fieldWO6": {
          "description": "Field 6",
          "type": "string"
        },
        "levelOfUrgency": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Level of urgency"
        },
        "user": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "User"
        },
        "imputCost": {
          "format": "double",
          "description": "Imput cost",
          "type": "number"
        },
        "laborCost": {
          "format": "double",
          "description": "Labot cost",
          "type": "number"
        },
        "accordingStatus": {
          "format": "int32",
          "description": "According Status\r\n0 = Undefined\r\n1 = Pending\r\n2 = According\r\n3 = Not According",
          "enum": [
            0,
            1,
            2,
            3
          ],
          "type": "integer"
        },
        "details": {
          "description": "Work Order Tasks",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrderTask.IntegrationWorkOrderTaskDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.Integration.IntegrationDynamicFieldDto": {
      "description": "Work request dynamic field dto",
      "type": "object",
      "properties": {
        "fieldNumber": {
          "format": "int32",
          "description": "Field number.",
          "type": "integer"
        },
        "description": {
          "description": "Description.",
          "type": "string"
        },
        "value": {
          "description": "Value.",
          "type": "string"
        },
        "type": {
          "description": "Type.",
          "type": "string"
        },
        "options": {
          "description": "Options.",
          "type": "string"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrderTask.IntegrationWorkOrderTaskDto": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int32",
          "description": "Internal Id",
          "type": "integer"
        },
        "expectedDate": {
          "format": "date-time",
          "description": "Expected date",
          "type": "string"
        },
        "plannedDate": {
          "format": "date-time",
          "description": "Planned date",
          "type": "string"
        },
        "realizationDate": {
          "format": "date-time",
          "description": "Realization date",
          "type": "string"
        },
        "taskType": {
          "format": "int32",
          "description": "Maitenance Type\r\n0 = DemandProgram\r\n1 = WorkRequest\r\n2 = EventProgram\r\n3 = Program\r\n4 = TPM",
          "enum": [
            0,
            1,
            2,
            3,
            4,
            5
          ],
          "type": "integer"
        },
        "programId": {
          "format": "int32",
          "description": "Associated maintenance id",
          "type": "integer"
        },
        "program": {
          "description": "Associated maintenance description/number",
          "type": "string"
        },
        "programTypeId": {
          "format": "int32",
          "description": "Associated program type id",
          "type": "integer"
        },
        "expectedTime": {
          "format": "double",
          "description": "Expected time",
          "type": "number"
        },
        "consumedTime": {
          "format": "double",
          "description": "Consumed time",
          "type": "number"
        },
        "failure": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Failure"
        },
        "answers": {
          "description": "Answers",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto"
          }
        },
        "area": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Area"
        },
        "shift": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Turn"
        },
        "project": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Project"
        },
        "laborCost": {
          "format": "double",
          "description": "Labor cost",
          "type": "number"
        },
        "supplyCost": {
          "format": "double",
          "description": "Supply cost",
          "type": "number"
        },
        "state": {
          "format": "int32",
          "description": "State\r\n0 = Canceled\r\n1 = Active\r\n2 = Pending",
          "enum": [
            0,
            1,
            2
          ],
          "type": "integer"
        },
        "measurementValue": {
          "format": "double",
          "description": "Measurement value",
          "type": "number"
        },
        "observations": {
          "description": "Observations",
          "type": "string"
        },
        "equipment": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Equipment"
        },
        "part": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Part"
        },
        "task": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Task"
        },
        "order": {
          "format": "int64",
          "description": "Order",
          "type": "integer"
        },
        "motherTaskId": {
          "format": "int32",
          "description": "Id primary task",
          "type": "integer"
        },
        "isPreviusTask": {
          "description": "Previous task",
          "type": "boolean"
        },
        "traceable": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Material.IntegrationTraceableDto",
          "description": "Traceable"
        },
        "supplies": {
          "description": "Supplies",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoSupplyDto"
          }
        },
        "tools": {
          "description": "Tools",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoToolDto"
          }
        },
        "specialties": {
          "description": "Specialties",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoSpecialtyDto"
          }
        },
        "staffs": {
          "description": "Staffs",
          "type": "array",
          "items": {
            "$ref": "#/definitions/ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoStaffDto"
          }
        }
      }
    },
    "ConsuMan.Services.Dto.Material.IntegrationTraceableDto": {
      "type": "object",
      "properties": {
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Warehouse"
        },
        "serial": {
          "description": "Serial",
          "type": "string"
        },
        "id": {
          "format": "int32",
          "description": "internal Id",
          "type": "integer"
        },
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supply"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoSupplyDto": {
      "type": "object",
      "properties": {
        "necesary": {
          "format": "double",
          "description": "Necessary",
          "type": "number"
        },
        "consumed": {
          "format": "double",
          "description": "Consumed",
          "type": "number"
        },
        "cost": {
          "format": "double",
          "description": "Cost",
          "type": "number"
        },
        "supply": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Supply"
        },
        "warehouse": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Warehouse"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoToolDto": {
      "type": "object",
      "properties": {
        "tool": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Tool"
        },
        "amount": {
          "format": "int32",
          "description": "Amount",
          "type": "integer"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoSpecialtyDto": {
      "type": "object",
      "properties": {
        "expectedTime": {
          "format": "double",
          "description": "Expected Time",
          "type": "number"
        },
        "quantityOfEmployees": {
          "format": "int32",
          "description": "Quantity of employees  needed",
          "type": "integer"
        },
        "specialty": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Specialty"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkOrder.IntegrationTaskWoStaffDto": {
      "type": "object",
      "properties": {
        "assignedDate": {
          "format": "date-time",
          "description": "Assigned Date",
          "type": "string"
        },
        "executionDate": {
          "format": "date-time",
          "description": "Execution Date",
          "type": "string"
        },
        "insumedTime": {
          "format": "double",
          "description": "Insumed Time",
          "type": "number"
        },
        "staff": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Entity.IntegrationEntityDto",
          "description": "Staff"
        },
        "specialty": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter Specialty"
        }
      }
    },
    "ConsuMan.Services.Dto.WorkRequest.Integration.AccordingIntegrationDto": {
      "description": "Work request accordance dto",
      "type": "object",
      "properties": {
        "workRequestId": {
          "format": "int32",
          "description": "WorkRequest internal Id.",
          "type": "integer"
        },
        "workRequestExternalId": {
          "description": "WorkRequest external Id.",
          "type": "string"
        },
        "observations": {
          "description": "Observations.",
          "type": "string"
        },
        "accordingType": {
          "$ref": "#/definitions/ConsuMan.Services.Dto.Parameter.IntegrationParameterDto",
          "description": "Parameter according type."
        },
        "rating": {
          "format": "double",
          "description": "According rating.",
          "type": "number"
        },
        "createNewWorkRequest": {
          "description": "Create a new work request.",
          "type": "boolean"
        }
      }
    }
  },
  "securityDefinitions": {
    "Bearer": {
      "type": "apiKey",
      "description": "API Key Authentication",
      "name": "Bearer",
      "in": "header"
    }
  }
}