2.0info: 1.0.3 Dados gerais do lms description: Serviçocom dados gerais do LMS x-senior-domain: Gestão de atividades x-senior-domain-path: lms x-senior-service-path: data 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/lmssecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /data/queries/managerResumeeReport: post: description: Relatório de resumo de um dia do líder agrupado por líder, turno e tipo de cálculo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – referenceDate properties: referenceDate: type: string format: date description: Dia de referência unidadeLogisticaIds: type: array items: type: string description: Filtro de Unidade Logística workshiftIds: type: array items: type: string description: Filtro de Turnos managerEmployeeIds: type: array items: type: string description: Filtros de Líderes calculationType: type: array items: type: string description: Filtro por Tipo de Cálculo offset: type: integer format: int64 description: Página default: 0 responses: 200: description: Ok schema: type: object allOf: – #/definitions/managerResumeeReportData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Relatório de resumo de um dia do líder agrupado por líder, turno e tipo de cálculo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: referenceDate description: Dia de referência in: query required: true type: string format: date – name: unidadeLogisticaIds description: Filtro de Unidade Logística in: query type: array items: type: string – name: workshiftIds description: Filtro de Turnos in: query type: array items: type: string – name: managerEmployeeIds description: Filtros de Líderes in: query type: array items: type: string – name: calculationType description: Filtro por Tipo de Cálculo in: query type: array items: type: string – name: offset description: Página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object allOf: – #/definitions/managerResumeeReportData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/queries/subordinateResumeReport: post: description: Relatório de hora do subordinado a um líder tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – referenceDate – managerEmployeeId – workshiftId – calculationType properties: referenceDate: type: string format: date description: Dia de referência managerEmployeeId: type: string description: Id do líder workshiftId: type: string description: Filtro de Turnos calculationType: type: string description: Filtro por Tipo de Cálculo offset: type: integer format: int64 description: Página default: 0 responses: 200: description: Ok schema: type: object allOf: – #/definitions/subordinateResumeReportData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Relatório de hora do subordinado a um líder tags: – Queries x-senior-visibility: PRIVATE parameters: – name: referenceDate description: Dia de referência in: query required: true type: string format: date – name: managerEmployeeId description: Id do líder in: query required: true type: string – name: workshiftId description: Filtro de Turnos in: query required: true type: string – name: calculationType description: Filtro por Tipo de Cálculo in: query required: true type: string – name: offset description: Página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object allOf: – #/definitions/subordinateResumeReportData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/queries/healthcheck: post: description: Verificação disponibilidade do serviço 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 do serviço checks: type: object allOf: – #/definitions/checkDTO description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verificação disponibilidade do serviço 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 do serviço checks: type: object allOf: – #/definitions/checkDTO description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/queries/getConfiguracaoByUnidadeLogistica: post: description: Retorna a configuração da unidade logistica, buscando pelo id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: ids: type: array items: type: string description: Ids da Unidade Logistica responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/configuracaoUnidadeLogistica minimum: 1 description: Lista de Configurações Unidade Logistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a configuração da unidade logistica, buscando pelo id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: ids description: Ids da Unidade Logistica in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/configuracaoUnidadeLogistica minimum: 1 description: Lista de Configurações Unidade Logistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/queries/checkSlaUsage: post: description: Retorna se usa SLA tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – unidadeLogisticaId – calculo properties: unidadeLogisticaId: type: array items: type: string minimum: 1 description: Id das Unidades Logisticas depositanteId: type: array items: type: string description: Id do Depositantes calculo: type: string allOf: – #/definitions/tipoCalculo description: Tipo de Cálculos/Métricas rotulo: type: array items: type: string description: Rótulos responses: 200: description: Ok schema: type: object required: – useSla properties: useSla: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/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 /data/queries/exportUnidadeLogistica: post: description: tags: – Queries x-senior-visibility: PUBLIC 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 /data/queries/exportConfiguracaoUnidadeLogistica: 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 /data/queries/exportIntervaloStatusGeral: 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 /data/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 /data/actions/saveConfiguracaoUnidadeLogistica: post: description: Salva a configuração da unidade logistica tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tempoOciosidade – unidadeLogistica properties: id: type: string description: Identificador único do registro tempoOciosidade: type: integer format: int64 description: Tempo máximo em minutos para calculo de ociosidade unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade logistica intervaloStatusGeral: type: array items: type: object allOf: – #/definitions/intervaloStatusGeral description: Configuração intervalos para Status Geral useSla: type: boolean description: Uso do SLA default: false responses: 200: description: Ok schema: type: object allOf: – #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/actions/importUnidadeLogistica: post: description: tags: – Actions x-senior-visibility: PUBLIC 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 /data/actions/importConfiguracaoUnidadeLogistica: 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 /data/actions/importIntervaloStatusGeral: 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 /data/events/importUnidadeLogisticaEvent: 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 /data/events/exportUnidadeLogisticaEvent: 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 /data/events/importConfiguracaoUnidadeLogisticaEvent: 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 /data/events/exportConfiguracaoUnidadeLogisticaEvent: 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 /data/events/importIntervaloStatusGeralEvent: 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 /data/events/exportIntervaloStatusGeralEvent: 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 /data/entities/configuracaoUnidadeLogistica: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/configuracaoUnidadeLogistica responses: 200: description: The created resource schema: #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/configuracaoUnidadeLogistica responses: 200: description: The created resource schema: #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: 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/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/entities/configuracaoUnidadeLogistica/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/configuracaoUnidadeLogistica responses: 200: description: Ok schema: #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/configuracaoUnidadeLogistica responses: 200: description: Ok schema: #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/configuracaoUnidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: 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 /data/entities/configuracaoUnidadeLogistica/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/configuracaoUnidadeLogistica responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/entities/intervaloStatusGeral: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/intervaloStatusGeral responses: 200: description: The created resource schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/intervaloStatusGeral responses: 200: description: The created resource schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: 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/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/entities/intervaloStatusGeral/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/intervaloStatusGeral responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/intervaloStatusGeral responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: 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 /data/entities/configuracaoUnidadeLogistica/{parentId}/intervaloStatusGeral: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/intervaloStatusGeral responses: 200: description: The created resources schema: type: array items: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/intervaloStatusGeral responses: 200: description: The created resources schema: type: array items: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – 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/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/entities/configuracaoUnidadeLogistica/{parentId}/intervaloStatusGeral/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/intervaloStatusGeral responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/intervaloStatusGeral responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/intervaloStatusGeral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /data/entities/intervaloStatusGeral/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/intervaloStatusGeral responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: healthcheckDTO: description: Define o Status do serviço type: string enum: – UP – DOWN tipoCalculo: description: Tipo de Cálculo/Métrica type: string enum: – PECA – PESO – CUBAGEM_VOLUMETRIA – QUANTIDADE_TAREFAS – LINHAS_EXPEDIDAS statusGeral: description: Status Geral type: string enum: – Inoperante – NoPrazo – EmAlerta – ForaPrazo – AcimaEsperado 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 checkDTO: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/healthcheckDTO description: Status do healthcheck pageable: description: Classe para abstração de paginação discriminator: _discriminator type: object required: – totalElements – totalPages – _discriminator properties: totalElements: type: integer format: int64 description: Quantidade de elementos total totalPages: type: integer format: int64 description: Quantidade de páginas _discriminator: type: string description: managerResumeeReportData: description: Classe responsável pelo output do relatório de resumo do líder allOf: – #/definitions/pageable – type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/managerResumeeReportRow minimum: 1 description: Resultado subordinateResumeReportData: description: Classe responsável pelo output do relatório do resumo do subordinado allOf: – #/definitions/pageable – type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/subordinateResumeReportRow minimum: 1 description: Resultado managerResumeeReportRow: description: Informações do relatório type: object required: – managerEmployeeId – managerEmployeeName – ulName – ul – perHour – perWorkshift – calculationType – workshift – workshiftCode – referenceDate – progress – totalDone properties: managerEmployeeId: type: string description: Id do colaborador do Líder managerEmployeeName: type: string description: Nome do Líder ulName: type: string description: Nome da unidade logística ul: type: string description: Id da unidade logística perHour: type: integer format: int64 description: Meta por Hora perWorkshift: type: integer format: int64 description: Meta por Turno calculationType: type: string description: Tipo de Cálculo workshift: type: string description: Id do Turno workshiftCode: type: string description: Código do Turno referenceDate: type: string format: date description: Dia de referência progress: type: number format: double description: Progresso em porcentagem ( 0 a 100 ) totalDone: type: number format: double description: Progresso feito no turno subordinateResumeReportRow: description: Informações do relatório de subordinado type: object required: – subordinateId – subordinateName – referenceDate – calculationType – workshiftId – overtime – total – status properties: subordinateId: type: string description: Id do colaborador subordinado subordinateName: type: string description: Nome do colaborador subordinado referenceDate: type: string format: date description: Dia de referência calculationType: type: string description: Tipo de Cálculo workshiftId: type: string description: Id do Turno hours: type: array items: type: number format: double description: Valores das horas trabalhadas overtime: type: number format: double description: Hora extra total: type: number format: double description: Total das horas trabalhadas status: type: string description: Status do subordinado unidadeLogistica: description: Unidade Logística type: object required: – nome – code properties: id: type: string format: uuid description: Identificador único do registro nome: type: string description: Nome code: type: string description: Código de Integração deleted: type: boolean description: Indicação registro deletado default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: configuracaoUnidadeLogistica: description: Configuração Unidade Logistica type: object required: – tempoOciosidade – unidadeLogistica properties: id: type: string format: uuid description: Identificador único do registro tempoOciosidade: type: integer format: int64 description: Tempo máximo em minutos para calculo de ociosidade unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade logistica intervaloStatusGeral: type: array items: type: object allOf: – #/definitions/intervaloStatusGeral description: Configuração intervalos para Status Geral useSla: type: boolean description: Uso do SLA default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: intervaloStatusGeral: description: Entity responsável pelo armazenamento dos intervalos da unidade logistica type: object required: – statusGeral – percentualMinimo – percentualMaximo properties: id: type: string format: uuid description: Identificador único do registro statusGeral: type: string allOf: – #/definitions/statusGeral description: Identificação Status Geral percentualMinimo: type: integer format: int64 description: Percentual minino para considerar no prazo minimum: 0 maximum: 999 percentualMaximo: type: integer format: int64 description: Percentual minimo para considerar fora do prazo minimum: 0 maximum: 999 configuracaoUnidadeLogistica: type: object allOf: – #/definitions/configuracaoUnidadeLogistica description: Relacionamento com a entidade configuracaoUnidadeLogistica createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: 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 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