2.0info: 0.41.0 one_management_flow x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: one_management_flow 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/hcmsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /one_management_flow/queries/getMeetingParticipants: post: description: Retorna a lista de funcionários que possuem reuniões agendadas com o usuário ativo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page properties: employeeId: type: string description: Identificador do colaborador isDirect: type: boolean description: Liderado direto startReferenceDate: type: string format: date description: Data inicial endReferenceDate: type: string format: date description: Data final state: type: array items: type: string allOf: – #/definitions/meetingState description: Status da reunião page: type: object allOf: – #/definitions/pagination description: Paginação responses: 200: description: Ok schema: type: object allOf: – #/definitions/employeeMeetingPagedList 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getEmployeesByNameAndCode: post: description: Busca os colaboradores pelo nome e/ou código tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page properties: name: type: string description: Nome do colaborador registerNumber: type: integer format: int64 description: Código do colaborador page: type: object allOf: – #/definitions/pagination description: Paginação orderBy: type: array items: type: object allOf: – #/definitions/ordination description: Ordenação responses: 200: description: Ok schema: type: object allOf: – #/definitions/employeePagedList 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/isManager: post: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isManager properties: isManager: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isManager properties: isManager: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getEmployeePhoto: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: ID do colaboradore responses: 200: description: Ok schema: type: object required: – id – fullname – registerNumber – photo – email properties: id: type: string description: fullname: type: string description: registerNumber: type: integer format: int64 description: Código do colaborador photo: type: string description: Link da foto do colaboradore email: type: string description: jobPositionDTO: type: object allOf: – #/definitions/jobPositionDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: ID do colaboradore in: query required: true type: string responses: 200: description: Ok schema: type: object required: – id – fullname – registerNumber – photo – email properties: id: type: string description: fullname: type: string description: registerNumber: type: integer format: int64 description: Código do colaborador photo: type: string description: Link da foto do colaboradore email: type: string description: jobPositionDTO: type: object allOf: – #/definitions/jobPositionDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getMeetingRegistry: post: description: Retorna as informações referentes ao registro da reunião e suas pautas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meetingId properties: meetingId: type: string description: Identificador da reunião responses: 200: description: Ok schema: type: object allOf: – #/definitions/meetingRegistryDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as informações referentes ao registro da reunião e suas pautas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: meetingId description: Identificador da reunião in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/meetingRegistryDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getDetailedMeetingInfo: post: description: Retorna as informações referentes as informações e anotações da reunião e suas pautas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meetingId properties: meetingId: type: string description: Identificador da reunião responses: 200: description: Ok schema: type: object allOf: – #/definitions/meetingRegistryDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as informações referentes as informações e anotações da reunião e suas pautas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: meetingId description: Identificador da reunião in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/meetingRegistryDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getPhotoLinkOfContextEmployee: post: description: Retorna o link da foto do colaborador ativo/logado no contexto atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – employeeId – photoLink – fullName properties: employeeId: type: string description: Identificador do colaborador photoLink: type: string description: Link da foto fullName: type: string description: Nome completo do colaborador jobPosition: type: string description: Cargo do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o link da foto do colaborador ativo/logado no contexto atual tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – employeeId – photoLink – fullName properties: employeeId: type: string description: Identificador do colaborador photoLink: type: string description: Link da foto fullName: type: string description: Nome completo do colaborador jobPosition: type: string description: Cargo do colaborador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getMeetingMessages: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meetingId properties: meetingId: type: string description: ID da reunião responses: 200: description: Ok schema: type: object required: – getMeetingMessagesDTO properties: getMeetingMessagesDTO: type: array items: type: object allOf: – #/definitions/getMeetingMessagesDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: meetingId description: ID da reunião in: query required: true type: string responses: 200: description: Ok schema: type: object required: – getMeetingMessagesDTO properties: getMeetingMessagesDTO: type: array items: type: object allOf: – #/definitions/getMeetingMessagesDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/queries/getEmployeeMeetingHistory: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId – page properties: employeeId: type: string description: Id do colaborador organizer: type: string description: id do organizador startReference: type: string format: date description: Data inicial endReference: type: string format: date description: Data final type: string description: Título da reunião state: type: array items: type: string allOf: – #/definitions/meetingState description: Status da reunião page: type: object allOf: – #/definitions/pagination description: Paginação orderBy: type: array items: type: object allOf: – #/definitions/ordination description: Ordenação responses: 200: description: Ok schema: type: object allOf: – #/definitions/getEmployeeMeetingHistoryPagedList 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/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 /one_management_flow/queries/exportMeeting: 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 /one_management_flow/queries/exportMeetingTopic: 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 /one_management_flow/queries/exportMeetingMessage: 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 /one_management_flow/queries/exportCompany: 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 /one_management_flow/queries/exportEmployee: 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 /one_management_flow/queries/exportDepartment: 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 /one_management_flow/queries/exportCompanyhierarchy: 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 /one_management_flow/queries/exportHierarchy: 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 /one_management_flow/queries/exportHierarchyitem: 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 /one_management_flow/queries/exportJobposition: 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 /one_management_flow/queries/exportWorkstationgroup: 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 /one_management_flow/queries/exportMovimentation: 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 /one_management_flow/queries/exportPerson: 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 /one_management_flow/queries/exportWorkstation: 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 /one_management_flow/queries/exportAttachment: 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 /one_management_flow/queries/exportEmployeeEmail: 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 /one_management_flow/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 /one_management_flow/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 /one_management_flow/actions/saveMeeting: post: description: Salva uma reunião com tópicos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – title – participant – referenceDate – startHour – endHour – topics properties: type: string description: Título da reunião participant: type: string description: Identificador do colaborador participante referenceDate: type: string format: date description: Data de referência startHour: type: string description: Horário de inicio endHour: type: string description: Horário de término topics: type: array items: type: object allOf: – #/definitions/meetingTopicDTO minimum: 1 description: Pautas da reunião responses: 200: description: Ok schema: type: object allOf: – #/definitions/createdMeetingDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/updateMeeting: post: description: Edita uma reunião com tópicos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – title – participant – referenceDate – startHour – endHour – topics properties: id: type: string description: Identificador da reunião type: string description: Título da reunião participant: type: string description: Identificador do colaborador participante referenceDate: type: string format: date description: Data de referência startHour: type: string description: Horário de inicio endHour: type: string description: Horário de término topics: type: array items: type: object allOf: – #/definitions/meetingTopicDTO minimum: 1 description: Pautas da reunião responses: 200: description: Ok schema: type: object allOf: – #/definitions/updatedMeetingOutput 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/deleteMeetingMessage: post: description: Deleta uma mensagem da reunião tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificador da mensagem da reunião responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/updateMeetingTopic: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meetingTopicDTO properties: meetingTopicDTO: type: array items: type: object allOf: – #/definitions/updateMeetingTopicDTO minimum: 1 description: responses: 200: description: Ok schema: type: object required: – updatedIds properties: updatedIds: type: array items: type: string minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/removeMeeting: post: description: Exclui uma reunião e seus tópicos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: ID da reunião responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/finishMeeting: post: description: Exclui uma reunião e seus tópicos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – meetingTopicDTO properties: id: type: string description: ID da reunião meetingTopicDTO: type: array items: type: object allOf: – #/definitions/updateMeetingTopicDTO minimum: 1 description: Lista de pautas da reunião responses: 200: description: Ok schema: type: object required: – finishedMeetings properties: finishedMeetings: type: array items: type: string minimum: 1 description: Lista de pautas finalizadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/actions/createOrEditMeetingMessage: post: description: Salva as mensagens inseridas em uma reunião tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meeting – message – privateMessage properties: id: type: string description: Identificador da mensagem meeting: type: string description: Identificador da reunião message: type: string description: Texto da mensagem da reunião privateMessage: type: boolean description: Visibilidade do comentário responses: 200: description: Ok schema: type: object allOf: – #/definitions/createdMeetingMessageDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/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 /one_management_flow/actions/importMeeting: 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 /one_management_flow/actions/importMeetingTopic: 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 /one_management_flow/actions/importMeetingMessage: 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 /one_management_flow/actions/importCompany: 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 /one_management_flow/actions/importEmployee: 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 /one_management_flow/actions/importDepartment: 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 /one_management_flow/actions/importCompanyhierarchy: 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 /one_management_flow/actions/importHierarchy: 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 /one_management_flow/actions/importHierarchyitem: 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 /one_management_flow/actions/importJobposition: 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 /one_management_flow/actions/importWorkstationgroup: 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 /one_management_flow/actions/importMovimentation: 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 /one_management_flow/actions/importPerson: 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 /one_management_flow/actions/importWorkstation: 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 /one_management_flow/actions/importAttachment: 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 /one_management_flow/actions/importEmployeeEmail: 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 /one_management_flow/signals/dailyMeetingNotificationProcess: post: description: Dispara o envio de notificações para os colaboradores que possuem reuniões do dia via processo agendado tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /one_management_flow/events/importMeetingEvent: 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 /one_management_flow/events/exportMeetingEvent: 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 /one_management_flow/events/importMeetingTopicEvent: 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 /one_management_flow/events/exportMeetingTopicEvent: 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 /one_management_flow/events/importMeetingMessageEvent: 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 /one_management_flow/events/exportMeetingMessageEvent: 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 /one_management_flow/events/importCompanyEvent: 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 /one_management_flow/events/exportCompanyEvent: 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 /one_management_flow/events/importEmployeeEvent: 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 /one_management_flow/events/exportEmployeeEvent: 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 /one_management_flow/events/importDepartmentEvent: 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 /one_management_flow/events/exportDepartmentEvent: 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 /one_management_flow/events/importCompanyhierarchyEvent: 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 /one_management_flow/events/exportCompanyhierarchyEvent: 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 /one_management_flow/events/importHierarchyEvent: 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 /one_management_flow/events/exportHierarchyEvent: 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 /one_management_flow/events/importHierarchyitemEvent: 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 /one_management_flow/events/exportHierarchyitemEvent: 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 /one_management_flow/events/importJobpositionEvent: 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 /one_management_flow/events/exportJobpositionEvent: 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 /one_management_flow/events/importWorkstationgroupEvent: 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 /one_management_flow/events/exportWorkstationgroupEvent: 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 /one_management_flow/events/importMovimentationEvent: 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 /one_management_flow/events/exportMovimentationEvent: 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 /one_management_flow/events/importPersonEvent: 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 /one_management_flow/events/exportPersonEvent: 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 /one_management_flow/events/importWorkstationEvent: 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 /one_management_flow/events/exportWorkstationEvent: 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 /one_management_flow/events/importAttachmentEvent: 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 /one_management_flow/events/exportAttachmentEvent: 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 /one_management_flow/events/importEmployeeEmailEvent: 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 /one_management_flow/events/exportEmployeeEmailEvent: 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 /one_management_flow/entities/company: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/company responses: 200: description: The created resource schema: #/definitions/company 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/company responses: 200: description: The created resource schema: #/definitions/company 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: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/company 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/company/{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/editCompany responses: 200: description: Ok schema: #/definitions/editCompany 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/company responses: 200: description: Ok schema: #/definitions/company 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/company 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 /one_management_flow/entities/company/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/company responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/hierarchy: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchy responses: 200: description: The created resource schema: #/definitions/hierarchy 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/hierarchy responses: 200: description: The created resource schema: #/definitions/hierarchy 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: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/hierarchy 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/hierarchy/{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/editHierarchy responses: 200: description: Ok schema: #/definitions/editHierarchy 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/hierarchy responses: 200: description: Ok schema: #/definitions/hierarchy 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/hierarchy 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 /one_management_flow/entities/hierarchy/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/hierarchy responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/workstation/{parentId}/hierarchyitens: post: description: Esta entidade pode ser customizada. 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/hierarchyitem responses: 200: description: The created resources schema: type: array items: #/definitions/hierarchyitem 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: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/hierarchyitem responses: 200: description: The created resources schema: type: array items: #/definitions/hierarchyitem 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: 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: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/hierarchyitem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/workstation/{parentId}/hierarchyitens/{id}: put: description: Esta entidade pode ser customizada. 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/editHierarchyitem responses: 200: description: Ok schema: #/definitions/editHierarchyitem 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: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyitem responses: 200: description: Ok schema: #/definitions/hierarchyitem 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: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/hierarchyitem 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: 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 /one_management_flow/entities/jobposition: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/jobposition responses: 200: description: The created resource schema: #/definitions/jobposition 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/jobposition responses: 200: description: The created resource schema: #/definitions/jobposition 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: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/jobposition 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/jobposition/{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/editJobposition responses: 200: description: Ok schema: #/definitions/editJobposition 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/jobposition responses: 200: description: Ok schema: #/definitions/jobposition 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/jobposition 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 /one_management_flow/entities/jobposition/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/jobposition responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/attachment: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/attachment responses: 200: description: The created resource schema: #/definitions/attachment 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/attachment responses: 200: description: The created resource schema: #/definitions/attachment 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: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/attachment 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /one_management_flow/entities/attachment/{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/editAttachment responses: 200: description: Ok schema: #/definitions/editAttachment 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/attachment responses: 200: description: Ok schema: #/definitions/attachment 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/attachment 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 /one_management_flow/entities/attachment/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/attachment responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: directionType: type: string enum: – ASC – DESC description: Tipo de ordenação: * `ASC` – Ascendente * `DESC` – Descendente meetingState: type: string enum: – SCHEDULED – FINISHED – LATE description: Status da reunião: * `SCHEDULED` – Agendado * `FINISHED` – Finalizado * `LATE` – Atrasado employeeType: type: string enum: – EMPTY – EMPLOYEE – THIRDPARTY – PARTNER description: Tipo de colaborador: * `EMPTY` – Sem registro * `EMPLOYEE` – Colaborador * `THIRDPARTY` – Terceiro * `PARTNER` – Parceiro userNotificationKind: type: string enum: – Operational – Management – News description: User notification kind.: * `Operational` – Operational * `Management` – Management * `News` – News userNotificationPriority: type: string enum: – Error – Alert – None description: User notification priority.: * `Error` – Error * `Alert` – Alert * `None` – None eventEmailFormat: type: string enum: – HTML – PLAIN_TEXT description: Format of the email: * `HTML` – Html * `PLAIN_TEXT` – Plain Text fieldType: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME description: FieldType: * `BINARY` – Binary * `BOOLEAN` – Boolean * `DATE` – Date * `DATETIME` – Datetime * `LOCALDATETIME` – Localdatetime * `DOUBLE` – Double * `ENUM` – Enum * `INTEGER` – Integer * `MONEY` – Money * `STRING` – String * `TIME` – Time fileFormat: type: string enum: – CSV – FLAT – JSON – XML description: FileFormat: * `CSV` – Csv * `FLAT` – Flat * `JSON` – Json * `XML` – Xml hookFunction: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE description: HookFunction: * `BEFORE_PARSE` – Before parse * `BEFORE_CONVERSION` – Before conversion * `ON_ERROR` – On error * `VALIDATE` – Validate eventType: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START description: EventType: * `CHUNK` – Chunk * `DOWNLOAD` – Download * `ERROR` – Error * `FINISH` – Finish * `START` – Start errorStrategy: type: string enum: – CALL_SCRIPT – IGNORE – STOP description: ErrorStrategy: * `CALL_SCRIPT` – Call script * `IGNORE` – Ignore * `STOP` – Stop status: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING description: Status: * `DONE` – Done * `DONE_WITH_ERRORS` – Done with errors * `DOWNLOADING` – Downloading * `ERROR` – Error * `NOT_STARTED` – Not started * `RUNNING` – Running errorType: type: string enum: – CONVERT_ERROR – SERVICE_ERROR description: ErrorType: * `CONVERT_ERROR` – Convert error * `SERVICE_ERROR` – Service error healthcheckDTO: type: string enum: – UP – DOWN description: Status do healthcheck: * `UP` – Saudável * `DOWN` – Ruim ordination: description: Dados da ordenação type: object required: – field properties: field: type: string description: Campo que será ordenado order: type: string allOf: – #/definitions/directionType description: Tipo da ordenação paged: description: Retorno paginado discriminator: _discriminator type: object required: – totalElements – numberPages – _discriminator properties: totalElements: type: integer format: int64 description: Indica quantos registros foram encontrados numberPages: type: integer format: int64 description: Indica o número de páginas da consulta (incluindo a atual) _discriminator: type: string description: pagination: description: Dados da paginação type: object required: – offset – size properties: offset: type: integer format: int64 description: Página de inicio size: type: integer format: int64 description: Quantidade de registros por página employeePagedList: description: Contrato da lista de colaboradores (paginado) allOf: – #/definitions/paged – type: object required: – employeeList properties: employeeList: type: array items: type: object allOf: – #/definitions/employeeDTO minimum: 1 description: Lista de colaboradores employeeDTO: description: Contrato do colaborador type: object required: – id – fullName properties: id: type: string description: ID do colaborador registerNumber: type: integer format: int64 description: Código do colaborador fullName: type: string description: Nome completo do colaborador personId: type: string description: ID da pessoa employeeMeetingPagedList: description: Contrato do DTO dos colaboradores paginado allOf: – #/definitions/paged – type: object required: – employeeMeetingDTO properties: employeeMeetingDTO: type: array items: type: object allOf: – #/definitions/employeeMeetingDTO minimum: 1 description: employeeMeetingDTO: description: DTO para colaboradores de uma reunião type: object required: – id – registerNumber – fullName – lastMeeting – nextMeeting properties: id: type: string description: ID do colaborador registerNumber: type: integer format: int64 description: Código do colaborador fullName: type: string description: Nome completo do colaborador photo: type: string description: Link da foto do colaborador jobPosition: type: object allOf: – #/definitions/jobPositionDTO description: Cargo do colaborador workstationGroup: type: object allOf: – #/definitions/workstationGroupDTO description: Grupo de trabalho do colaborador lastMeeting: type: object allOf: – #/definitions/meetingDTO description: Última reunião nextMeeting: type: object allOf: – #/definitions/meetingDTO description: Próxima reunião meetingTopicDTO: description: Contrato da pauta a ser salva na reunião type: object required: – description – sequence properties: id: type: string description: Identificador da pauta description: type: string description: Descrição da pauta sequence: type: integer format: int64 description: Sequência da pauta createdMeetingDTO: description: Contrato referente ao retorno das reuniões salvas e suas pautas type: object required: – createdMeetingId – createdMeetingTopicsIds properties: createdMeetingId: type: string description: Identificador da reunião criada createdMeetingTopicsIds: type: array items: type: string minimum: 1 description: Identificadores das pautas criadas updateMeetingTopicDTO: description: Modelo de dado da pauta da reunião type: object required: – id – finished properties: id: type: string description: Identificador finished: type: boolean description: Define se a pauta foi finalizada updatedMeetingOutput: description: Contrato referente ao retorno da reunião editada e suas pautas type: object required: – updatedMeetingId – updatedMeetingTopicsIds properties: updatedMeetingId: type: string description: Identificador da reunião editada updatedMeetingTopicsIds: type: array items: type: string minimum: 1 description: Identificadores das pautas editadas ou criadas createdMeetingMessageDTO: description: Contrato referente ao retorno da mensagem salva de uma reunião type: object required: – id – lastUpdateDate – message – privateMessage – isAuthor properties: id: type: string description: Identificador do comentário criado na reunião lastUpdateDate: type: string format: date-time description: Identificadores das pautas criadas message: type: string description: Conteúdo da mensagem privateMessage: type: boolean description: define se a mensagem é privada isAuthor: type: boolean description: Define se o usuario ativo é o criador da mensagem jobPositionDTO: description: DTO do cargo type: object required: – id – name properties: id: type: string description: id do cargo name: type: string description: nome do cargo atual do colaborador workstationGroupDTO: description: DTO do grupo de trabalho type: object required: – id – name properties: id: type: string description: id do posto name: type: string description: nome do posto atual do colaborador meetingDTO: description: DTO dados da reunião type: object required: – idMeeting – meetingDate – meetingHour – finished properties: idMeeting: type: string description: id da reunião meetingDate: type: string format: date description: data da reunião meetingHour: type: string description: hora da reunião finished: type: boolean description: indica se a está finalizada meetingRegistryPersonDTO: description: DTO da pessoa type: object required: – id – name – registerNumber properties: id: type: string description: id da pessoa name: type: string description: nome da pessoa registerNumber: type: integer format: int64 description: Código do colaborador meetingRegistryDTO: description: Contrato referente ao retorno da reunião e suas pautas type: object required: – id – title – organizer – participant – referenceDate – starthour – endhour – isOrganizer – meetingTopics properties: id: type: string description: Identificador da reunião type: string description: Título da reunião organizer: type: object allOf: – #/definitions/meetingRegistryPersonDTO description: organizador da reunião participant: type: object allOf: – #/definitions/meetingRegistryPersonDTO description: participante da reunião referenceDate: type: string format: date description: Data referenciada starthour: type: string description: hora de início endhour: type: string description: hora de término isOrganizer: type: boolean description: define se o usuário ativo é o organizador da reunião isFinished: type: boolean description: Indica se a reunião está finalizada meetingTopics: type: array items: type: object allOf: – #/definitions/meetingRegistryTopicDTO minimum: 1 description: Pautas da reunião meetingRegistryTopicDTO: description: DTO dos tópicos da reunião type: object required: – id – employee – description – sequence – photo – usercreated properties: id: type: string description: id da pessoa employee: type: string description: codigo do colaboradore description: type: string description: descrição da pauta sequence: type: integer format: int64 description: Sequencia photo: type: string description: Foto do colaboradore usercreated: type: boolean description: define se o usuário ativo foi o criador da pauta finished: type: boolean description: define se a pauta foi finalizada getMeetingMessagesDTO: description: type: object required: – id – message – privateMessage – lastUpdateDate – isAuthor – fullName – photoLink properties: id: type: string description: ID da mensagem message: type: string description: Conteúdo da mensagem privateMessage: type: boolean description: define se a mensagem é privada lastUpdateDate: type: string format: date-time description: Data da ultima atualizacao isAuthor: type: boolean description: Define se o usuario ativo é o criador da mensagem fullName: type: string description: Nome do colaborador que criou a mensagem photoLink: type: string description: Link da foto do colaborador que criou a mensagem jobPosition: type: string description: Cargo do colaborador que criou a mensagem getEmployeeMeetingHistoryDTO: description: type: object required: – meeting – title – referenceDate – startHour – state – isOrganizer – organizerEmployee properties: meeting: type: string description: ID da reunião type: string description: Título da reunião referenceDate: type: string format: date description: Data da reunião startHour: type: string description: Horário de início state: type: string allOf: – #/definitions/meetingState description: Estado da reunião isOrganizer: type: boolean description: Define se o usuário ativo é o organizador da reunião organizerEmployee: type: object allOf: – #/definitions/organizerEmployeeDTO description: Organizador da reuniao getEmployeeMeetingHistoryPagedList: description: allOf: – #/definitions/paged – type: object required: – getEmployeeMeetingHistoryDTO properties: getEmployeeMeetingHistoryDTO: type: array items: type: object allOf: – #/definitions/getEmployeeMeetingHistoryDTO minimum: 1 description: Lista de reuniões organizerEmployeeDTO: description: type: object required: – id – fullName – photo properties: id: type: string description: ID do colaborador fullName: type: string description: Nome do colaborador photo: type: string description: Link da foto do colaborador meeting: description: Reunião type: object required: – title – organizer – participant – referenceDate – startHour – endHour properties: id: type: string format: uuid description: Id da reunião type: string maxLength: 70 description: Título organizer: type: object allOf: – #/definitions/employee description: Organizador participant: type: object allOf: – #/definitions/employee description: Participante referenceDate: type: string format: date description: Data de referência startHour: type: string description: Horário de inicio endHour: type: string description: Horário de término finished: type: boolean description: Finalizada default: false meetingTopic: description: Tópico de uma reunião type: object required: – meeting – employee – description – sequence properties: id: type: string format: uuid description: Id da reunião meeting: type: object allOf: – #/definitions/meeting description: Reunião employee: type: object allOf: – #/definitions/employee description: Colaborador que criou o tópico description: type: string maxLength: 90 description: Descrição sequence: type: integer format: int64 description: Sequência finished: type: boolean description: Finalizado default: false meetingMessage: description: Mensagem de uma reunião type: object required: – id – meeting – employee – message – lastUpdateDate properties: id: type: string format: uuid description: Id da mensagem meeting: type: object allOf: – #/definitions/meeting description: Reunião employee: type: object allOf: – #/definitions/employee description: Colaborador que criou a mensagem message: type: string maxLength: 2000 description: mensagem privateMessage: type: boolean description: se a mensagem é privada default: false lastUpdateDate: type: string format: date-time description: data de atualização da mensagem company: description: Empresa type: object required: – id properties: id: type: string description: Identificador único da empresa companyname: type: string description: Nome da empresa headquarter: type: string description: Empresa a qual a filial está ligada code: type: integer format: int64 description: Código da empresa tradingname: type: string description: Nome fantasia. editCompany: type: object required: – id allOf: – #/definitions/company employee: description: Colaborador. type: object properties: id: type: string description: Id do colaborador person: type: object allOf: – #/definitions/person description: Relacionamento com a pessoa hireDate: type: string format: date description: Data de admissão dismissalDate: type: string format: date description: Data de demissão do colaborador (Se for o caso) department: type: object allOf: – #/definitions/department description: Departamento jobposition: type: object allOf: – #/definitions/jobposition description: Cargo employer: type: object allOf: – #/definitions/company description: Filial companyNumber: type: integer format: int64 description: Número da empresa registerNumber: type: integer format: int64 description: Número de registro do contrato employeeType: type: string allOf: – #/definitions/employeeType description: Tipo de colaborador department: description: Departamento type: object required: – name properties: id: type: string maxLength: 32 description: Id do departamento name: type: string maxLength: 60 description: Nome companyhierarchy: description: Lista de hierarquia por empresa type: object required: – company – hierarchy – startdate properties: id: type: string maxLength: 32 description: Identificador do hierarquia da empresa company: type: object allOf: – #/definitions/company description: Empresa hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia startdate: type: string format: date description: Data de início hierarchy: description: Hierarquia type: object required: – id – name – description properties: id: type: string description: Identificador único da hierarquia name: type: string description: Nome da hierarquia description: type: string description: Descrição da hierarquia editHierarchy: type: object required: – id allOf: – #/definitions/hierarchy hierarchyitem: description: Hierarquia de postos da empresa type: object required: – hierarchy – parent – position properties: id: type: string maxLength: 32 description: Identificador da hierarquia hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia workstation: type: object allOf: – #/definitions/workstation description: Identificador do grupo de trabalho parent: type: object allOf: – #/definitions/hierarchyitem description: Identificador do líder imediato position: type: string description: Posicão editHierarchyitem: type: object required: – id allOf: – #/definitions/hierarchyitem jobposition: description: Cargo type: object required: – id properties: id: type: string description: Identificador único do cargo name: type: string description: Nome do cargo editJobposition: type: object required: – id allOf: – #/definitions/jobposition workstationgroup: description: Grupo de postos de trabalho type: object required: – id properties: id: type: string description: Identificador único do grupo de posto de trabalho name: type: string description: Nome do grupo de postos de trabalho movimentation: description: Movimentação do colaborador type: object required: – id – employee – newworkstation properties: id: type: string description: Identificador único da movimentação employee: type: object allOf: – #/definitions/employee description: Colaborador da movimentação newworkstation: type: object allOf: – #/definitions/workstation description: Posto person: description: Pessoa. type: object required: – fullName – firstname – lastname properties: id: type: string description: Id da pessoa fullName: type: string description: Nome completo firstname: type: string description: Primeiro nome middlename: type: string description: Segundo nome lastname: type: string description: Último nome userName: type: string description: Nome de usuário thumbnailAttachment: type: string maxLength: 32 description: Identificador do anexo que contém o thumbnail da foto da pessoa attachment: type: string maxLength: 32 description: Identificador do anexo que contém a foto da pessoa workstation: description: Tabela do grupo de trabalho type: object required: – company – occupant properties: id: type: string maxLength: 32 description: ID do grupo de trabalho company: type: object allOf: – #/definitions/company description: Empresa ligada ao grupo de trabalho occupant: type: object allOf: – #/definitions/employee description: Empregado alocado no posto de trabalho workstationgroup: type: object allOf: – #/definitions/workstationgroup description: Grupo de posto de trabalho que este posto pertence hierarchyitens: type: array items: type: object allOf: – #/definitions/hierarchyitem description: hierarquia do cargo e líder attachment: description: Anexo type: object required: – name properties: id: type: string maxLength: 32 description: Identificador único do anexo name: type: string description: Nome do anexo editAttachment: type: object required: – id allOf: – #/definitions/attachment employeeEmail: description: type: object required: – id – employeeId – email properties: id: type: string description: Id employeeId: type: string description: email: type: string description: Email do colaborador 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 enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE description: A symbolic code identifying the category of the reason of the error: * `BAD_REQUEST` – Bad Request * `UNAUTHORIZED` – Unauthorized * `PAYMENT_REQUIRED` – Payment Required * `OBJECT_NOT_FOUND` – Object Not Found * `REQUEST_TIMEOUT` – Request Timeout * `GONE` – Gone * `UNPROCESSABLE` – Unprocessable * `INTERNAL_ERROR` – Internal Error * `NOT_IMPLEMENTED` – Not Implemented * `SERVICE_UNAVAILABLE` – Service Unavailable * `INSUFFICIENT_STORAGE` – Insufficient Storage