2.0info: 0.8.2 WMS-X Stock Relocation description: Serviço Responsável por operações de remanejamentos de estoque do WMS-X x-senior-domain: Estoque WMS-X x-senior-domain-path: wmsx_stock x-senior-service-path: relocation contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/wmsx_stocksecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /relocation/queries/getPlaceWithStock: post: description: Retorno o local de armazenagem com estoque tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – wmsWarehouseId – placeAddress properties: wmsWarehouseId: type: string description: Id do Armazém placeAddress: type: string description: Endereço do local de armazenagem responses: 200: description: Ok schema: type: object required: – place properties: place: type: object allOf: – #/definitions/place description: Local 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorno o local de armazenagem com estoque tags: – Queries x-senior-visibility: PRIVATE parameters: – name: wmsWarehouseId description: Id do Armazém in: query required: true type: string – name: placeAddress description: Endereço do local de armazenagem in: query required: true type: string responses: 200: description: Ok schema: type: object required: – place properties: place: type: object allOf: – #/definitions/place description: Local 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/getPlaceToProductsAndToWmsOwners: post: description: Retornar o local de armazenagem válido para os produtos e depositantes informados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – wmsWarehouseId – placeAddress – productsIds – wmsOwnersIds properties: wmsWarehouseId: type: string description: Id do Armazém placeAddress: type: string description: Endereço do local de armazenagem productsIds: type: array items: type: string minimum: 1 description: Ids dos produtos wmsOwnersIds: type: array items: type: string minimum: 1 description: Ids dos depositantes responses: 200: description: Ok schema: type: object required: – place properties: place: type: object allOf: – #/definitions/place description: Local 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retornar o local de armazenagem válido para os produtos e depositantes informados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: wmsWarehouseId description: Id do Armazém in: query required: true type: string – name: placeAddress description: Endereço do local de armazenagem in: query required: true type: string – name: productsIds description: Ids dos produtos in: query required: true type: array items: type: string minimum: 1 – name: wmsOwnersIds description: Ids dos depositantes in: query required: true type: array items: type: string minimum: 1 responses: 200: description: Ok schema: type: object required: – place properties: place: type: object allOf: – #/definitions/place description: Local 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listStockProductOwner: post: description: Listar estoque de produtos depositante tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – wmsWarehouseId – placeId – packingPalletCode properties: wmsWarehouseId: type: string description: Id do Armazém placeId: type: string description: Id do local de armazenagem packingPalletCode: type: string description: Código da embalagem ou do palete responses: 200: description: Ok schema: type: object required: – stockProductOwner properties: stockProductOwner: type: array items: type: object allOf: – #/definitions/recStockProductOwner minimum: 1 description: Estoques dos produto/depositantes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Listar estoque de produtos depositante tags: – Queries x-senior-visibility: PRIVATE parameters: – name: wmsWarehouseId description: Id do Armazém in: query required: true type: string – name: placeId description: Id do local de armazenagem in: query required: true type: string – name: packingPalletCode description: Código da embalagem ou do palete in: query required: true type: string responses: 200: description: Ok schema: type: object required: – stockProductOwner properties: stockProductOwner: type: array items: type: object allOf: – #/definitions/recStockProductOwner minimum: 1 description: Estoques dos produto/depositantes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listItemsToRelocate: post: description: Lista Produtos/Lotes Disopníveis para o Remanjeamento e Quantidades Selecionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do Remanejamento offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 sort: type: string description: Ordenação por campos order: type: string description: Direção da ordenação do campos filter: type: string description: Filtro responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Total de elementos na lista totalPages: type: integer format: int64 description: Total de páginas contents: type: array items: type: object allOf: – #/definitions/itemRelocateView minimum: 1 description: Itens Disponíveis para Remanjear e Quantidades selecionadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista Produtos/Lotes Disopníveis para o Remanjeamento e Quantidades Selecionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: relocationId description: Id do Remanejamento in: query required: true type: string – name: offset description: Numero da página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: sort description: Ordenação por campos in: query type: string – name: order description: Direção da ordenação do campos in: query type: string – name: filter description: Filtro in: query type: string responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Total de elementos na lista totalPages: type: integer format: int64 description: Total de páginas contents: type: array items: type: object allOf: – #/definitions/itemRelocateView minimum: 1 description: Itens Disponíveis para Remanjear e Quantidades selecionadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listPlacesWithStock: post: description: Listar locais com estoque tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 sort: type: string description: Ordenação por campos order: type: string description: Direção da ordenação do campos place: type: object allOf: – #/definitions/place description: Filtro com base no local anyMatch: type: boolean description: Filtrar qualquer campo default: false displayfields: type: string description: Campos a serem exibidos responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/place minimum: 1 description: Lista de locais com estoque 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listSuggestionsPlaces: post: description: Lista de sugestões de locais de armazenagem para os produtos selecionados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – wmsWarehouseId – productsIds – originPlaceId properties: wmsWarehouseId: type: string description: Id do Armazém productsIds: type: array items: type: string minimum: 1 description: Ids dos produtos originPlaceId: type: string description: Id do local de origem offset: type: integer format: int64 description: Número da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 sort: type: string description: Ordenação por campos order: type: string description: Direção da ordenação do campos displayfields: type: string description: Campos a serem exibidos responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/recSuggestedPlace minimum: 1 description: Lista de locais sugeridos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista de sugestões de locais de armazenagem para os produtos selecionados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: wmsWarehouseId description: Id do Armazém in: query required: true type: string – name: productsIds description: Ids dos produtos in: query required: true type: array items: type: string minimum: 1 – name: originPlaceId description: Id do local de origem in: query required: true type: string – name: offset description: Número da página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: sort description: Ordenação por campos in: query type: string – name: order description: Direção da ordenação do campos in: query type: string – name: displayfields description: Campos a serem exibidos in: query type: string responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/recSuggestedPlace minimum: 1 description: Lista de locais sugeridos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listRelocationProductsNotChecked: post: description: Lista de produtos do remanejamento não conferidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento responses: 200: description: Ok schema: type: object required: – relocationProducts properties: relocationProducts: type: array items: type: object allOf: – #/definitions/recRelocationProduct minimum: 1 description: Lista de produtos não conferidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista de produtos do remanejamento não conferidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: relocationId description: Id do remanejamento in: query required: true type: string responses: 200: description: Ok schema: type: object required: – relocationProducts properties: relocationProducts: type: array items: type: object allOf: – #/definitions/recRelocationProduct minimum: 1 description: Lista de produtos não conferidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/batchesInRelocation: post: description: Retornar se os lotes estão em remanejamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – batchIds properties: batchIds: type: array items: type: string minimum: 1 description: Id dos lotes originPlaceId: type: string description: Id do local de origem destinationPlaceId: type: string description: Id do local de destino responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/recBatchesInRelocation minimum: 1 description: Identifica se os lotes estão em remanejamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retornar se os lotes estão em remanejamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: batchIds description: Id dos lotes in: query required: true type: array items: type: string minimum: 1 – name: originPlaceId description: Id do local de origem in: query type: string – name: destinationPlaceId description: Id do local de destino in: query type: string responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/recBatchesInRelocation minimum: 1 description: Identifica se os lotes estão em remanejamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listRelocationDetails: post: description: Listar detalhes do remanejamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 orderBy: type: string description: Ordenação do campos responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/recRelocationDetails minimum: 1 description: Lista de detalhes do remanejamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Listar detalhes do remanejamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: relocationId description: Id do remanejamento in: query required: true type: string – name: offset description: Numero da página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: orderBy description: Ordenação do campos in: query type: string responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/recRelocationDetails minimum: 1 description: Lista de detalhes do remanejamento 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/listRelocationHistory: post: description: Listar histórico de remanejamentos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – wmsWarehouseId – startCreatedDate – endCreatedDate properties: wmsWarehouseId: type: string description: Id do armazém relocationNumber: type: integer format: int64 description: Número do remanejamento situation: type: string allOf: – #/definitions/enumRelocationSituation description: Situação originPlaceId: type: string description: Local de origem destinationPlaceId: type: string description: Local de destino originSectorId: type: string description: Setor de origem destinationSectorId: type: string description: Setor de destino startCreatedDate: type: string format: date description: Data de cadastro inicial endCreatedDate: type: string format: date description: Data de cadastro final executionDate: type: string format: date description: Data de execução productOwnerId: type: string description: Código do produto/depositante palletNumber: type: string description: Lote Pallet palletType: type: string allOf: – #/definitions/enumPalletType description: Tipo Pallet industrialBatch: type: string description: Lote indústria productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto expirationDate: type: string format: date description: Data de vencimento fabricationDate: type: string format: date description: Data de fabricação inputOperationType: type: string allOf: – #/definitions/enumInputOpertionType description: Tipo de operação que gerou o lote offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 sort: type: string description: Ordenação por campos order: type: string description: Direção da ordenação do campos responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/recRelocationHistory minimum: 1 description: Lista de histórico de remanejamentos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/relocationHasProductsToCheck: post: description: Verifica se o remanejamento tem produtos a serem conferidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento responses: 200: description: Ok schema: type: object required: – hasProductsToCheck properties: hasProductsToCheck: type: boolean description: Indica se o remanejamento tem produtos a serem conferidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se o remanejamento tem produtos a serem conferidos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: relocationId description: Id do remanejamento in: query required: true type: string responses: 200: description: Ok schema: type: object required: – hasProductsToCheck properties: hasProductsToCheck: type: boolean description: Indica se o remanejamento tem produtos a serem conferidos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportE001pes: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportWarehouse: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportWmsWarehouse: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportOwner: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportWmsOwner: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportSector: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportPlace: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportProduct: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportPacking: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportProductOwner: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportBatch: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportRelocation: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportRelocationItem: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportStock: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/exportItemRelocateView: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/queries/healthcheck: post: description: HealthCheck plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: HealthCheck plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/endRelocation: post: description: Finalizar remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/newRelocationItem: post: description: Adicioinar item do remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId – itens properties: relocationId: type: string description: Id do Remanejamento itens: type: array items: type: object allOf: – #/definitions/recAddRelocationItem minimum: 1 description: Lista de itens a serem adicionados responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/newRelocationItemComplete: post: description: Adicionar item completo ao remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId – item properties: relocationId: type: string description: Id do Remanejamento item: type: object allOf: – #/definitions/recAddRelocationItemComplete description: Lista de itens a serem adicionados responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/removeRelocationItem: post: description: Excluir item do remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId – productOwnerId – productSituation properties: relocationId: type: string description: Id do remanejamento productOwnerId: type: string description: Id do produto/depositante productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/releaseRelocation: post: description: Liberar remanejamento para execução/Finalizar planejamento de remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/registerRelocationExecuted: post: description: Realizar remanejamento executado não planejado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/recStockProductOwnerToRelocate responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/updateRelocationItemToChecked: post: description: Atualizar item do remanejamento para conferido pelo id do remanejamento\ne pelo código da embalagem, levando em consideração que o código da\nembalagem serve como identificador dos produtos no remanejamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId – packingCode – productId – productOwnerId properties: relocationId: type: string description: Id do remanejamento packingCode: type: string description: Código da embalagem productId: type: string description: Id do produto productOwnerId: type: string description: Id do produto depositante responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se houve sucesso na operação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/createAutomaticRelocation: post: description: Criar remanejamento automático sob demanda tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – automaticRelocation properties: automaticRelocation: type: object allOf: – #/definitions/recAutomaticRelocation description: Remanejamento automático responses: 200: description: Ok schema: type: object required: – relocation properties: relocation: type: object allOf: – #/definitions/relocation description: Remanejamento criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/cancelRelocationRelease: post: description: Volta o status do remanejamento liberado para criado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: ID do remanejamento responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importE001pes: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importWarehouse: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importWmsWarehouse: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importOwner: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importWmsOwner: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importSector: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importPlace: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importProduct: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importPacking: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importProductOwner: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importBatch: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importRelocation: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importRelocationItem: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importStock: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/actions/importItemRelocateView: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/signals/cancelRelocation: post: description: Cancelar Remanejamento tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – relocationId properties: relocationId: type: string description: Id do remanejamento responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /relocation/events/relocationReleased: post: description: Remanejamento de estoque foi liberada x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/relocationOperation responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/relocationCanceled: post: description: Remanejamento de estoque foi cancelada x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/relocationOperation responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/relocationExecuted: post: description: Remanejamento de estoque foi executado x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/relocationOperation responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importE001pesEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportE001pesEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importWarehouseEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportWarehouseEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importWmsWarehouseEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportWmsWarehouseEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importWmsOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportWmsOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importSectorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportSectorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importPlaceEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportPlaceEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importProductEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportProductEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importPackingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportPackingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importProductOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportProductOwnerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importBatchEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportBatchEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importRelocationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportRelocationEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importRelocationItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportRelocationItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importStockEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportStockEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/importItemRelocateViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/events/exportItemRelocateViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /relocation/entities/sector: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/sector 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/sector/{id}: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/sector 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/place: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/place 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/place/{id}: get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/place 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/batch: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/batch responses: 200: description: The created resource schema: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/batch responses: 200: description: The created resource schema: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/batch/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/batch responses: 200: description: Ok schema: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/batch responses: 200: description: Ok schema: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/batch 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/batch/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/batch responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocation: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/relocation responses: 200: description: The created resource schema: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/relocation responses: 200: description: The created resource schema: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocation/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/relocation responses: 200: description: Ok schema: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/relocation responses: 200: description: Ok schema: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/relocation 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocation/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/relocation responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocationItem: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/relocationItem responses: 200: description: The created resource schema: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/relocationItem responses: 200: description: The created resource schema: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: array items: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocationItem/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/relocationItem responses: 200: description: Ok schema: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/relocationItem responses: 200: description: Ok schema: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/relocationItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /relocation/entities/relocationItem/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/relocationItem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: enumJurFis: description: Tipo de pessoa type: string enum: – VJ – VF enumTipMer: description: Tipo de mercado type: string enum: – VI – VE enumSitReg: description: Situação do registro type: string enum: – VA – VI enumRegime: description: Regime de Armazenagem type: string enum: – VF – VA – VG enumPlaceType: description: Tipo de Local de Armazenagem type: string enum: – PI – PB – PP – DC – BF – PA enumControlShelfLife: description: Controle de validade type: string enum: – VN – VV – VF – VVF enumTypeTerm: description: Tipo de prazo type: string enum: – VM – VD enumProductSituation: description: Situação do Produto type: string enum: – GOOD – DAMAGED – EXPIRED – TRUNCATED enumBatchOrigin: description: Origem do Lote type: string enum: – OR – RE – IV – SC – MS enumPalletType: description: Tipo do Lote Palete Gerado type: string enum: – COMPLETE – INCOMPLETE – LEFTOVER – UNIT enumRelocationSituation: description: Situação do remanejamento type: string enum: – CREATED – PLANNED – EXECUTED – CANCELED enumRelocationRegisterType: description: Tipo de cadastro do Remanejamento type: string enum: – VT – VC – VA enumInputOpertionType: description: Tipo de Operação de Entrada type: string enum: – ORDER_RECEIVING – RELOCATION – STOCK_ENTRY_CORRECTION userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR healthcheckDTO: description: Status do healthcheck type: string enum: – UP – DOWN recStockProductOwner: description: Estoque Produto Depositante discriminator: _discriminator type: object required: – wmsOwnerId – productId – productOwnerId – productOwnerCode – productOwnerDescription – productSituation – quantitySelectedUn – foundByPalletCode – packingPalletCode – _discriminator properties: wmsWarehouseId: type: string description: Id do armazém wmsOwnerId: type: string description: Id do depositante wmsOwnerName: type: string description: Nome do depositante productId: type: string description: Id do produto productOwnerId: type: string description: Id do produto depositante productOwnerCode: type: string description: Código do produto productOwnerDescription: type: string description: Descrição do produto packingId: type: string description: Id da embalagem packingCode: type: string description: Código da embalagem packingShortDescription: type: string description: Descrição reduzida da embalagem packingConversionFactor: type: number format: double description: Fator de Conversão da embalagem currentPlaceId: type: string description: Id do ocal de armazenagem atual currentAddress: type: string description: Endereço do local de armazenagem atual batch: type: string description: Lote interno productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto quantityAvailableUn: type: number format: double description: Quantidade unitária total disponível quantitySelectedUn: type: number format: double description: Quantidade unitária total selecionada para remanejar industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento foundByPalletCode: type: boolean description: Encontrado pelo código do palete packingPalletCode: type: string description: Código da embalagem ou do palete _discriminator: type: string description: recStockProductOwnerToRelocate: description: Estoque Produto Depositante para realocação allOf: – #/definitions/recStockProductOwner – type: object required: – originPlace – destinationPlace – relocationRegisterType properties: originPlace: type: object allOf: – #/definitions/place description: Local de armazenagem de origem destinationPlace: type: object allOf: – #/definitions/place description: Local de armazenagem de destino relocationRegisterType: type: string allOf: – #/definitions/enumRelocationRegisterType description: Tipo de cadastro do Remanejamento recAddRelocationItemComplete: description: Dados de um item completo a ser adicionado ao remanejamento type: object required: – productOwner – productSituation properties: productOwner: type: object allOf: – #/definitions/productOwner description: Produto/Depositante productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento batchOrigin: type: string allOf: – #/definitions/enumBatchOrigin description: Origem do lote palletNumber: type: integer format: int64 description: Numero do palete recAddRelocationItem: description: Dados do item a ser adicionado ao remanejamento type: object required: – productOwner – productSituation – packing – quantity properties: productOwner: type: object allOf: – #/definitions/productOwner description: Produto/Depositante productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto packing: type: object allOf: – #/definitions/packing description: Embalagem quantity: type: number format: double description: Quantidade industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento batchOrigin: type: string allOf: – #/definitions/enumBatchOrigin description: Origin do lote palletNumber: type: integer format: int64 description: Numero do palete recRelocationProduct: description: Produtos do remanejamento type: object required: – productId – productOwnerId – productOwnerDescription – productOwnerCode – productSituation – ownerName – quantityUn – checked properties: productId: type: string description: Id do produto productOwnerId: type: string description: Id do produto depositante productOwnerDescription: type: string description: Descrição do produto depositante productOwnerCode: type: string description: Código do produto depositante productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto ownerName: type: string description: Nome do depositante quantityUn: type: number format: double description: Quantidade unitária total checked: type: boolean description: Conferido industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento showFabDateInCollector: type: boolean description: Exibir data de fabricação nas operações do coletor default: true showExpDateInCollector: type: boolean description: Exibir data de vencimento nas operações do coletor default: true recSuggestedPlace: description: Local de armazenagem sugerido type: object required: – place – placeTypeDescription – quantityAvailableUn properties: place: type: object allOf: – #/definitions/place description: Local de armazenagem placeTypeDescription: type: string description: Tipo do local de armazenagem quantityAvailableUn: type: number format: double description: Quantidade unitária total disponível recAutomaticRelocation: description: Remanejamento Automático – Record type: object required: – originSector – originPlace – destinationSector – destinationPlace – reuseRelocation – itens properties: originSector: type: object allOf: – #/definitions/sector description: Setor de origem originPlace: type: object allOf: – #/definitions/place description: Endereço de origem destinationSector: type: object allOf: – #/definitions/sector description: Setor de destino destinationPlace: type: object allOf: – #/definitions/place description: Endereço de destino reuseRelocation: type: boolean description: Reaproveitar remanejamento itens: type: array items: type: object allOf: – #/definitions/recAutomaticRelocationItem minimum: 1 description: Itens do remanejamento automático recAutomaticRelocationItem: description: Item do remanejamento automático – Record type: object required: – productOwnerId – batchId – packingId – quantity – quantityUn properties: productOwnerId: type: string description: Id do Produto/Depositante batchId: type: string description: Id Lote packingId: type: string description: Id da Embalagem quantity: type: number format: double description: Quantidade na embalagem quantityUn: type: number format: double description: Quantidade unitária recBatchesInRelocation: description: Lotes em remanejamento – Record type: object required: – batchId – inRelocation properties: batchId: type: string description: Id do lote inRelocation: type: boolean description: Identifica se o lote está em remanejamento recRelocationDetails: description: Detalhes do remanejamento type: object required: – originPlace – destinationPlace – itemCode – itemDescription – batch – plannedQuantity – productSituation properties: originPlace: type: string description: Endereço de origem destinationPlace: type: string description: Endereço de destino itemCode: type: string description: Código do item itemDescription: type: string description: Descrição do item batch: type: string description: Lote plannedQuantity: type: number format: double description: Quantidade planejada productSituation: type: string allOf: – #/definitions/enumProductSituation description: Estado do produto industrialBatch: type: string description: Lote Indústria fabricationDate: type: string format: date description: Data de fabricação expirationDate: type: string format: date description: Data de vencimento recRelocationHistory: description: Histórico de remanejamento type: object required: – relocationNumber – situation – originPlace – destinationPlace – originSector – destinationSector – createdDate – productOwnerCode – productOwnerDescription – palletNumber – palletType – productSituation – inputOperationType – quantity – quantityUn properties: relocationNumber: type: integer format: int64 description: Número do remanejamento situation: type: string allOf: – #/definitions/enumRelocationSituation description: Status do remanejamento originPlace: type: string description: Local de origem destinationPlace: type: string description: Local de destino originSector: type: string description: Setor de origem destinationSector: type: string description: Setor de destino createdDate: type: string format: date-time description: Data de cadastro executionDate: type: string format: date description: Data de finalização executionUser: type: string description: Usuário de execução referenceCode: type: string description: Referência do Produto productOwnerCode: type: string description: Código produto depositante productOwnerDescription: type: string description: Descrição do produto depositante palletNumber: type: string description: Número do palete palletType: type: string allOf: – #/definitions/enumPalletType description: Tipo do Lote industrialBatch: type: string description: Lote indústria productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto expirationDate: type: string format: date description: Data de vencimento fabricationDate: type: string format: date description: Data de fabricação inputOperationType: type: string allOf: – #/definitions/enumInputOpertionType description: Tipo de operação de entrada do lote quantity: type: number format: double description: Quantidade liberada no fator da embalagem quantityUn: type: number format: double description: Quantidade liberada em unidades relocationOperation: description: Modelo de dados para eventos de operação de estoque type: object required: – originPlace – destinationPlace – operationId – operationNumber – userName properties: originPlace: type: string description: ID do Local de Origem destinationPlace: type: string description: ID do Local de Destino operationId: type: string description: ID da Operação de Estoque operationNumber: type: integer format: int64 description: Número da Operação de Remanejamento userName: type: string description: Usuário / Operador e001pes: description: Pessoa – Replicação type: object required: – codPes – nomPes – apePes – tipPes – tipMer properties: id: type: string format: uuid description: Identificador único codPes: type: integer format: int64 description: Código nomPes: type: string maxLength: 100 description: Nome apePes: type: string maxLength: 80 description: Nome fantasia tipPes: type: string allOf: – #/definitions/enumJurFis description: Tipo de pessoa cnpCpf: type: string maxLength: 14 description: CNPJ/CPF numRge: type: string maxLength: 15 description: Número do RG datRge: type: string format: date description: Data de emissão do RG orgRge: type: string maxLength: 6 description: Órgão emissor do RG insEst: type: string maxLength: 25 description: Inscrição estadual insMun: type: string maxLength: 16 description: Inscrição municipal tipMer: type: string allOf: – #/definitions/enumTipMer description: Tipo de mercado do cliente warehouse: type: object allOf: – #/definitions/warehouse description: Armazém owner: type: object allOf: – #/definitions/owner description: Depositante excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: warehouse: description: Armazém – Replicação type: object required: – warehouseSituation properties: id: type: string format: uuid description: Id da entidade e001pes: type: object allOf: – #/definitions/e001pes description: Pessoa warehouseSituation: type: string allOf: – #/definitions/enumSitReg description: Situação do Armazém excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: wmsWarehouse: description: Armazém type: object properties: id: type: string format: uuid description: Id da entidade warehouse: type: object allOf: – #/definitions/warehouse description: Armazém blockMask: type: string maxLength: 5 description: Máscara bloco streetMask: type: string maxLength: 5 description: Máscara rua buildingMask: type: string maxLength: 5 description: Máscara prédio floorMask: type: string maxLength: 5 description: Máscara andar apartmentMask: type: string maxLength: 5 description: Máscara apartamento excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: owner: description: Depositante – Replicação type: object required: – ownerSituation properties: id: type: string format: uuid description: Identificador único e001pes: type: object allOf: – #/definitions/e001pes description: Pessoa ownerSituation: type: string allOf: – #/definitions/enumSitReg description: Situação excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: wmsOwner: description: Depositante type: object properties: id: type: string format: uuid description: Identificador único owner: type: object allOf: – #/definitions/owner description: Depositante regime: type: string allOf: – #/definitions/enumRegime description: Regime de Armazenagem excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: sector: description: Setor type: object properties: id: type: string format: uuid description: Identificador único code: type: string maxLength: 20 description: Código description: type: string maxLength: 100 description: Descrição good: type: boolean description: Bom damaged: type: boolean description: Danificado expired: type: boolean description: Vencido truncated: type: boolean description: Truncado picking: type: boolean description: Picking bufferStock: type: boolean description: Pulmão buffer: type: boolean description: Buffer wmsWarehouse: type: object allOf: – #/definitions/wmsWarehouse description: Armazém situation: type: string allOf: – #/definitions/enumSitReg description: Situação excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: place: description: Local de Armazenagem type: object properties: id: type: string format: uuid description: Identificador único address: type: string description: Endereço formatedAddress: type: string description: Endereço block: type: string description: Bloco street: type: string description: Rua building: type: integer format: int64 description: Prédio floor: type: integer format: int64 description: Andar apartment: type: integer format: int64 description: Apartamento wmsWarehouse: type: object allOf: – #/definitions/wmsWarehouse description: Armazém type: type: string allOf: – #/definitions/enumPlaceType description: Tipo height: type: integer format: int64 description: Altura (mm) width: type: integer format: int64 description: Largura (mm) length: type: integer format: int64 description: Comprimento (mm) maneuverHeight: type: integer format: int64 description: Altura de Manobra (mm) maxWeight: type: integer format: int64 description: Peso Máximo (gr) situation: type: string allOf: – #/definitions/enumSitReg description: Situação sector: type: object allOf: – #/definitions/sector description: Setor excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: product: description: Produto type: object properties: id: type: string format: uuid description: Identificador único referenceCode: type: string description: Código Referência description: type: string description: Descrição cplDescription: type: string description: Descrição complementar situation: type: string allOf: – #/definitions/enumSitReg description: Situação excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: packing: description: Embalagem type: object properties: id: type: string format: uuid description: Identificador único product: type: object allOf: – #/definitions/product description: Produto code: type: string maxLength: 30 description: Código shortDescription: type: string description: Descrição Reduzida conversionFactor: type: number format: double description: Fator de Conversão height: type: integer format: int64 description: Altura (mm) width: type: integer format: int64 description: Largura (mm) length: type: integer format: int64 description: Comprimento (mm) grossWeight: type: integer format: int64 description: Peso Bruto (gr) netWeight: type: integer format: int64 description: Peso Líquido (gr) ballast: type: integer format: int64 description: Lastro layer: type: integer format: int64 description: Camada maximumStacking: type: integer format: int64 description: Empilhamento Máximo preRegistration: type: boolean description: Pré-cadastro situation: type: string allOf: – #/definitions/enumSitReg description: Situação excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: productOwner: description: Depositantes vinculados ao produto type: object properties: id: type: string format: uuid description: Id da entidade product: type: object allOf: – #/definitions/product description: Produto wmsOwner: type: object allOf: – #/definitions/wmsOwner description: Depositante code: type: string description: Código do produto description: type: string description: Descrição do produto situation: type: string allOf: – #/definitions/enumSitReg description: Situação do produto controlShelfLife: type: string allOf: – #/definitions/enumControlShelfLife description: Tipo de controle de validade typeTerm: type: string allOf: – #/definitions/enumTypeTerm description: Tipo de prazo shelfLife: type: integer format: int64 description: Prazo de validade marketingPeriod: type: integer format: int64 description: Prazo de comercialização criticalDeadline: type: integer format: int64 description: Prazo crítico controlIndustrialBatch: type: boolean description: Controlar lote indústria showFabDateInCollector: type: boolean description: Exibir data de fabricação nas operações do coletor default: true showExpDateInCollector: type: boolean description: Exibir data de vencimento nas operações do coletor default: true excluido: type: boolean description: Indica se o registro foi excluído default: false extIntSts: type: string maxLength: 100 description: Indica status da replicação extIntMsg: type: string maxLength: 100 description: Indica a mensagem da replicação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: batch: description: Lote de Armazenamento type: object required: – wmsWarehouse – originId – origin – palletNumber – palletType – productOwner – packing – productSituation – quantity – quantityUn – inputOperationType – inputOperationId – receivingDate – allocationDate properties: id: type: string format: uuid description: Identificador único wmsWarehouse: type: object allOf: – #/definitions/wmsWarehouse description: Armazém originId: type: string format: uuid description: Id da origem do lote origin: type: string allOf: – #/definitions/enumBatchOrigin description: Origem do lote palletNumber: type: integer format: int64 description: Número do palete palletType: type: string allOf: – #/definitions/enumPalletType description: Tipo do Lote productOwner: type: object allOf: – #/definitions/productOwner description: Produto Depositante packing: type: object allOf: – #/definitions/packing description: Embalagem productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto quantity: type: number format: double description: Quantidade total do lote no fator da embalagem quantityUn: type: number format: double description: Quantidade unitária total do lote industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento inputOperationType: type: string allOf: – #/definitions/enumInputOpertionType description: Tipo da operação de entrada inputOperationId: type: string format: uuid description: Id da operação de entrada inputOperationCode: type: string description: Código/Número da operação de entrada inputOperationDescription: type: string maxLength: 400 description: Descrição da operação de entrada blocked: type: boolean description: Bloqueado default: false receivingDate: type: string format: date-time description: Data de recebimento allocationDate: type: string format: date-time description: Data de alocação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: relocation: description: Remanejamento type: object required: – situation – originSector – originPlace – destinationSector – destinationPlace – relocationRegisterType properties: id: type: string format: uuid description: Identificador único relocationNumber: type: integer format: int64 description: Número situation: type: string allOf: – #/definitions/enumRelocationSituation description: Situação originSector: type: object allOf: – #/definitions/sector description: Setor de origem originPlace: type: object allOf: – #/definitions/place description: Endereço de origem destinationSector: type: object allOf: – #/definitions/sector description: Setor de destino destinationPlace: type: object allOf: – #/definitions/place description: Endereço de destino relocationRegisterType: type: string allOf: – #/definitions/enumRelocationRegisterType description: Tipo de cadastro do Remanejamento executionDate: type: string format: date description: Data de execução executionUser: type: string description: Usuário de execução stockIdentifier: type: integer format: int64 description: Identificador alteração estoque createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: relocationItem: description: Item do remanejamento type: object required: – relocation – batch – packing – quantity properties: id: type: string format: uuid description: Identificador único relocation: type: object allOf: – #/definitions/relocation description: Remanejamento batch: type: object allOf: – #/definitions/batch description: Lote packing: type: object allOf: – #/definitions/packing description: Embalagem quantity: type: number format: double description: Quantidade checked: type: boolean description: Conferido default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: stock: description: Estoque type: object required: – wmsWarehouse – place – batch – productOwner properties: id: type: string format: uuid description: Identificador único wmsWarehouse: type: object allOf: – #/definitions/wmsWarehouse description: Armazém place: type: object allOf: – #/definitions/place description: Local batch: type: object allOf: – #/definitions/batch description: Lote productOwner: type: object allOf: – #/definitions/productOwner description: Produto/Depositante add: type: number format: double description: Adicionar default: 0.0 pendency: type: number format: double description: Pendência default: 0.0 stock: type: number format: double description: Estoque default: 0.0 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: itemRelocateView: description: Itens disponíveis para Remanejamento e quantidades selecionada para remanejar – View type: object required: – id – relocationId – productOwner – productSituation – quantityAvailableUn properties: id: type: integer format: int64 description: Identificador relocationId: type: string format: uuid description: Id do remanejamento productOwner: type: object allOf: – #/definitions/productOwner description: Informações do Produto Dispoível para Remanejar productSituation: type: string allOf: – #/definitions/enumProductSituation description: Situação do produto quantityAvailableUn: type: number format: double description: Quantidade unitária total disponível quantitySelectedUn: type: number format: double description: Quantidade unitária total selecionada para remanejar default: 0.0 industrialBatch: type: string description: Lote indústria fabricationDate: type: string format: date description: Data fabricação expirationDate: type: string format: date description: Data vencimento notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service checkDTO: description: Retorno status usados de retorno type: object required: – status – name properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status name: type: string description: Status genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE