Platforma (platform)

Workflow (workflow)

1660 views 22/10/2018 20/10/2021 integrador 0

2.0info: 5.39.5 Workflow description: Serviço de Workflow x-senior-domain: Plataforma x-senior-domain-path: platform x-senior-service-path: workflow 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/platformsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /workflow/queries/getProcessInfo: post: description: Retorna informações sobre o cadastro de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – id – processVersion – name – isActive – countIntegrationErrors – isSimple properties: id: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo isActive: type: boolean description: O Processo está ativo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB icon: type: string description: Icone do Processo taskVisibleAfterTreated: type: string allOf: – #/definitions/variableVisibility description: Tarefa vísivel após tratada viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo countIntegrationErrors: type: integer format: int64 description: Contador com a quantidade de erros de integração da última semana isSimple: type: boolean description: Identificador se o processo é simples ou BPM enableRating: type: boolean description: Indicador de avaliação habilitada/desabilitada para o processo rating: type: number format: double description: Avaliação média do processo ratingCount: type: integer format: int64 description: Quantidade de avaliações 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna informações sobre o cadastro de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – id – processVersion – name – isActive – countIntegrationErrors – isSimple properties: id: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo isActive: type: boolean description: O Processo está ativo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB icon: type: string description: Icone do Processo taskVisibleAfterTreated: type: string allOf: – #/definitions/variableVisibility description: Tarefa vísivel após tratada viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo countIntegrationErrors: type: integer format: int64 description: Contador com a quantidade de erros de integração da última semana isSimple: type: boolean description: Identificador se o processo é simples ou BPM enableRating: type: boolean description: Indicador de avaliação habilitada/desabilitada para o processo rating: type: number format: double description: Avaliação média do processo ratingCount: type: integer format: int64 description: Quantidade de avaliações 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessRatings: post: description: Lista as avaliações de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Id do processo activity: type: string description: Nome da atividade avaliada startDate: type: string format: date description: Listar apenas avaliações feitas após a data inicial endDate: type: string format: date description: Listar apenas avaliações feitas antes da data final page: type: integer format: int64 description: Número da página, o valor default é 1, sendo também o valor mínimo minimum: 1 default: 1 size: type: integer format: int64 description: Tamanho da página, o valor default é 10 sendo o valor mínimo 1 minimum: 1 default: 10 responses: 200: description: Ok schema: type: object required: – ratings – totalPages – totalElements properties: ratings: type: array items: type: object allOf: – #/definitions/processRatingSummary minimum: 1 description: Lista de avaliações de acordo com os filtros aplicados totalPages: type: integer format: int64 description: Quantidade total de páginas totalElements: type: integer format: int64 description: Quantidade total de elementos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista as avaliações de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Id do processo in: query required: true type: integer format: int64 – name: activity description: Nome da atividade avaliada in: query type: string – name: startDate description: Listar apenas avaliações feitas após a data inicial in: query type: string format: date – name: endDate description: Listar apenas avaliações feitas antes da data final in: query type: string format: date – name: page description: Número da página, o valor default é 1, sendo também o valor mínimo in: query type: integer format: int64 – name: size description: Tamanho da página, o valor default é 10 sendo o valor mínimo 1 in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – ratings – totalPages – totalElements properties: ratings: type: array items: type: object allOf: – #/definitions/processRatingSummary minimum: 1 description: Lista de avaliações de acordo com os filtros aplicados totalPages: type: integer format: int64 description: Quantidade total de páginas totalElements: type: integer format: int64 description: Quantidade total de elementos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/requestUrlsForProcessUpload: post: description: Requisita as URLs para upload do modelo e svg do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – forPublication properties: processId: type: integer format: int64 description: Id do processo forPublication: type: boolean description: Se está publicando responses: 200: description: Ok schema: type: object required: – processModel properties: processModel: type: object allOf: – #/definitions/fileToUpload description: Modelo do processo processSvg: type: object allOf: – #/definitions/fileToUpload description: Svg do processo, apenas quando publica thumbnail: type: object allOf: – #/definitions/fileToUpload description: Miniatura do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Requisita as URLs para upload do modelo e svg do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Id do processo in: query required: true type: integer format: int64 – name: forPublication description: Se está publicando in: query required: true type: boolean responses: 200: description: Ok schema: type: object required: – processModel properties: processModel: type: object allOf: – #/definitions/fileToUpload description: Modelo do processo processSvg: type: object allOf: – #/definitions/fileToUpload description: Svg do processo, apenas quando publica thumbnail: type: object allOf: – #/definitions/fileToUpload description: Miniatura do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/isPendencyAssumed: post: description: Verifica se a pendência já foi assumida tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – flowToken properties: flowToken: type: object allOf: – #/definitions/serviceFlowToken description: Identificador da pendência responses: 200: description: Ok schema: type: object required: – status properties: status: type: string allOf: – #/definitions/pendencyAssumedStatus description: Status da pendência em lote 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getRequestProgress: post: description: Retorna uma lista com o progresso das minhas solicitações que estão mais perto de concluir, permite filtrar por um número de solicitação específico ou nome do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: size: type: integer format: int64 description: Quantidade de registros default: 5 responses: 200: description: Ok schema: type: object required: – requestProgress properties: requestProgress: type: array items: type: object allOf: – #/definitions/requestProgress minimum: 1 description: Lista do progresso de cada requisição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna uma lista com o progresso das minhas solicitações que estão mais perto de concluir, permite filtrar por um número de solicitação específico ou nome do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: size description: Quantidade de registros in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – requestProgress properties: requestProgress: type: array items: type: object allOf: – #/definitions/requestProgress minimum: 1 description: Lista do progresso de cada requisição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getWidgetDataExpirationByUser: post: description: Retorna lista de status de expirações e a quantidade de pendências em cada status tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: responsibleId: type: integer format: int64 description: Id do responsável a ser verificado as expirações das pendências, caso não seja informado utiliza o usuário corrente responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/expirationCount minimum: 1 description: Items com status e quantidade no status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de status de expirações e a quantidade de pendências em cada status tags: – Queries x-senior-visibility: PRIVATE parameters: – name: responsibleId description: Id do responsável a ser verificado as expirações das pendências, caso não seja informado utiliza o usuário corrente in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/expirationCount minimum: 1 description: Items com status e quantidade no status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listTasksBatchProcess: post: description: Lista as tarefas para tratamento em lote tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processId: type: integer format: int64 description: Id do processo activity: type: string description: Id da atividade start: type: integer format: int64 description: Começar da página default: 0 limit: type: integer format: int64 description: Quantidade de registros por página default: 10 filters: type: array items: type: object allOf: – #/definitions/filter description: filtros orders: type: array items: type: object allOf: – #/definitions/order description: Ordenação responses: 200: description: Ok schema: type: object properties: groups: type: array items: type: object allOf: – #/definitions/batch description: Lotes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/canOpenTask: post: description: Verifica e pode abrir uma tarefa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Id do processo responses: 200: description: Ok schema: type: object required: – canOpen properties: canOpen: type: boolean description: Se pode abrir a tarefa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica e pode abrir uma tarefa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Id do processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – canOpen properties: canOpen: type: boolean description: Se pode abrir a tarefa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPublishedProcess: post: description: Processos Publicado no Workflow tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: processes: type: array items: type: object allOf: – #/definitions/serviceProcess description: Lista de Processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Processos Publicado no Workflow tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: processes: type: array items: type: object allOf: – #/definitions/serviceProcess description: Lista de Processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessEcm: post: description: Obtém a entidade e versão do processo associado a um formuláio ECM tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do Processo responses: 200: description: Ok schema: type: object required: – entityName – formVersion properties: entityName: type: string description: Nome da Entidade formVersion: type: integer format: int64 description: Número da Versão do Formulário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a entidade e versão do processo associado a um formuláio ECM tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Identificador do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – entityName – formVersion properties: entityName: type: string description: Nome da Entidade formVersion: type: integer format: int64 description: Número da Versão do Formulário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getCurrentTaskInfo: post: description: Obtém Informações da atividade atual de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: FlowToken da pendência responses: 200: description: Ok schema: type: object required: – processName – taskName properties: processName: type: string description: Nome do Processo taskName: type: string description: Label da Atividade 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessIcon: post: description: DEPRECADO Obtém o icone de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – processVersion properties: processId: type: integer format: int64 description: Identificador do Processo processVersion: type: integer format: int64 description: Número da Versão do Processo responses: 200: description: Ok schema: type: object required: – icon properties: icon: type: string description: Binário do Icone do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: DEPRECADO Obtém o icone de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Identificador do Processo in: query required: true type: integer format: int64 – name: processVersion description: Número da Versão do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – icon properties: icon: type: string description: Binário do Icone do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessSvg: post: description: Obtém Svg (Scalable Vector Graphics) de uma instancia de processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processId: type: integer format: int64 description: Identificador do Processo processVersion: type: integer format: int64 description: Número da Versão do Processo serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Token do Worfklow que indica processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso returnCurrentSvgTaskId: type: boolean description: . default: false responses: 200: description: Ok schema: type: object required: – svg – svgTaskId properties: svg: type: string description: Retorna o SVG em formato string svgTaskId: type: string description: Retorna o ID da task atual no SVG 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessSvg__2: post: description: Obtém Svg (Scalable Vector Graphics) de uma instancia de processo. Nesta versão os dados do svg são trafegados via BlobService tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processId: type: integer format: int64 description: Identificador do Processo processVersion: type: integer format: int64 description: Número da Versão do Processo serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Token do Worfklow que indica processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso returnCurrentSvgTaskId: type: boolean description: . default: false responses: 200: description: Ok schema: type: object required: – svgUrl – svgTaskId properties: svgUrl: type: string description: Retorna a url onde o SVG está disponível svgTaskId: type: string description: Retorna o ID da task atual no SVG 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessMetadata: post: description: Retorna um json com a estrutura de artefatos da última versão de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do Processo responses: 200: description: Ok schema: type: object required: – meta properties: meta: type: string description: Metadata do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna um json com a estrutura de artefatos da última versão de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Identificador do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – meta properties: meta: type: string description: Metadata do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getDeployedProcessModel: post: description: Obtém o JSON do processo, para o modelador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do Processo responses: 200: description: Ok schema: type: object required: – jsonProcess properties: id: type: integer format: int64 description: Id do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB jsonProcess: type: string description: json do modelo do processo icon: type: string description: Icone do Processo taskVisibleAfterTreated: type: boolean description: Tarefa vísivel após tratada viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o JSON do processo, para o modelador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Identificador do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – jsonProcess properties: id: type: integer format: int64 description: Id do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB jsonProcess: type: string description: json do modelo do processo icon: type: string description: Icone do Processo taskVisibleAfterTreated: type: boolean description: Tarefa vísivel após tratada viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getDeployedProcessModel__2: post: description: Obtém o JSON do processo, para o modelador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do Processo responses: 200: description: Ok schema: type: object required: – jsonProcess properties: id: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB jsonProcess: type: string description: json do modelo do processo icon: type: string description: Icone do Processo variableVisibility: type: string allOf: – #/definitions/variableVisibility description: Configuração de visibilidade das variáveis viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo processDocumentConfigId: type: string description: Identificador para Configuração de Integração Documentos GED 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o JSON do processo, para o modelador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Identificador do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – jsonProcess properties: id: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo name: type: string description: Nome do processo description: type: string description: Descrição do processo tag: type: string description: Categoria do processo owner: type: string description: Dono do processo executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB jsonProcess: type: string description: json do modelo do processo icon: type: string description: Icone do Processo variableVisibility: type: string allOf: – #/definitions/variableVisibility description: Configuração de visibilidade das variáveis viewName: type: string description: Nome da view para visões dinâmicas generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas processKey: type: string description: Nome da Chave do processo processDocumentConfigId: type: string description: Identificador para Configuração de Integração Documentos GED 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getThirdPartyRequestByStatus: post: description: Lista as solicitações de Aplicações Terceiras por Status tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processKey – status properties: processKey: type: string description: Nome da Chave do Processo status: type: string allOf: – #/definitions/pendencyType description: Status da PendÊncia responses: 200: description: Ok schema: type: object required: – requests properties: requests: type: array items: type: object allOf: – #/definitions/thirdpartyRequestResume minimum: 1 description: Solicitações Terceiras 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/findProcess: post: description: Retorna um processo do workflow tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: Filtra pelo id responses: 200: description: Ok schema: type: object required: – process properties: process: type: object allOf: – #/definitions/serviceProcess description: Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna um processo do workflow tags: – Queries x-senior-visibility: PUBLIC parameters: – name: id description: Filtra pelo id in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – process properties: process: type: object allOf: – #/definitions/serviceProcess description: Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessesList: post: description: Obtém os processos ativos que o usuário logado tem algum tipo de permissão. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – serviceAction properties: serviceAction: type: string allOf: – #/definitions/serviceType description: Tipo de Ação que indica quais processos serão listado processFilterType: type: string allOf: – #/definitions/processFilterType description: Filtro por tipo de processo tagFilter: type: string description: Tag para filtro onlyActiveProcesses: type: boolean description: Apenas retorna processos ativos default: true serviceEventStartDate: type: string format: date-time description: A partir de qual data buscar eventos de serviços externos responses: 200: description: Ok schema: type: object properties: processes: type: array items: type: object allOf: – #/definitions/serviceProcess description: Lista de Processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getRankingProcesses: post: description: Lista os processos mais utilizados pelo usuário tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: start: type: string format: date-time description: Data Inicial para processar o ranking, se não informada usa data hoje menos 6 meses end: type: string format: date-time description: Data Final para processar o ranking, se não informado usa data hoje limit: type: integer format: int64 description: Especifica o número de procesos para retornar default: 3 responses: 200: description: Ok schema: type: object properties: processes: type: array items: type: object allOf: – #/definitions/processRanking description: Lista de Processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os processos mais utilizados pelo usuário tags: – Queries x-senior-visibility: PUBLIC parameters: – name: start description: Data Inicial para processar o ranking, se não informada usa data hoje menos 6 meses in: query type: string format: date-time – name: end description: Data Final para processar o ranking, se não informado usa data hoje in: query type: string format: date-time – name: limit description: Especifica o número de procesos para retornar in: query type: integer format: int64 responses: 200: description: Ok schema: type: object properties: processes: type: array items: type: object allOf: – #/definitions/processRanking description: Lista de Processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getMyPendencies: post: description: DEPRECADO – Obtém as pendências do usuário logado conforme o tipo. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: pendencyRequestParameters: type: object allOf: – #/definitions/pendencyRequestParameters description: . responses: 200: description: Ok schema: type: object required: – pendencies properties: pendencies: type: array items: type: object allOf: – #/definitions/pendency minimum: 1 description: . total: type: integer format: int64 description: . 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getUserAssociatedPendencies: post: description: DEPRECADO – Obtém as pendências dos grupos e papéis associados ao usuário logado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: filter: type: object allOf: – #/definitions/servicePendencyFilter description: . responses: 200: description: Ok schema: type: object required: – pendencies properties: pendencies: type: array items: type: object allOf: – #/definitions/pendency minimum: 1 description: . total: type: integer format: int64 description: . 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/searchTags: post: description: Busca as tags na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtra pelo nome page: type: integer format: int64 description: Página size: type: integer format: int64 description: Tamanho da página responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca as tags na base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtra pelo nome in: query type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/searchProcesses: post: description: Busca os processos da base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtra pelo nome page: type: integer format: int64 description: Página size: type: integer format: int64 description: Tamanho da página responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os processos da base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtra pelo nome in: query type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de processos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/searchProcessVariables: post: description: Busca as variáveis de um determinado processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtra pelo nome page: type: integer format: int64 description: Página size: type: integer format: int64 description: Tamanho da página process_task: type: array items: type: integer format: int64 description: Id do processo process_request: type: array items: type: integer format: int64 description: Id do processo process_pool: type: array items: type: integer format: int64 description: Id do processo process_management: type: array items: type: integer format: int64 description: Id do processo responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de variáveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca as variáveis de um determinado processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtra pelo nome in: query type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: process_task description: Id do processo in: query type: array items: type: integer format: int64 – name: process_request description: Id do processo in: query type: array items: type: integer format: int64 – name: process_pool description: Id do processo in: query type: array items: type: integer format: int64 – name: process_management description: Id do processo in: query type: array items: type: integer format: int64 responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de variáveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/searchSubjects: post: description: Busca os usuários da base – deprecado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtra pelo nome page: type: integer format: int64 description: Página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de usuários 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os usuários da base – deprecado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtra pelo nome in: query type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchResult minimum: 1 description: lista de usuários 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/searchUsers: post: description: Busca os usuários da base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtra pelo login e pelo nome page: type: integer format: int64 description: Página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 onlyActive: type: boolean description: Considerar somente usuários que não estão bloqueados default: false responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchUserResult minimum: 1 description: lista de usuários totalElements: type: integer format: int64 description: Total de Itens totalPages: type: integer format: int64 description: Total de Páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os usuários da base tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtra pelo login e pelo nome in: query type: string – name: page description: Página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: onlyActive description: Considerar somente usuários que não estão bloqueados in: query type: boolean responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/searchUserResult minimum: 1 description: lista de usuários totalElements: type: integer format: int64 description: Total de Itens totalPages: type: integer format: int64 description: Total de Páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listProcesses: post: description: Obtém a listagem de processos que o usuário logado tem permissão de edição tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cursor: type: string description: Cursor de paginação pageSize: type: integer format: int64 description: Quantidade de itens por página minimum: 1 maximum: 40 default: 10 orders: type: array items: type: object allOf: – #/definitions/processOrder description: Ordenação filters: type: array items: type: object allOf: – #/definitions/apiFilter description: Filtros ratingFilters: type: array items: type: object allOf: – #/definitions/apiFilter description: Filtros responses: 200: description: Ok schema: type: object properties: result: type: array items: type: object allOf: – #/definitions/processListItem description: Lista de Processos nextCursor: type: string description: Cursor para buscar próxima página de resultados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listProcessesAuthors: post: description: Lista todos os autores dos processos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: search: type: string description: Busca pelo nome pageSize: type: integer format: int64 description: Tamanho da página default: 10 pageNumber: type: integer format: int64 description: Número da página default: 0 responses: 200: description: Ok schema: type: object properties: authors: type: array items: type: object allOf: – #/definitions/ProcessAuthor description: Lista de autores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todos os autores dos processos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: search description: Busca pelo nome in: query type: string – name: pageSize description: Tamanho da página in: query type: integer format: int64 – name: pageNumber description: Número da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object properties: authors: type: array items: type: object allOf: – #/definitions/ProcessAuthor description: Lista de autores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listTasks: post: description: Listar tarefas na nova central de tarefas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – kind – groupBy – start – limit – startTask – limitTask properties: kind: type: string allOf: – #/definitions/taskListItemType description: Tipo de item da central de tarefas groupBy: type: string allOf: – #/definitions/groupBy description: Agrupado por filters: type: array items: type: object allOf: – #/definitions/filter description: Filtros orders: type: array items: type: object allOf: – #/definitions/order description: Ordenação start: type: integer format: int64 description: Início limit: type: integer format: int64 description: Quantidade startTask: type: integer format: int64 description: Faixa inicial da consulta de tarefas limitTask: type: integer format: int64 description: Quantidade de tarefas da consulta group: type: string description: Filtrar por grupo responses: 200: description: Ok schema: type: object required: – count properties: groups: type: array items: type: object allOf: – #/definitions/group description: Agrupamentos count: type: integer format: int64 description: Total de itens 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido 403: description: Permissão negada default: description: Error response schema: #/definitions/genericError /workflow/queries/searchTasks: post: description: Listar tarefas na nova central de tarefas tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: filter: type: object allOf: – #/definitions/searchTasksFilter description: Filtros para pesquisa pagination: type: object allOf: – #/definitions/pagination description: Paginação orders: type: array items: type: object allOf: – #/definitions/order description: Ordenação responses: 200: description: Ok schema: type: object required: – tasks – total properties: tasks: type: array items: type: object allOf: – #/definitions/task minimum: 1 description: Lista de tarefas total: type: integer format: int64 description: Total de registros 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido 403: description: Permissão negada default: description: Error response schema: #/definitions/genericError /workflow/queries/getTasksTotalizer: post: description: Totalizadores tarefas na nova central de tarefas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – kind properties: kind: type: string allOf: – #/definitions/taskListItemType description: Tipo do item a exibir filters: type: array items: type: object allOf: – #/definitions/filter description: filtros responses: 200: description: Ok schema: type: object required: – pendingCount – expiresTodayCount – expiredCount – unreadedCount – treatedCount – tasksTotalCount – inProgressCount – canceledCount – completedCount – requestsTotalCount properties: pendingCount: type: integer format: int64 description: Tarefas Pendentes expiresTodayCount: type: integer format: int64 description: Tarefas que expiram em 24 horas expiredCount: type: integer format: int64 description: Tarefas que já estão expiradas unreadedCount: type: integer format: int64 description: Tarefas Não Lidas treatedCount: type: integer format: int64 description: Tarefas tratadas tasksTotalCount: type: integer format: int64 description: Todas as tarefas inProgressCount: type: integer format: int64 description: Solicitação em progresso canceledCount: type: integer format: int64 description: Solicitações Canceladas completedCount: type: integer format: int64 description: Solicitação encerradas requestsTotalCount: type: integer format: int64 description: Todas as solicitações 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listPendencies: post: description: Obtém as pendências que foram atribuídas diretamente ao usuário logado\n e também as que foram atribuídas a um grupo ou papel relacionado ao mesmo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: filter: type: object allOf: – #/definitions/pendencyRequestParameters description: Filtro para busca orders: type: array items: type: object allOf: – #/definitions/keyValueRecord description: Ordenação da listagem responses: 200: description: Ok schema: type: object required: – pendencies properties: pendencies: type: array items: type: object allOf: – #/definitions/summarizedPendency minimum: 1 description: Pendências encontradas total: type: integer format: int64 description: Quantidade total de pendências atribuídas ao usuário logado com base nos filtros informados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listPendenciesByRequest: post: description: Lista todas as pendências em andamento de uma solicitação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Identificador da instância de Processo responses: 200: description: Ok schema: type: object required: – pendencies properties: pendencies: type: array items: type: object allOf: – #/definitions/summarizedPendency minimum: 1 description: Pendências encontradas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todas as pendências em andamento de uma solicitação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceId description: Identificador da instância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – pendencies properties: pendencies: type: array items: type: object allOf: – #/definitions/summarizedPendency minimum: 1 description: Pendências encontradas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getMyRequests: post: description: Obtém as solicitações do usuário logado conforme o tipo. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processInstanceRequestParameters: type: object allOf: – #/definitions/processInstanceRequestParameters description: Parametrização de Filtros da Instancia de Processo responses: 200: description: Ok schema: type: object properties: processInstances: type: array items: type: object allOf: – #/definitions/processInstance description: Lista de Instancia de Processos total: type: integer format: int64 description: Número Total de Instancia de Procesos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getMyRequestsResume: post: description: Obtem o resumo das solicitações tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: myRequestResumeParameters: type: object allOf: – #/definitions/myRequestResumeParameters description: Filtros para solicitações responses: 200: description: Ok schema: type: object properties: myRequestsResume: type: array items: type: object allOf: – #/definitions/myRequestsResume description: Lista com resumo das solicitações total: type: integer format: int64 description: Número Total de Instancia de Procesos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getRequestsResume: post: description: Obtem o resumo das solicitações tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object properties: start: type: integer format: int64 description: Faixa inicial da consulta limit: type: integer format: int64 description: Quantidade de linhas da consulta filterProcess: type: array items: type: integer format: int64 description: Filtro com lista de processos separado por virgula filterValue: type: string description: Filtro para buscar pelo nome da pendencia ou valor das variáveis do processo filter: type: array items: type: string allOf: – #/definitions/myRequestKind description: Filtro por status orders: type: array items: type: object allOf: – #/definitions/keyValueRecord description: situation: type: string allOf: – #/definitions/reportTaskExpirationStatus description: responses: 200: description: Ok schema: type: object properties: requestsResume: type: array items: type: object allOf: – #/definitions/myRequestsResume description: Lista com resumo das solicitações total: type: integer format: int64 description: Número Total de Instancia de Procesos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPendency: post: description: Obtém os dados de uma pendência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Identificador de uma pendência. responses: 200: description: Ok schema: type: object required: – pendency properties: pendency: type: object allOf: – #/definitions/pendency description: Objeto que presenta uma pendência 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPendencyAccessUrl: post: description: Obtém a url de acesso de uma pendência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – flowToken properties: flowToken: type: object allOf: – #/definitions/flowToken description: Identificador de uma pendência. responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url de acesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessInstance: post: description: Obtém os as informações de uma instância de processo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processInstance properties: processInstance: type: integer format: int64 description: Identificador da instaância de Processo responses: 200: description: Ok schema: type: object required: – processInstance properties: processInstance: type: object allOf: – #/definitions/processInstance description: Objeto que representa uma instancia de processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém os as informações de uma instância de processo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: processInstance description: Identificador da instaância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – processInstance properties: processInstance: type: object allOf: – #/definitions/processInstance description: Objeto que representa uma instancia de processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessInstanceHistory: post: description: Obtém o histórico de uma pendência. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstance properties: processInstance: type: integer format: int64 description: Identificador da instância de Processo responses: 200: description: Ok schema: type: object required: – processInstanceHistory properties: processInstanceHistory: type: string description: Histórico da instância de processo em um formato JSON 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o histórico de uma pendência. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstance description: Identificador da instância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – processInstanceHistory properties: processInstanceHistory: type: string description: Histórico da instância de processo em um formato JSON 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getActivityHistory: post: description: Obtém o histórico de uma pendência. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: Identificador da instância de Processo responses: 200: description: Ok schema: type: object required: – activitiesHistory properties: activitiesHistory: type: array items: type: object allOf: – #/definitions/activityHistory minimum: 1 description: Lista de Atividades Histórica da Instancia de Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o histórico de uma pendência. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceID description: Identificador da instância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – activitiesHistory properties: activitiesHistory: type: array items: type: object allOf: – #/definitions/activityHistory minimum: 1 description: Lista de Atividades Histórica da Instancia de Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getRequestHistoryResume: post: description: Obtém o extrato de um solicitação. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: Identificador da instância de Processo responses: 200: description: Ok schema: type: object allOf: – #/definitions/requestHistoryResume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o extrato de um solicitação. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceID description: Identificador da instância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object allOf: – #/definitions/requestHistoryResume 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getRequestHistoryTimeline: post: description: Obtém uma linha do tempo com o registro de ações e observações de uma solicitação tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: Identificador da instância de Processo responses: 200: description: Ok schema: type: object required: – processName – timeline properties: processName: type: string description: Nome do processo timeline: type: array items: type: object allOf: – #/definitions/requestHistoryTimelineEntry minimum: 1 description: Representação da linha do tempo da solicitação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém uma linha do tempo com o registro de ações e observações de uma solicitação tags: – Queries x-senior-visibility: PUBLIC parameters: – name: processInstanceID description: Identificador da instância de Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – processName – timeline properties: processName: type: string description: Nome do processo timeline: type: array items: type: object allOf: – #/definitions/requestHistoryTimelineEntry minimum: 1 description: Representação da linha do tempo da solicitação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextSubject: post: description: Obtém um ou mais responsáveis possíveis da próxima tarefa. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken – sequenceName properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Token com informações da etapa do fluxo em andamento sequenceName: type: string description: Nome da Sequencia do Processo Modealdor authorization: type: string description: Token de autenticação da G7 responses: 200: description: Ok schema: type: object required: – subjects properties: subjects: type: array items: type: object allOf: – #/definitions/serviceSubject minimum: 1 description: sujeitos que podem receber a atribuição dependsOnNextStep: type: boolean description: Depende da execução do próxima etapa para identificar a atribuição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextSubjectFromInitialTask: post: description: Obtém um ou mais responsáveis possíveis da próxima tarefa em relação a tarefa inicial do processo. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processId – sequenceName properties: processId: type: integer format: int64 description: Identificador do Processo processVersion: type: integer format: int64 description: Versão do Processo sequenceName: type: string description: Nome da Sequencia do Processo Modealdor customParams: type: array items: type: object allOf: – #/definitions/keyValueRecord description: Parametros para Mecanismo Customizado authorization: type: string description: Token de autenticação da G7 responses: 200: description: Ok schema: type: object required: – subjects properties: subjects: type: array items: type: object allOf: – #/definitions/serviceSubject minimum: 1 description: sujeitos que podem receber a atribuição dependsOnNextStep: type: boolean description: Depende da execução do próxima etapa para identificar a atribuição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextAssignment: post: description: Obtém responsáveis pelo mecanismo de atribuição. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – type – value properties: type: type: string allOf: – #/definitions/assignmentType description: Tipo do Mecanismo de Associação value: type: string description: Valor de acordo com o tipo de Mecanismo de atribuição combination: type: array items: type: object allOf: – #/definitions/assignmentItem description: Parametros para mecanismo de atribuição por associação customParams: type: array items: type: object allOf: – #/definitions/keyValueRecord description: Parametros para mecanismo de atribuição customizado subjectKind: type: string allOf: – #/definitions/subjectKind description: Tipo do sujeito para variable de processos processInstanceId: type: integer format: int64 description: Identificador de uma instância do processo para carregamento de dados do fluxo responses: 200: description: Ok schema: type: object required: – subjects properties: subjects: type: array items: type: object allOf: – #/definitions/serviceSubject minimum: 1 description: Sujeitos encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextAssignmentCustom: post: description: Interface para Mecanismo de Atribuição Customizado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: customParams: type: array items: type: object allOf: – #/definitions/keyValueRecord description: Lisa de Parametros em formato chave-valor responses: 200: description: Ok schema: type: object required: – assignUsers properties: assignUsers: type: array items: type: string minimum: 1 description: Lista de Usuários obtido pelo Mecanismo de Atribuição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextAssignmentCustomG5: post: description: Interface para Mecanismo de Atribuição Customizado G5. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: customParams: type: array items: type: object allOf: – #/definitions/keyValueRecord description: Lisa de Parametros em formato chave-valor responses: 200: description: Ok schema: type: object required: – assignUsers properties: assignUsers: type: array items: type: string minimum: 1 description: Lista de Usuários obtido pelo Mecanismo de Atribuição 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPendencyProcessActions: post: description: Obtém as opções disponíveis para execução de uma pendência. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: responses: 200: description: Ok schema: type: object required: – pendencyProcessAction properties: pendencyProcessAction: type: array items: type: object allOf: – #/definitions/processAction minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPendencyProcessActionsFromInitialTask: post: description: Obtém as opções disponíveis para execução de uma pendência a partir da tarefa inicial do processo. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: processVersion: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – pendencyProcessAction properties: pendencyProcessAction: type: array items: type: object allOf: – #/definitions/processAction minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém as opções disponíveis para execução de uma pendência a partir da tarefa inicial do processo. tags: – Queries x-senior-visibility: PUBLIC parameters: – name: processId description: in: query required: true type: integer format: int64 – name: processVersion description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – pendencyProcessAction properties: pendencyProcessAction: type: array items: type: object allOf: – #/definitions/processAction minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getFormAccessProperties: post: description: Obtém as informações de acesso de um formulário necessárias para iniciar ou responder um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processState properties: processState: type: string allOf: – #/definitions/processState description: Estado do processo serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Identificação da pendência processId: type: integer format: int64 description: Id do processo authorization: type: string description: String de autorização para integrações responses: 200: description: Ok schema: type: object properties: accessPropertiesResponse: type: object allOf: – #/definitions/accessPropertiesResponse description: informações de acesso do formulário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPendenciesExpirationStatusReport: post: description: Obtém estatísticas da situação atual das tarefas (em dia, vencendo hoje e em atraso) tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportPendencyExpirationStatusVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas da situação atual das tarefas (em dia, vencendo hoje e em atraso) tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportPendencyExpirationStatusVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessStepsVolumeByPeriodReport: post: description: Obtém estatísticas sobre o volume de movimentos dos processos em um período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: start: type: string format: date-time description: end: type: string format: date-time description: limit: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – start – end – processes properties: start: type: string format: date-time description: end: type: string format: date-time description: processes: type: array items: type: object allOf: – #/definitions/reportProcessMovementsVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre o volume de movimentos dos processos em um período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: start description: in: query type: string format: date-time – name: end description: in: query type: string format: date-time – name: limit description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – start – end – processes properties: start: type: string format: date-time description: end: type: string format: date-time description: processes: type: array items: type: object allOf: – #/definitions/reportProcessMovementsVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getTasksByStepsAndProcess: post: description: Obtém estatísticas sobre o volume de tarefas em cada etapa de acordo com o processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: start: type: string format: date-time description: variable: type: string description: variableValue: type: string description: limit: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – prcNam – volumes properties: prcNam: type: string description: volumes: type: array items: type: object allOf: – #/definitions/reportTasksByStepsAndProcess minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre o volume de tarefas em cada etapa de acordo com o processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: in: query required: true type: integer format: int64 – name: start description: in: query type: string format: date-time – name: variable description: in: query type: string – name: variableValue description: in: query type: string – name: limit description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – prcNam – volumes properties: prcNam: type: string description: volumes: type: array items: type: object allOf: – #/definitions/reportTasksByStepsAndProcess minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessExpirationVolumeReport: post: description: Obtém estatísticas sobre o volume de atrasos dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – start – end – volumes properties: start: type: string format: date-time description: end: type: string format: date-time description: volumes: type: array items: type: object allOf: – #/definitions/reportProcessExpirationVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre o volume de atrasos dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – start – end – volumes properties: start: type: string format: date-time description: end: type: string format: date-time description: volumes: type: array items: type: object allOf: – #/definitions/reportProcessExpirationVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessVolumeReport: post: description: Obtém estatísticas sobre o volume dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – start – end – volumes properties: start: type: string format: date-time description: end: type: string format: date-time description: volumes: type: array items: type: object allOf: – #/definitions/reportProcessVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre o volume dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – start – end – volumes properties: start: type: string format: date-time description: end: type: string format: date-time description: volumes: type: array items: type: object allOf: – #/definitions/reportProcessVolume minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessActivitiesReport: post: description: Obtém estatísticas sobre o volume dos atividades tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportProcessActivities minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre o volume dos atividades tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportProcessActivities minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessActivityExpirationReport: post: description: Obtém estatísticas sobre expiração das atividades tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportProcessExpirationActivity minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém estatísticas sobre expiração das atividades tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – volumes properties: volumes: type: array items: type: object allOf: – #/definitions/reportProcessExpirationActivity minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getSubjects: post: description: Obtém ou usuários e grupos conforme o tipo (usuário ou grupo). tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – type properties: page: type: integer format: int64 description: Página ser consultada pageSize: type: integer format: int64 description: Quantidade de itens na página nameFilter: type: string description: filtro pelo nome type: type: string allOf: – #/definitions/subjectKind description: Filtro por tipo includeRemoved: type: boolean description: Incluir usuários removidos default: false responses: 200: description: Ok schema: type: object required: – subjects properties: subjects: type: array items: type: object allOf: – #/definitions/serviceSubject minimum: 1 description: Lista de Sujeitos totalElements: type: integer format: int64 description: Total de Itens totalPages: type: integer format: int64 description: Total de Paginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getCockpitUrl: post: description: Obtém a URL do cockpit tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: path: type: string description: Endereço opcional para concatenar na URL embeddedUrl: type: boolean description: Indicador se a URL retornada irá abrir em um iFrame default: false responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do cockpit 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL do cockpit tags: – Queries x-senior-visibility: PRIVATE parameters: – name: path description: Endereço opcional para concatenar na URL in: query type: string – name: embeddedUrl description: Indicador se a URL retornada irá abrir em um iFrame in: query type: boolean responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do cockpit 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getEcmFormUrl: post: description: Obtém a URL do ECM Form tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do ecm-form 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL do ECM Form tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do ecm-form 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessEditorURL: post: description: Obtém a URL do editor de processos tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – url – simple properties: url: type: string description: Url do editor BPM simple: type: string description: Url do editor simplificado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL do editor de processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – url – simple properties: url: type: string description: Url do editor BPM simple: type: string description: Url do editor simplificado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getPlatformURL: post: description: Obtém a URL da plataforma tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da plataforma 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL da plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url da plataforma 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getECMExecutorURL: post: description: Obtém a URL do executor de formulários do ECM tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do ecm-frontend 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL do executor de formulários do ECM tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: Url do ecm-frontend 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getUserWorkGroup: post: description: Obtém o grupo de trabalho de um usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – userId properties: userId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – workGroup properties: workGroup: type: object allOf: – #/definitions/serviceSubject description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o grupo de trabalho de um usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: userId description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – workGroup properties: workGroup: type: object allOf: – #/definitions/serviceSubject description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getUsersWorkGroup: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Pagina a ser consultada pageSize: type: integer format: int64 description: Quantidade de itens na página nameFilter: type: string description: filtro pelo nome responses: 200: description: Ok schema: type: object required: – usersWorkGroup properties: usersWorkGroup: type: array items: type: object allOf: – #/definitions/userWorkGroup minimum: 1 description: totalElements: type: integer format: int64 description: totalPages: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Pagina a ser consultada in: query type: integer format: int64 – name: pageSize description: Quantidade de itens na página in: query type: integer format: int64 – name: nameFilter description: filtro pelo nome in: query type: string responses: 200: description: Ok schema: type: object required: – usersWorkGroup properties: usersWorkGroup: type: array items: type: object allOf: – #/definitions/userWorkGroup minimum: 1 description: totalElements: type: integer format: int64 description: totalPages: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getNextProcessInstanceId: post: description: Obtém o próximo identificador de instância de processo disponível. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém o próximo identificador de instância de processo disponível. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listProcessesErrors: post: description: Lista os registros de erros de execução de processo. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – errors properties: errors: type: array items: type: object allOf: – #/definitions/processError minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os registros de erros de execução de processo. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – errors properties: errors: type: array items: type: object allOf: – #/definitions/processError minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listRecoveredProcesses: post: description: Lista os erros de execução de processo recuperados. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – processes properties: processes: type: array items: type: object allOf: – #/definitions/recoveredProcess minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os erros de execução de processo recuperados. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – processes properties: processes: type: array items: type: object allOf: – #/definitions/recoveredProcess minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getContextVariableByProcess: post: description: Obtem as Variaveis de Contexto do Processo para exibição no Cockpit tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Número do Processo responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/contextVariable minimum: 1 description: Lista de Variaveis de Contexto do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem as Variaveis de Contexto do Processo para exibição no Cockpit tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Número do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/contextVariable minimum: 1 description: Lista de Variaveis de Contexto do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getInfoFromProcessVariables: post: description: Obtem informções das variaveis de processo da instancia de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Instancia do Processo responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/keyValueTypeRecord minimum: 1 description: Lista de Variaveis de Contexto do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem informções das variaveis de processo da instancia de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceId description: Instancia do Processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/keyValueTypeRecord minimum: 1 description: Lista de Variaveis de Contexto do Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/listProcessTemplate: post: description: Lista os templates do workflow para processos simples tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/processTemplate minimum: 1 description: Lista de Templates 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista os templates do workflow para processos simples tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/processTemplate minimum: 1 description: Lista de Templates 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getTagsByProcess: post: description: Retorna lista de categorias associa aos processos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: processes: type: array items: type: integer format: int64 description: Lista com os identificados dos processos responses: 200: description: Ok schema: type: object properties: tags: type: array items: type: object allOf: – #/definitions/tagResume description: Lista de categorias agrupadas por processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de categorias associa aos processos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processes description: Lista com os identificados dos processos in: query type: array items: type: integer format: int64 responses: 200: description: Ok schema: type: object properties: tags: type: array items: type: object allOf: – #/definitions/tagResume description: Lista de categorias agrupadas por processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getUserGrantedTags: post: description: Retorna lista de tags dos processos que o usuário possui permissão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: onlyActiveProcesses: type: boolean description: Filtrar apenas processos ativos default: true responses: 200: description: Ok schema: type: object required: – processCount – processWithoutTagCount – tags properties: processCount: type: integer format: int64 description: Total de processos processWithoutTagCount: type: integer format: int64 description: Quantidade de processos sem tag tags: type: array items: type: object allOf: – #/definitions/tagResume minimum: 1 description: Tags 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna lista de tags dos processos que o usuário possui permissão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: onlyActiveProcesses description: Filtrar apenas processos ativos in: query type: boolean responses: 200: description: Ok schema: type: object required: – processCount – processWithoutTagCount – tags properties: processCount: type: integer format: int64 description: Total de processos processWithoutTagCount: type: integer format: int64 description: Quantidade de processos sem tag tags: type: array items: type: object allOf: – #/definitions/tagResume minimum: 1 description: Tags 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getDashboardUserProcess: post: description: Obtem um Dashboard do Usuário com dados dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – publishedProcess – pendingRequest – tasks – expiredTasks properties: publishedProcess: type: integer format: int64 description: pendingRequest: type: integer format: int64 description: tasks: type: integer format: int64 description: expiredTasks: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem um Dashboard do Usuário com dados dos processos tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – publishedProcess – pendingRequest – tasks – expiredTasks properties: publishedProcess: type: integer format: int64 description: pendingRequest: type: integer format: int64 description: tasks: type: integer format: int64 description: expiredTasks: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getAttachments: post: description: Recupera todos os anexos de uma instância de processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstance properties: processInstance: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – attachments properties: attachments: type: array items: type: object allOf: – #/definitions/serviceAttachment minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Recupera todos os anexos de uma instância de processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstance description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – attachments properties: attachments: type: array items: type: object allOf: – #/definitions/serviceAttachment minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/requestAttachmentAccess: post: description: Requisita acesso a um determinado arquivo. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: responses: 200: description: Ok schema: type: object required: – accessUrl properties: accessUrl: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Requisita acesso a um determinado arquivo. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – accessUrl properties: accessUrl: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getComments: post: description: Obtem os comentários de um instância de processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – comments properties: comments: type: array items: type: object allOf: – #/definitions/comment minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem os comentários de um instância de processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceID description: in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – comments properties: comments: type: array items: type: object allOf: – #/definitions/comment minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/loadFromProcessTemplate: post: description: Ler informações para montagem de um processo do workflow a partir da uri de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – templateId properties: templateId: type: integer format: int64 description: Número do Processo Template responses: 200: description: Ok schema: type: object required: – processModel – processMetadata properties: processModel: type: string description: Dados da modelagem do processo processMetadata: type: string description: Metadata do processo e componente associados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Ler informações para montagem de um processo do workflow a partir da uri de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: templateId description: Número do Processo Template in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – processModel – processMetadata properties: processModel: type: string description: Dados da modelagem do processo processMetadata: type: string description: Metadata do processo e componente associados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getProcessDetailConfig: post: description: Pega a configuração do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Id da instância do processo responses: 200: description: Ok schema: type: object required: – processType – config – fields properties: processType: type: string allOf: – #/definitions/processExecutionType description: Tipo do processo config: type: string description: Configuração para exibição dos dados do processo fields: type: string description: Visibilidade dos campos com base nas Variaveis de Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Pega a configuração do processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceId description: Id da instância do processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – processType – config – fields properties: processType: type: string allOf: – #/definitions/processExecutionType description: Tipo do processo config: type: string description: Configuração para exibição dos dados do processo fields: type: string description: Visibilidade dos campos com base nas Variaveis de Processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getFieldsPermission: post: description: Permissões Campos da Solicitação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Id da instância do processo responses: 200: description: Ok schema: type: object required: – fields properties: fields: type: string format: byte description: Permissão dos Campos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Permissões Campos da Solicitação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceId description: Id da instância do processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – fields properties: fields: type: string format: byte description: Permissão dos Campos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/hasProcessPermission: post: description: Validar Permissão de um processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – type properties: processId: type: integer format: int64 description: Número do Processo type: type: string allOf: – #/definitions/processPermissionType description: Tipo de Permissão responses: 200: description: Ok schema: type: object required: – hasPermission properties: hasPermission: type: boolean description: Indica se tem permissão no processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/hasPermissionViewCompletedProcess: post: description: Verifica se o usuário atual tem permissão para visualizar uma pendência\n – Se for cordenador do processo = true\n – Se for o usuário que iniciou o processo = true\n – Se for o usuário foi envolvido em alguma etapa do processo = true\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Identificador de uma pendência. responses: 200: description: Ok schema: type: object required: – hasPermission properties: hasPermission: type: boolean description: Indica se tem permissão para visualizar o processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se o usuário atual tem permissão para visualizar uma pendência\n – Se for cordenador do processo = true\n – Se for o usuário que iniciou o processo = true\n – Se for o usuário foi envolvido em alguma etapa do processo = true\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processInstanceId description: Identificador de uma pendência. in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – hasPermission properties: hasPermission: type: boolean description: Indica se tem permissão para visualizar o processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getDailyNotification: post: description: Retorna a configuração de notificações agrupadas por processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Código do processo responses: 200: description: Ok schema: type: object required: – dailyNotification properties: dailyNotification: type: object allOf: – #/definitions/dailyNotification description: Lista de papéis de usuários para enviar notificação agrupada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a configuração de notificações agrupadas por processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Código do processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – dailyNotification properties: dailyNotification: type: object allOf: – #/definitions/dailyNotification description: Lista de papéis de usuários para enviar notificação agrupada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getIntegrationEvents: post: description: Retorna os eventos de integração com outros serviços tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do processo onlyErrors: type: boolean description: Exibir somente registro de erros default: false type: type: string allOf: – #/definitions/integrationEventType description: Tipo da integração page: type: integer format: int64 description: Página a ser consultada default: 0 pageSize: type: integer format: int64 description: Quantidade de itens na página default: 10 responses: 200: description: Ok schema: type: object properties: totalElements: type: integer format: int64 description: Total de Itens totalPages: type: integer format: int64 description: Total de Paginas integrationEvents: type: array items: type: object allOf: – #/definitions/integrationEvent description: Lista de eventos de integração 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getServiceIntegrationEvent: post: description: Retorna os eventos logados de serviços externos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – type properties: processId: type: integer format: int64 description: Código do processo type: type: array items: type: string allOf: – #/definitions/IntegrationServiceEventType minimum: 1 description: tipo de evento page: type: integer format: int64 description: Página ser consultada default: 0 pageSize: type: integer format: int64 description: Quantidade de itens na página default: 10 responses: 200: description: Ok schema: type: object properties: totalElements: type: integer format: int64 description: Total de Itens totalPages: type: integer format: int64 description: Total de Paginas serviceIntegrationEvent: type: array items: type: object allOf: – #/definitions/serviceIntegrationEvent description: Lista de eventos logados de serviços eternos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/loadUserNotificationPreferences: post: description: Retorna a lista de preferências de notificação do usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações via Email 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de preferências de notificação do usuário tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações via Email 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/loadProcessNotificationPreferences: post: description: Retorna a lista de preferências de notificação por processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Id do processo responses: 200: description: Ok schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações via Email 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de preferências de notificação por processo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: processId description: Id do processo in: query required: true type: integer format: int64 responses: 200: description: Ok schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferences description: Preferência de notificações via Email 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/getDefaultRoles: post: description: Obtém os papéis padrões tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: defaultRoles: type: array items: type: object allOf: – #/definitions/defaultRole description: Papéis padrões criados no Workflow 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém os papéis padrões tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object properties: defaultRoles: type: array items: type: object allOf: – #/definitions/defaultRole description: Papéis padrões criados no Workflow 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/requestFileUpload: post: description: Requisita as URLs para upload no blob service tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – fileName properties: id: type: string description: Identificador do Arquivo fileName: type: string description: Nome do Arquivo responses: 200: description: Ok schema: type: object required: – fileUpload properties: fileUpload: type: object allOf: – #/definitions/fileToUpload description: Modelo do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Requisita as URLs para upload no blob service tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Identificador do Arquivo in: query required: true type: string – name: fileName description: Nome do Arquivo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – fileUpload properties: fileUpload: type: object allOf: – #/definitions/fileToUpload description: Modelo do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/requestFileAccess: post: description: Requisita Url de acesso ao arquivo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – fileName – version properties: id: type: string description: identificador Arquivo fileName: type: string description: Nome do Arquivo type: string description: Versão do arquivo availableTime: type: integer format: int64 description: Tempo que o arquivo tera o acesso disponivel em milissegundos default: 30000 responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: url para download do arquivo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Requisita Url de acesso ao arquivo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: identificador Arquivo in: query required: true type: string – name: fileName description: Nome do Arquivo in: query required: true type: string – name: version description: Versão do arquivo in: query required: true type: string – name: availableTime description: Tempo que o arquivo tera o acesso disponivel em milissegundos in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: url para download do arquivo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/queries/healthcheck: post: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/upDown description: Status geral do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/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 /workflow/queries/exportCustomAssignment: 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 /workflow/queries/exportProcessEcm: 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 /workflow/queries/exportGeneralProcessConfig: 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 /workflow/queries/exportContextVariable: 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 /workflow/queries/exportContextVariableData: 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 /workflow/queries/exportContextDetail: 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 /workflow/queries/exportRequestHistory: 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 /workflow/queries/exportCalendar: 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 /workflow/queries/exportHoliday: 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 /workflow/queries/exportNotificationPreferences: 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 /workflow/queries/exportTag: 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 /workflow/queries/exportProcessConfig: 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 /workflow/queries/exportActivity: 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 /workflow/queries/exportFeatureToggle: 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 /workflow/queries/exportProcessThumbnail: 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 /workflow/queries/exportProcessDocumentConfig: 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 /workflow/queries/exportPublishedDocumentControl: 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 /workflow/queries/exportRating: 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 /workflow/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC 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: PUBLIC 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 /workflow/actions/startRequest: post: description: Inicia uma requisição no bpm tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processId – businessData properties: processId: type: integer format: int64 description: Identificador do processo businessData: type: string format: byte description: Objeto com as variáveis de Negócio do Processo, ex: businessData: { campo1: valor1, campo2: 2 } actionToExecute: type: string description: Nome da ação a ser tomada dentro do fluxo, obrigatório caso possua mais de uma ação possível nextSubject: type: string description: Responsável que vai receber a próxima ação, obrigatório caso o mecanismo de atribuição retorne mais de um responsável externalServiceAuthorization: type: string description: Token de autorização para integração com Serviços Externos, caso necessário type: string description: Título opcional da solicitação requester: type: string description: Usuário solicitante, caso a solicitação esteja sendo feita em nome de outro usuário responses: 200: description: Ok schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: Instância de Processo criada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente. 401: description: Usuário ou senha inválido. default: description: Error response schema: #/definitions/genericError /workflow/actions/treatTask: post: description: Response uma tarefa no bpm tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceID – step – activityId – businessData properties: processInstanceID: type: integer format: int64 description: Identificador da Instância do Proceso step: type: integer format: int64 description: Identificador da Etapa do Processo activityId: type: integer format: int64 description: Identificador da Atividade businessData: type: string format: byte description: Objeto com as variáveis de Negócio do Processo, ex: businessData: { campo1: valor1, campo2: 2 } actionToExecute: type: string description: Nome da ação a ser tomada dentro do fluxo, obrigatório caso possua mais de uma ação possível nextSubject: type: string description: Usuário que pode receber a próxima ação, obrigatório caso o mecanismo de atribuição retorne mais de um responsável comment: type: string description: Comentário a ser adicionado no histórico da solicitação externalServiceAuthorization: type: string description: Token de autorização para integração com Serviços Externos, caso necessário responses: 200: description: Ok schema: type: object 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente. 401: description: Usuário ou senha inválido. 403: description: Permissão negada default: description: Error response schema: #/definitions/genericError /workflow/actions/retrySyncDocument: post: description: Tenta sincronizar documento com o GED novamente tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – documentId properties: documentId: type: string description: Id do documento a ser enviado responses: 200: description: Ok schema: type: object required: – documentSent properties: documentSent: type: boolean description: Caso o documento tenha sido enviado para o ged para iniciar a sincronização 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/processRating: post: description: Avalia um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – rate properties: processId: type: integer format: int64 description: Id do processo rate: type: integer format: int64 description: Nota da avaliação comment: type: string description: Comentário da avaliação type: integer format: int64 description: Versão do processo activity: type: string description: Nome da atividade avaliada responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcessModel__2: post: description: Salva uma versão do processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – processModel properties: processId: type: integer format: int64 description: Número do Processo Publicado se existente processModel: type: object allOf: – #/definitions/uploadedFile description: Modelo do Processo Publicado migrateFromSimple: type: boolean description: Indica se deve migrar de um processo simples responses: 200: description: Ok schema: type: object required: – success – processId properties: success: type: boolean description: Indicador de sucesso na gravação processId: type: integer format: int64 description: Número do Processo Publicado se existente errors: type: array items: type: string description: Erros que impedem o salvamento do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/publishProcessModel__2: post: description: Publica uma versão do processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – processModel – processSvg properties: processId: type: integer format: int64 description: Número do Processo Publicado se existente processModel: type: object allOf: – #/definitions/uploadedFile description: Modelo do Processo Publicado processSvg: type: object allOf: – #/definitions/uploadedFile description: Modelo Visual do Processo thumbnail: type: object allOf: – #/definitions/uploadedFile description: Miniatura do Processo embedded: type: boolean description: Indica se o processo é embarcado migrateFromSimple: type: boolean description: Indica se deve migrar de um processo simples responses: 200: description: Ok schema: type: object required: – published properties: published: type: boolean description: se o processo foi publicado ou não processId: type: integer format: int64 description: Número do Processo processVersion: type: integer format: int64 description: Versão do Processo errors: type: array items: type: string description: Erros que impedem a publicação do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/excludeProcess: post: description: Excluir o processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/updateViewGenerationConfig: post: description: Atualiza as informações sobre a geração de views tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – generateView properties: processId: type: integer format: int64 description: Id do processo generateView: type: boolean description: Caso verdadeiro gera a view imediatamente, caso falso remove a view viewName: type: string description: Nome da view a ser gerada processKey: type: string description: Nome da Chave do Processo responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/markPendencyAsReaded: post: description: Marcar a pendência como lida/não lida tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – readed – task properties: readed: type: boolean description: Lida task: type: object allOf: – #/definitions/serviceFlowToken description: Tarefa responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/runProcessResumeReport: post: description: Executa o relatório de extrato do processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processInstanceId properties: processInstanceId: type: integer format: int64 description: Instância do processo responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcessContextVariables: post: description: Salva as variáveis de processso/contexto tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Id do processo variables: type: array items: type: object allOf: – #/definitions/contextVariable description: Lista de variáveis responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/cancelProcessExecution: post: description: Cancela uma lista de processos. – Deprecated tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids – user – reason properties: ids: type: array items: type: integer format: int64 minimum: 1 description: Identificadores das instâncias de processo a serem canceladas. user: type: string description: Usuário responsável pelo cancelamento. reason: type: string description: Motivo do cancelamento. responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/cancelProcessInstance: post: description: Cancela uma lista de processos. tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – ids – reason properties: ids: type: array items: type: integer format: int64 minimum: 1 description: Identificadores das instâncias de processo a serem canceladas. user: type: string description: Usuário responsável pelo cancelamento, deve ser informado quando for uma aplicação, quando não for aplicação esse campo é ignorado reason: type: string description: Motivo do cancelamento. responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/ceaseProcessExecution: post: description: Conclui um processo em execução tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids – user properties: ids: type: array items: type: integer format: int64 minimum: 1 description: Identificadores das instâncias de processo a serem canceladas user: type: string description: Usuário responsável pelo cancelamento responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/retryProcessExecution: post: description: Repete a execução de um processo. Utilizado em situações onde ocorreu um erro em uma das etapas de execução do processo (e.g. respondendo uma pendência) tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tokens properties: tokens: type: array items: type: object allOf: – #/definitions/serviceFlowToken minimum: 1 description: responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/resolveProcessExecution: post: description: Retoma a execução de um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – ids properties: ids: type: array items: type: integer format: int64 minimum: 1 description: responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/assumePendency: post: description: Asume uma pendencia de um grupo ou papel para um para o usuário logado. Todas as pendências devem estar atribuídas a grupos. Não é permitido assumir pendências atribuídas a usuários tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: responses: 200: description: Ok schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/changePendencyUser: post: description: Atribui a pendência para outro usuário tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – serviceFlowTokens – subject properties: serviceFlowTokens: type: array items: type: object allOf: – #/definitions/serviceFlowToken minimum: 1 description: Lista dos identificadores da tarefas subject: type: object allOf: – #/definitions/serviceSubject description: Usuário, grupo ou papel alterar o responsável responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/changeExpirationDate: post: description: Altera a data de expiração de uma lista de pendências. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – serviceFlowTokens properties: serviceFlowTokens: type: array items: type: object allOf: – #/definitions/serviceFlowToken minimum: 1 description: Lista de flow tokens para ajustar expirationDate: type: string format: date-time description: Informa a data de expiração ou null para deixar sem expirar responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/viewPendency: post: description: Retorna os parâmetros para visualização de uma pendência. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: responses: 200: description: Ok schema: type: object required: – openNewWindow – formAction properties: openNewWindow: type: boolean description: formAction: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/startProcess: post: description: Inicia um processo tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – processId – businessData – flowExecutionData properties: processInstanceID: type: integer format: int64 description: Quando o usuário quer definir o número da instância do processo. generateRecord: type: boolean description: Caso seja passado o processInstanceId, indica que a geração do record deve ser feita pelo BPM e não foi gerenciada externamente. default: false processId: type: integer format: int64 description: Número do processo processVersion: type: integer format: int64 description: Versão do Processo businessData: type: string description: Variáveis de Negócio do Processo flowExecutionData: type: object allOf: – #/definitions/flowExecutionData description: Informação para Fluxo de Execução do Processo authorization: type: string description: String de autorização executados da tarefas do workflow type: string description: Título opcional da solicitação requester: type: string description: Usuário solicitante externalServiceOverrideBusinessData: type: boolean description: Se existir um serviço externo antes da primeira etapa, o mesmo deve sobrescrever as variáveis enviadas no businessData default: true responses: 200: description: Ok schema: type: object required: – processInstanceID properties: processInstanceID: type: integer format: int64 description: Instância de Processo criada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente. 401: description: Usuário ou senha inválido. default: description: Error response schema: #/definitions/genericError /workflow/actions/responsePendency: post: description: Responde uma pendência tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – serviceFlowToken properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: Token do Processo responseData: type: object allOf: – #/definitions/responseData description: Dados de uma ação de resposta de pendência authorization: type: string description: String de autorização executada da tarefa do workflow comment: type: string description: Comentário para solicitação responses: 200: description: Ok schema: type: object 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente. 401: description: Usuário ou senha inválido. 403: description: Permissão negada default: description: Error response schema: #/definitions/genericError /workflow/actions/batchPendenciesResponse: post: description: Responde pendências em lote tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – flowTokens – authorization properties: flowTokens: type: array items: type: object allOf: – #/definitions/flowToken minimum: 1 description: Tokens das pendências actionToExecute: type: string description: Ação a ser executada authorization: type: string description: Token de autenticação responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/enableProcess: post: description: Habilita ou desabilita uma lista de processos. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processIds – enable properties: processIds: type: array items: type: integer format: int64 minimum: 1 description: enable: type: boolean description: responses: 200: description: Ok schema: type: object required: – modifiedProcess properties: modifiedProcess: type: integer format: int64 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcess: post: description: Salva um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – type – owner properties: type: type: string allOf: – #/definitions/processType description: Tipo do processo processId: type: integer format: int64 description: Identificador do processo name: type: string description: Nome do processo description: type: string description: Descrição owner: type: string description: dono do processo tag: type: string description: Categoria executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB icon: type: string description: Icone do Processo taskVisibleAfterTreated: type: boolean description: Tarefa é visível após ser tratada enableRating: type: boolean description: Habilita avaliação para o processo responses: 200: description: Ok schema: type: object required: – processId – processVersion – success properties: processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo success: type: boolean description: Sucesso errors: type: array items: type: string description: Lista de erros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcess__2: post: description: Salva um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – type – owner properties: type: type: string allOf: – #/definitions/processType description: Tipo do processo processId: type: integer format: int64 description: Identificador do processo name: type: string description: Nome do processo description: type: string description: Descrição owner: type: string description: dono do processo tag: type: string description: Categoria executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB icon: type: string description: Icone do Processo variableVisibility: type: string allOf: – #/definitions/variableVisibility description: Tarefa é visível após ser tratada enableRating: type: boolean description: Habilita avaliação para o processo responses: 200: description: Ok schema: type: object required: – processId – processVersion – success properties: processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo success: type: boolean description: Sucesso errors: type: array items: type: string description: Lista de erros 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/generateView: post: description: Gera a visão de um processo e atualiza base relatórios. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId properties: processId: type: integer format: int64 description: Número do Proceosos responses: 200: description: Ok schema: type: object required: – ddl properties: ddl: type: string description: DDL da view gerada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveAndPublishSimpleProcessModel: post: description: Salva e publica uma vers�o do editor simplificado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processModel properties: processId: type: integer format: int64 description: id do processo processModel: type: string description: processSvg: type: string description: svg com os dados do processo publish: type: boolean description: decide se o processo sera publicado default: true responses: 200: description: Ok schema: type: object required: – published – success properties: published: type: boolean description: se o processo foi publicado ou não processId: type: integer format: int64 description: id do processo processVersion: type: integer format: int64 description: vers�o do processo success: type: boolean description: Indicador de sucesso na gravação errors: type: array items: type: string description: Erros que impedem a publicação/salvamento do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcessModel: post: description: Salva uma versão do processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processModel properties: processId: type: integer format: int64 description: Número do Processo Publicado se existente processModel: type: string description: Modelo do Processo Publicado migrateFromSimple: type: boolean description: Indica se deve migrar de um processo simples responses: 200: description: Ok schema: type: object required: – success – processId properties: success: type: boolean description: Indicador de sucesso na gravação processId: type: integer format: int64 description: Número do Processo Publicado se existente errors: type: array items: type: string description: Erros que impedem o salvamento do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/publishProcessModel: post: description: Publica uma versão do processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processModel properties: processId: type: integer format: int64 description: Número do Processo Publicado se existente processModel: type: string description: Modelo do Processo Publicado processSvg: type: string description: Modelo Visual do Processo embedded: type: boolean description: Indica se o processo é embarcado migrateFromSimple: type: boolean description: Indica se deve migrar de um processo simples responses: 200: description: Ok schema: type: object required: – published properties: published: type: boolean description: se o processo foi publicado ou não processId: type: integer format: int64 description: Número do Processo processVersion: type: integer format: int64 description: Versão do Processo errors: type: array items: type: string description: Erros que impedem a publicação do processo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/setUsersWorkGroup: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – usersIds – groupId properties: usersIds: type: array items: type: integer format: int64 minimum: 1 description: groupId: type: integer format: int64 description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/newAttachment: post: description: Cria uma nova representação de um anexo do Workflow tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – name properties: name: type: string description: Nome do arquivo a ser anexado size: type: integer format: int64 description: Tamanho do arquivo a ser anexado responses: 200: description: Ok schema: type: object required: – attachment – uploadUrl properties: attachment: type: object allOf: – #/definitions/serviceAttachment description: Anexo uploadUrl: type: string description: URL para o anexo 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /workflow/actions/commitAttachment: post: description: Faz commit de um anexo movendo ele da área temporária para permanente tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificador do anexo responses: 200: description: Ok schema: type: object 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido 404: description: Objeto não encontrado default: description: Error response schema: #/definitions/genericError /workflow/actions/linkAttachments: post: description: Liga determinados anexos a uma instância de processo tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – ids – processInstance properties: ids: type: array items: type: string minimum: 1 description: Identificadores de anexo processInstance: type: integer format: int64 description: Identificador da instância de processo a qual o arquivo pertence. responses: 200: description: Ok schema: type: object 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente 401: description: Usuário ou senha inválido default: description: Error response schema: #/definitions/genericError /workflow/actions/deleteAttachment: post: description: Exclui um arquivo da base e do BlobService tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificador do anexo responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/addComment: post: description: Adiciona um comentário em um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – comment properties: comment: type: string description: processInstanceID: type: integer format: int64 description: created: type: string format: date-time description: responses: 200: description: Ok schema: type: object allOf: – #/definitions/comment 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/deleteComment: post: description: Remove um comentário em um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: integer format: int64 description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/updateComment: post: description: Atualiza um comentário em um processo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – comment properties: id: type: integer format: int64 description: comment: type: string description: processInstanceID: type: integer format: int64 description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/acceptTermsOfUse: post: description: Aceita os termos de uso do workflow tags: – Actions x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/createFromProcessTemplate: post: description: Cria um processo a partir de um template BPM tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – templateId properties: templateId: type: integer format: int64 description: Número do Processo Template processName: type: string description: Nome do Novo Processo icon: type: string description: Ícone do processo responses: 200: description: Ok schema: type: object required: – processId properties: processId: type: integer format: int64 description: ID do processo criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveUserNotificationPreferences: post: description: Salva as preferências de notificação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferenceInput description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferenceInput description: Preferência de notificações via Email responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveProcessNotificationPreferences: post: description: Salva as preferências de notificação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – platformPreferences – emailPreferences properties: platformPreferences: type: object allOf: – #/definitions/notificationPreferenceInput description: Preferência de notificações da Plataforma Senior X emailPreferences: type: object allOf: – #/definitions/notificationPreferenceInput description: Preferência de notificações via Email responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/saveDailyNotification: post: description: Salva as configurações das notificações agrupadas tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dailyNotification properties: dailyNotification: type: object allOf: – #/definitions/dailyNotification description: Lista de papéis de usuários para enviar notificação agrupada responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/createDefaultRoles: post: description: Cria papéis padrões do workflow com suas respectivas permissões. Papéis que já são existentes serão ignorados tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/validateProcessMetadata: post: description: Verica se existem inconsistências entre os metadados de um processo e o tenant em que estes estejam sendo importados. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – meta properties: meta: type: string description: Metadados do processo responses: 200: description: Ok schema: type: object required: – conflicts properties: conflicts: type: array items: type: object allOf: – #/definitions/conflict minimum: 1 description: Inconsistências encontradas nos metadados do processo em relação ao tenant (e.g. serviços, formulários ou fontes de dados com nomes conflitantes). 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/setEmbeddedProcess: post: description: Seta o processo como embarcado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – processVersion properties: processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Retorna se o valor foi alterado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/importBusinessProcess: post: description: DEPRECADO – Importa um processo de negócio (usar importProcess) tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processModel – processMetadata properties: processModel: type: string description: JSON com os dados da modelagem do processo processMetadata: type: string description: JSON contendo os metadados do processo processSvg: type: string description: SVG contendo a representação visual do processo conflicts: type: array items: type: object allOf: – #/definitions/handledConflict description: Decisões tomadas em relação aos conflitos entre os metadados do processo e o tenant em que a importação será realizada responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se a importação foi realizada com sucesso message: type: string description: Mensagem descrevendo o resultado da importação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/importProcess: post: description: Importa um processo BPM a partir de uma url tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – url properties: url: type: string description: Url do zip do processo conflicts: type: array items: type: object allOf: – #/definitions/handledConflict description: Decisões tomadas em relação aos conflitos entre os metadados do processo e o tenant em que a importação será realizada responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se a importação foi realizada com sucesso message: type: string description: Mensagem descrevendo o resultado da importação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/actions/enableFeatureToggle: post: description: Permite habilitar ou desabilitar o featureToggle sem acionar o time de SRE tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – feature – enable – pass properties: feature: type: string description: Name da feature que quer habilitar enable: type: boolean description: Indica se a funcionalidade esta habilitada pass: type: string description: Senha para permitir habilitar uma feature responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /workflow/actions/importCustomAssignment: 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 /workflow/actions/importProcessEcm: 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 /workflow/actions/importGeneralProcessConfig: 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 /workflow/actions/importContextVariable: 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 /workflow/actions/importContextVariableData: 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 /workflow/actions/importContextDetail: 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 /workflow/actions/importRequestHistory: 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 /workflow/actions/importCalendar: 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 /workflow/actions/importHoliday: 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 /workflow/actions/importNotificationPreferences: 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 /workflow/actions/importTag: 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 /workflow/actions/importProcessConfig: 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 /workflow/actions/importActivity: 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 /workflow/actions/importFeatureToggle: 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 /workflow/actions/importProcessThumbnail: 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 /workflow/actions/importProcessDocumentConfig: 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 /workflow/actions/importPublishedDocumentControl: 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 /workflow/actions/importRating: 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 /workflow/signals/syncSubjects: post: description: Primitiva para sincronizar os dados quando algum problema ocorrer, atualmente sincroniza apenas usuários tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /workflow/signals/sendGroupedDailyNotification: post: description: Primitiva que dispara o envio de notificação agrupada com base nos grupos de usuários configurados tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: forProcesses: type: array items: type: integer format: int64 description: Enviar apenas para alguns processos específicos. Caso informado anula o excludeProcesses excludeProcesses: type: array items: type: integer format: int64 description: Enviar para todos, menos para estes processos force: type: boolean description: Força o envio da notificação para todos os usuários indiferente se já foi enviado no dia default: false sendCopyTo: type: string description: Permite enviar um e-mail para receber uma cópia do e-mail principal responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /workflow/signals/taskExpired: post: description: Evento de tratamento de tarefas expiradas. Apenas para uso interno. Ao chamar esta primitiva externamente nenhuma ação será executada tags: – Signals parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/serviceFlowToken responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /workflow/signals/taskBeforeExpires: post: description: Evento de tratamento de tarefas antes de expirar. Apenas para uso interno. Ao chamar esta primitiva externamente nenhuma ação será executada tags: – Signals parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/serviceFlowToken responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /workflow/entities/customAssignment: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/customAssignment responses: 200: description: The created resource schema: #/definitions/customAssignment 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/customAssignment responses: 200: description: The created resource schema: #/definitions/customAssignment 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 responses: 200: description: Ok schema: type: array items: #/definitions/customAssignment 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/customAssignment/{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/customAssignment responses: 200: description: Ok schema: #/definitions/customAssignment 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/customAssignment responses: 200: description: Ok schema: #/definitions/customAssignment 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/customAssignment 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 /workflow/entities/customAssignment/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/customAssignment responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processEcm: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processEcm responses: 200: description: The created resource schema: #/definitions/processEcm 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/processEcm responses: 200: description: The created resource schema: #/definitions/processEcm 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 responses: 200: description: Ok schema: type: array items: #/definitions/processEcm 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processEcm/{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/processEcm responses: 200: description: Ok schema: #/definitions/processEcm 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/processEcm responses: 200: description: Ok schema: #/definitions/processEcm 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/processEcm 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 /workflow/entities/processEcm/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/processEcm responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/generalProcessConfig: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/generalProcessConfig responses: 200: description: The created resource schema: #/definitions/generalProcessConfig 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/generalProcessConfig responses: 200: description: The created resource schema: #/definitions/generalProcessConfig 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 responses: 200: description: Ok schema: type: array items: #/definitions/generalProcessConfig 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/generalProcessConfig/{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/generalProcessConfig responses: 200: description: Ok schema: #/definitions/generalProcessConfig 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/generalProcessConfig responses: 200: description: Ok schema: #/definitions/generalProcessConfig 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/generalProcessConfig 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 /workflow/entities/generalProcessConfig/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/generalProcessConfig responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/serviceIntegration: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/serviceIntegration responses: 200: description: The created resource schema: #/definitions/serviceIntegration 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/serviceIntegration responses: 200: description: The created resource schema: #/definitions/serviceIntegration 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 responses: 200: description: Ok schema: type: array items: #/definitions/serviceIntegration 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/serviceIntegration/{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/serviceIntegration responses: 200: description: Ok schema: #/definitions/serviceIntegration 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/serviceIntegration responses: 200: description: Ok schema: #/definitions/serviceIntegration 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/serviceIntegration 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 /workflow/entities/serviceIntegration/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/serviceIntegration responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/paramService: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/paramService responses: 200: description: The created resource schema: #/definitions/paramService 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/paramService responses: 200: description: The created resource schema: #/definitions/paramService 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 responses: 200: description: Ok schema: type: array items: #/definitions/paramService 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/paramService/{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/paramService responses: 200: description: Ok schema: #/definitions/paramService 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/paramService responses: 200: description: Ok schema: #/definitions/paramService 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/paramService 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 /workflow/entities/paramService/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/paramService responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextVariable: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contextVariable responses: 200: description: The created resource schema: #/definitions/contextVariable 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/contextVariable responses: 200: description: The created resource schema: #/definitions/contextVariable 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 responses: 200: description: Ok schema: type: array items: #/definitions/contextVariable 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextVariable/{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/contextVariable responses: 200: description: Ok schema: #/definitions/contextVariable 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/contextVariable responses: 200: description: Ok schema: #/definitions/contextVariable 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/contextVariable 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 /workflow/entities/contextVariable/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contextVariable responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextVariableData: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contextVariableData responses: 200: description: The created resource schema: #/definitions/contextVariableData 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/contextVariableData responses: 200: description: The created resource schema: #/definitions/contextVariableData 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 responses: 200: description: Ok schema: type: array items: #/definitions/contextVariableData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextVariableData/{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/contextVariableData responses: 200: description: Ok schema: #/definitions/contextVariableData 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/contextVariableData responses: 200: description: Ok schema: #/definitions/contextVariableData 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/contextVariableData 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 /workflow/entities/contextVariableData/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contextVariableData responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextDetail: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/contextDetail responses: 200: description: The created resource schema: #/definitions/contextDetail 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/contextDetail responses: 200: description: The created resource schema: #/definitions/contextDetail 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 responses: 200: description: Ok schema: type: array items: #/definitions/contextDetail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/contextDetail/{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/contextDetail responses: 200: description: Ok schema: #/definitions/contextDetail 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/contextDetail responses: 200: description: Ok schema: #/definitions/contextDetail 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/contextDetail 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 /workflow/entities/contextDetail/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/contextDetail responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/requestHistory: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/requestHistory responses: 200: description: The created resource schema: #/definitions/requestHistory 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/requestHistory responses: 200: description: The created resource schema: #/definitions/requestHistory 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 responses: 200: description: Ok schema: type: array items: #/definitions/requestHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/requestHistory/{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/requestHistory responses: 200: description: Ok schema: #/definitions/requestHistory 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/requestHistory responses: 200: description: Ok schema: #/definitions/requestHistory 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/requestHistory 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 /workflow/entities/requestHistory/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/requestHistory responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/calendar: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/calendar responses: 200: description: The created resource schema: #/definitions/calendar 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/calendar responses: 200: description: The created resource schema: #/definitions/calendar 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 responses: 200: description: Ok schema: type: array items: #/definitions/calendar 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/calendar/{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/calendar responses: 200: description: Ok schema: #/definitions/calendar 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/calendar responses: 200: description: Ok schema: #/definitions/calendar 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/calendar 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 /workflow/entities/calendar/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/calendar responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/holiday: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/holiday responses: 200: description: The created resource schema: #/definitions/holiday 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/holiday responses: 200: description: The created resource schema: #/definitions/holiday 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 responses: 200: description: Ok schema: type: array items: #/definitions/holiday 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/holiday/{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/holiday responses: 200: description: Ok schema: #/definitions/holiday 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/holiday responses: 200: description: Ok schema: #/definitions/holiday 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/holiday 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 /workflow/entities/holiday/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/holiday responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/notificationPreferences: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/notificationPreferences responses: 200: description: The created resource schema: #/definitions/notificationPreferences 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/notificationPreferences responses: 200: description: The created resource schema: #/definitions/notificationPreferences 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 responses: 200: description: Ok schema: type: array items: #/definitions/notificationPreferences 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/notificationPreferences/{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/notificationPreferences responses: 200: description: Ok schema: #/definitions/notificationPreferences 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/notificationPreferences responses: 200: description: Ok schema: #/definitions/notificationPreferences 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/notificationPreferences 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 /workflow/entities/notificationPreferences/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/notificationPreferences responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/tag: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tag responses: 200: description: The created resource schema: #/definitions/tag 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/tag responses: 200: description: The created resource schema: #/definitions/tag 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 responses: 200: description: Ok schema: type: array items: #/definitions/tag 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/tag/{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/tag responses: 200: description: Ok schema: #/definitions/tag 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/tag responses: 200: description: Ok schema: #/definitions/tag 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/tag 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 /workflow/entities/tag/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tag responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processConfig: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processConfig responses: 200: description: The created resource schema: #/definitions/processConfig 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/processConfig responses: 200: description: The created resource schema: #/definitions/processConfig 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 responses: 200: description: Ok schema: type: array items: #/definitions/processConfig 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processConfig/{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/processConfig responses: 200: description: Ok schema: #/definitions/processConfig 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/processConfig responses: 200: description: Ok schema: #/definitions/processConfig 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/processConfig 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 /workflow/entities/processConfig/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/processConfig responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/activity: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/activity responses: 200: description: The created resource schema: #/definitions/activity 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/activity responses: 200: description: The created resource schema: #/definitions/activity 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 responses: 200: description: Ok schema: type: array items: #/definitions/activity 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/activity/{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/activity responses: 200: description: Ok schema: #/definitions/activity 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/activity responses: 200: description: Ok schema: #/definitions/activity 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/activity 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 /workflow/entities/activity/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/activity responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/featureToggle: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/featureToggle responses: 200: description: The created resource schema: #/definitions/featureToggle 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/featureToggle responses: 200: description: The created resource schema: #/definitions/featureToggle 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 responses: 200: description: Ok schema: type: array items: #/definitions/featureToggle 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/featureToggle/{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/featureToggle responses: 200: description: Ok schema: #/definitions/featureToggle 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/featureToggle responses: 200: description: Ok schema: #/definitions/featureToggle 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/featureToggle 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 /workflow/entities/featureToggle/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/featureToggle responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processThumbnail: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processThumbnail responses: 200: description: The created resource schema: #/definitions/processThumbnail 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/processThumbnail responses: 200: description: The created resource schema: #/definitions/processThumbnail 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 responses: 200: description: Ok schema: type: array items: #/definitions/processThumbnail 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processThumbnail/{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/processThumbnail responses: 200: description: Ok schema: #/definitions/processThumbnail 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/processThumbnail responses: 200: description: Ok schema: #/definitions/processThumbnail 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/processThumbnail 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 /workflow/entities/processThumbnail/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/processThumbnail responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processDocumentConfig: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/processDocumentConfig responses: 200: description: The created resource schema: #/definitions/processDocumentConfig 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/processDocumentConfig responses: 200: description: The created resource schema: #/definitions/processDocumentConfig 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 responses: 200: description: Ok schema: type: array items: #/definitions/processDocumentConfig 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/processDocumentConfig/{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/processDocumentConfig responses: 200: description: Ok schema: #/definitions/processDocumentConfig 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/processDocumentConfig responses: 200: description: Ok schema: #/definitions/processDocumentConfig 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/processDocumentConfig 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 /workflow/entities/processDocumentConfig/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/processDocumentConfig responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/publishedDocumentControl: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/publishedDocumentControl responses: 200: description: The created resource schema: #/definitions/publishedDocumentControl 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/publishedDocumentControl responses: 200: description: The created resource schema: #/definitions/publishedDocumentControl 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 responses: 200: description: Ok schema: type: array items: #/definitions/publishedDocumentControl 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/publishedDocumentControl/{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/publishedDocumentControl responses: 200: description: Ok schema: #/definitions/publishedDocumentControl 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/publishedDocumentControl responses: 200: description: Ok schema: #/definitions/publishedDocumentControl 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/publishedDocumentControl 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 /workflow/entities/publishedDocumentControl/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/publishedDocumentControl responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/rating: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/rating responses: 200: description: The created resource schema: #/definitions/rating 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/rating responses: 200: description: The created resource schema: #/definitions/rating 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 responses: 200: description: Ok schema: type: array items: #/definitions/rating 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/rating/{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/rating responses: 200: description: Ok schema: #/definitions/rating 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/rating responses: 200: description: Ok schema: #/definitions/rating 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/rating 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 /workflow/entities/rating/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/rating responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/integrationEvent: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/integrationEvent responses: 200: description: The created resource schema: #/definitions/integrationEvent 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/integrationEvent responses: 200: description: The created resource schema: #/definitions/integrationEvent 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 responses: 200: description: Ok schema: type: array items: #/definitions/integrationEvent 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/integrationEvent/{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/integrationEvent responses: 200: description: Ok schema: #/definitions/integrationEvent 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/integrationEvent responses: 200: description: Ok schema: #/definitions/integrationEvent 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/integrationEvent 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 /workflow/entities/integrationEvent/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/integrationEvent responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/serviceIntegrationEvent: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/serviceIntegrationEvent responses: 200: description: The created resource schema: #/definitions/serviceIntegrationEvent 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/serviceIntegrationEvent responses: 200: description: The created resource schema: #/definitions/serviceIntegrationEvent 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 responses: 200: description: Ok schema: type: array items: #/definitions/serviceIntegrationEvent 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /workflow/entities/serviceIntegrationEvent/{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/serviceIntegrationEvent responses: 200: description: Ok schema: #/definitions/serviceIntegrationEvent 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/serviceIntegrationEvent responses: 200: description: Ok schema: #/definitions/serviceIntegrationEvent 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/serviceIntegrationEvent 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 /workflow/entities/serviceIntegrationEvent/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/serviceIntegrationEvent responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: integrationStatus: description: Estado do upload do documento type: string enum: – IN_PROGRESS – SUCCESS – ERROR pendencyAssumedStatus: description: Status da pendência em lote type: string enum: – ASSUMED_BY_ME – ASSUMED_BY_OTHER_USER – NOT_ASSUMED – NOT_FOUND expirationStatus: description: Status da expiração da tarefa type: string enum: – MORE_THAN_24_HOURS – LESS_THAN_24_HOURS – EXPIRED IntegrationServiceEventType: description: Tipos de retorno de serviços externos type: string enum: – CONNECTION_TIMEOUT – CONNECTION_ERROR – SERVICE_RESPONSE_READ_ERROR – SERVICE_ERROR – INVALID_SERVICE_RESPONSE – SUCCESS – EXECUTION_ERROR pendencyResponseStatus: description: Estado da pendência type: string enum: – WAITING – EXECUTING – ERROR processAccessLevel: description: Nível de acesso ao processo type: string enum: – EDIT_AND_START – START – EDIT – NONE taskStatus: description: Status da tarefa type: string enum: – UNREADED – READED – PENDING – TREATED orderDirection: description: Ordenação type: string enum: – ASC – DESC filterType: description: Tipo de filtro type: string enum: – PROCESS_INSTANCE_ID – REQUESTER – RESPONSIBLE – STATUS – START_DATE – END_DATE – EXPIRATION_DATE – EXPIRATION_DATE_GT – EXPIRATION_DATE_LT – PROCESS – TASK_NAME – REQUEST_TITLE – FIELD operators: description: Operadores de comparação de filtro type: string enum: – EQ – NE – LT – GT – LOE – GOE – CONTAINS apiFilterOperators: description: Operadores de comparação de filtro type: string enum: – EQ – NE – LT – GT – LOE – GOE – CONTAINS – IN orderField: description: Tipo de ordenação type: string enum: – REQUESTER – RESPONSIBLE – STATUS – START_DATE – END_DATE – EXPIRATION_DATE – PROCESS_NAME groupBy: description: Tipo de agrupamento type: string enum: – PROCESS – CATEGORY – REQUESTER – RESPONSIBLE – START_DATE – END_DATE – EXPIRATION_DATE taskListItemType: description: Tipo de item da central de tarefas type: string enum: – TASK – POOL – REQUESTS – MANAGER conflictDecision: description: Decisão tomada a respeito de um conflito na importação do processo type: string enum: – Ignore – Override conflictType: description: Tipos de conflitos possíveis type: string enum: – Process – ExternalService – Form – DataSource – CustomAssignment – Entity subjectKind: description: Representa o tipo de um usuário (usuário/grupo). type: string enum: – User – Group – Role – UserApp processState: description: Representa o tipo de processo (new/started). type: string enum: – New – Started myRequestKind: description: type: string enum: – InProgress – Completed – Canceled myEnvolvedPendencyKind: description: type: string enum: – InProgress – Completed – Canceled – All adminPendencyKind: description: type: string enum: – InProgress – WillExpire – Expired – Completed – Canceled – All processPublicationStatus: description: Representa o status de publicação do processo (saved/active) type: string enum: – Saved – Published reportTaskExpirationStatus: description: type: string enum: – InProgress – WillExpire – Expired pendencyType: description: type: string enum: – Pending – Treated – All serviceType: description: Representa qual tipo de retorno o serviço terá type: string enum: – UserGrantedProcesses – UserGrantedCordinateProcesses – AllProcesses – UserGrantedOrEditProcesses assignmentType: description: Tipos para Mecanismo de Atribuição de Usuários type: string enum: – Users – UsersOfGroup – UsersOfRole – GroupPool – RolePool – Combination – UserRequester – DefaultRequesterGroup – ProcessVariable – Custom – UserApplication processFilterType: description: Tipo do processo type: string enum: – Embedded – NotEmbedded – All licenseEventType: description: Marcos que definem eventos de licença type: string enum: – StartUsing – BeforeExperimentMark – ExperimentMark – BeforeLimitedMark – LimitedMark servieExecutionType: description: type: string enum: – TASK – ASSIGNMENT serviceProtocolType: description: type: string enum: – PLATAFORM – REST httpMethodType: description: type: string enum: – GET – POST – PUT – DELETE – PATCH paramServiceType: description: type: string enum: – Boolean – Integer – String – Double – Date processExecutionType: description: Tipo de execução do processo type: string enum: – Ecm – InterfaceWeb requestHistoryType: description: Tipo de entrada no histórico de um solicitação type: string enum: – STARTED – COMMENT – ATTACHMENT_ADDED – ATTACHMENT_REMOVED – CHANGE_RESPONSIBLE – CANCEL_PENDENCY – RESPONSE_PENDENCY – FINISHED processPermissionType: description: Tipo de Permissão por Processo type: string enum: – INIT – COORDINATOR – REQUEST_HISTORY – CANCEL notificationKind: description: Tipo de notificação type: string enum: – EMAIL – PLATFORM notificationEvent: description: Tipo de notificação type: string enum: – NEWREQUEST – ENDPROCESS – CANCELPROCESS – TASKEXPIRATION – NEWTASK processType: description: Tipos de processos type: string enum: – PROCESS – PROCESSMODEL bpmIntegrationStatus: description: type: string enum: – CREATED – PENDING – FINISHED – CANCELED upDown: description: Up or down type: string enum: – UP – DOWN variableVisibility: description: Tipo de visibilidade das variáveis para consulta type: string enum: – RESTRICT – ONLY_PARTICIPATED – ALWAYS documentPublicationType: description: Tipo de publicação Documento type: string enum: – TASK – REQUEST – CONDITION documentSetting: description: Tipo de Configuração do Documento type: string enum: – CURRENT_USER – REQUESTER – INPUT integrationEventType: description: Tipos de eventos de integração type: string enum: – PUBLISHED_DOCUMENT_CONTROL – SERVICE_INTEGRATION_EVENT 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 – 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 processRatingSummary: description: Avaliação de um proceso type: object required: – rate – date properties: rate: type: integer format: int64 description: Nota da avaliação comment: type: string description: Comentário da avaliação date: type: string format: date description: Data de avaliação activity: type: string description: Atiidade do processo username: type: string description: Nome do usuário type: string description: Versão do processo fileToUpload: description: type: object required: – url – version – fileName properties: url: type: string description: Url para upload type: string description: versão do upload fileName: type: string description: Nome do arquivo uploadedFile: description: Upload de um arquivo type: object required: – version – fileName properties: type: string description: versão do upload fileName: type: string description: Nome do arquivo requestProgress: description: Progresso de uma solicitação type: object required: – processInstanceId – processName – currentProgress – previousProgress – activityName – step – activityId properties: processInstanceId: type: integer format: int64 description: Id da solicitação processName: type: string description: Nome do processo currentProgress: type: integer format: int64 description: Percentual atual de progresso da solicitação previousProgress: type: integer format: int64 description: Percentual anterior de progresso da solicitação activityName: type: string description: Nome da atividade atual step: type: integer format: int64 description: Passo atual da solicitação activityId: type: integer format: int64 description: Id da atividade corrente expirationCount: description: type: object required: – status – count properties: status: type: string allOf: – #/definitions/expirationStatus description: status count: type: integer format: int64 description: count searchUserResult: description: Resultado da busca type: object required: – id – name – fullName – displayName properties: id: type: integer format: int64 description: Código do usuário name: type: string description: Login do usuário fullName: type: string description: Nome completo displayName: type: string description: Nome para exibição searchResult: description: Resultado da busca type: object required: – id – value properties: id: type: string description: Id value: type: string description: valor filter: description: Filtro type: object required: – type properties: type: type: string allOf: – #/definitions/filterType description: Campo a ser filtrado stringValue: type: string format: byte description: Valor como string dateValue: type: string format: date-time description: Valor como data field: type: object allOf: – #/definitions/filterField description: Valor do filtro por campo apiFilter: description: Filtro por campo type: object required: – field – operator – fieldValue properties: field: type: string description: Campo a ser filtrado operator: type: string allOf: – #/definitions/apiFilterOperators description: Operador de comparação fieldValue: type: string format: byte description: Valor do campo filterField: description: Filtro por campo type: object required: – name – operator – value properties: name: type: string description: Nome do campo operator: type: string allOf: – #/definitions/operators description: Operador de comparação value: type: string description: Valor order: description: Ordenação type: object required: – field – direction properties: field: type: string allOf: – #/definitions/orderField description: Campo a ser ordenado direction: type: string allOf: – #/definitions/orderDirection description: Direção da ordenação processOrder: description: Ordenação da listagem de processos type: object required: – field – direction properties: field: type: string description: Campo a ser ordenado direction: type: string allOf: – #/definitions/orderDirection description: Direção batch: description: Lote de tarefas type: object required: – processId – processName – name – total – actions properties: processId: type: integer format: int64 description: Id do processo processName: type: string description: Nome do processo name: type: string description: Nome da atividade tasks: type: array items: type: object allOf: – #/definitions/task description: Lista de tarefas do lote total: type: integer format: int64 description: Total de ítens actions: type: array items: type: string minimum: 1 description: Ações disponíveis pra esse lote group: description: Agrupamento type: object required: – name – total properties: name: type: string format: byte description: Nome do agrupamento tasks: type: array items: type: object allOf: – #/definitions/task description: Lista de tarefas/solicitações do agrupamento total: type: integer format: int64 description: Total de ítens searchTasksFilter: description: Filtro de tarefas type: object properties: requesters: type: array items: type: string description: Filtrar pelo solicitante requests: type: array items: type: string description: Filtrar pelo identificador da solicitação processes: type: array items: type: string description: Filtrar pelo identificador do processo statuses: type: array items: type: string description: Filtrar pelo status task: description: Tarefa type: object required: – processId – processInstanceId – activity – creationDate – startDate – requesterName – activityId – step – pendencyCount – responseStatus properties: processId: type: integer format: int64 description: Id do processo processName: type: string description: Nome do processo processInstanceId: type: integer format: int64 description: Id da instância do processo activity: type: string description: Atividade detail: type: string description: Detalhes do processo creationDate: type: string format: date-time description: Data de criação do processo startDate: type: string format: date-time description: Data de início da tarefa/processo endDate: type: string format: date-time description: Data de fim da tarefa/processo expirationDate: type: string format: date-time description: Data de expiração da tarefa/processo responsableName: type: string description: Nome do responsável pela tarefa responsableFullName: type: string description: Nome e sobrenome do responsável pela tarefa requesterName: type: string description: Nome do solicitante taskStatus: type: string allOf: – #/definitions/taskStatus description: Status da tarefa requestStatus: type: string allOf: – #/definitions/myRequestKind description: Status da solicitação type: string description: Título da Solicitação activityId: type: integer format: int64 description: Id da atividade step: type: integer format: int64 description: Passo pendencyCount: type: integer format: int64 description: Número de pendências de uma solicitação responseStatus: type: string allOf: – #/definitions/pendencyResponseStatus description: Estado da pendência em lote notificationPreferenceInput: description: Entrada de dados de preferências de notificação type: object required: – id – type – newRequest – endProcess – cancelProcess – taskExpiration – newTask properties: id: type: string description: Identificador type: type: string allOf: – #/definitions/notificationKind description: Tipo da notificação userName: type: string description: Nome do usuario processId: type: integer format: int64 description: Identificador do processo newRequest: type: boolean description: Nova solicitação endProcess: type: boolean description: Solicitação encerrada cancelProcess: type: boolean description: Solicitação cancelada taskExpiration: type: boolean description: Prazo de Expiração da tarefa newTask: type: boolean description: Nova tarefa userGroupNotification: description: Grupo de usuários que serão notificados na notificação agrupada type: object required: – groupId – pendencyNotify – daysBeforeExpires – daysAfterExpires properties: groupId: type: string maxLength: 36 description: Código do grupo de usuários pendencyNotify: type: boolean description: Notifica apenas quando tem pendentes daysBeforeExpires: type: integer format: int64 description: Notificar com quantos dias antes da expiração daysAfterExpires: type: integer format: int64 description: Quantos dias deve notificar após uma tarefa expirar dailyNotification: description: Configuração para notificações diarias agrupadas type: object required: – processId properties: processId: type: integer format: int64 description: Identificador do processo description: type: string description: Texto a ser adicionado sob o nome do processo userGroups: type: array items: type: object allOf: – #/definitions/userGroupNotification description: Lista com os grupos de usuário a serem notificados myRequestResumeParameters: description: Parametros de entrada para busca do resumo da solicitação type: object properties: start: type: integer format: int64 description: Faixa inicial da consulta limit: type: integer format: int64 description: Quantidade de linhas da consulta filterValue: type: string description: Filtro para buscar pelo nome da pendencia ou valor das variáveis do processo filter: type: array items: type: string allOf: – #/definitions/myRequestKind description: Filtro por status processFilterType: type: string allOf: – #/definitions/processFilterType description: Filtro do tipo de processo (embarcado ou não) myRequestsResume: description: Resumo das Solicitações type: object required: – processInstanceId – processName – startDate – endDate – status – activityName – taskUser – expirationDate – processId – processVersion – embedded – detail properties: processInstanceId: type: integer format: int64 description: Instancia de Processo processName: type: string description: Nome do Processo startDate: type: string format: date-time description: Criação da Soliciatção endDate: type: string format: date-time description: Enceramento da Solicitação status: type: string description: Status activityName: type: string description: Nome da Atividade Atual taskUser: type: string description: Usuário Atual da Tarefa expirationDate: type: string format: date-time description: Data de Expiração processId: type: integer format: int64 description: Identificador do Processo processVersion: type: integer format: int64 description: Versão do Processo embedded: type: boolean description: Indica se o processo desta solicitação é embarcado detail: type: string description: Detalhes da Solicitação flowToken: type: array items: type: object allOf: – #/definitions/serviceFlowToken description: Identificador de uma pendência. serviceProcess: description: Representa um processo de workflow. type: object required: – processId – currentVersion – publishedVersion – processName – processRawName – changed – fileName – status – description – creationDate properties: processId: type: integer format: int64 description: Identificador do Processo currentVersion: type: integer format: int64 description: Versão Atual do Processo publishedVersion: type: integer format: int64 description: Versão Publicada do Processo processName: type: string description: Nome do Processo processRawName: type: string description: Nome do processo assim como se encontra no banco de dados changed: type: boolean description: Se o processo está modificado fileName: type: string description: Nome do Arquivo do Processo status: type: string allOf: – #/definitions/processPublicationStatus description: Se o processo esta publicado ou apenas salvo description: type: string description: Descrição do processo creationDate: type: string format: date-time description: Data de criação do processo active: type: boolean description: Se o processo está ativo embedded: type: boolean description: Se o processo é embarcado simple: type: boolean description: Se o prcesso é simples tag: type: string description: Tag agrupador de Processos accessLevel: type: string allOf: – #/definitions/processAccessLevel description: Indica o nível de acesso do usuário ao processo icon: type: string description: Ícone do processo serviceEventQtyByType: type: array items: type: object allOf: – #/definitions/serviceEventQtyByType description: Listagem dos tipos e quantidade de eventos de serviço externo ProcessAuthor: description: Representa o autor do processo type: object required: – author properties: fullName: type: string description: Nome completo do autor author: type: string description: Nome de usuário do autor do processo authorEmail: type: string description: E-mail do autor do processo processListItem: description: Representa um processo de workflow. type: object required: – id – currentVersion – name – description – lastUpdateDate – author properties: id: type: integer format: int64 description: Identificador do Processo currentVersion: type: integer format: int64 description: Versão atual do Processo name: type: string description: Nome do Processo description: type: string description: Descrição do processo lastUpdateDate: type: string format: date-time description: Data da última alteração do processo author: type: string description: Nome de usuário do autor do processo authorEmail: type: string description: E-mail do autor do processo active: type: integer format: int64 description: Se o processo está ativo simple: type: integer format: int64 description: Se o processo é simples category: type: string description: Categoria do processo icon: type: string description: Ícone do processo countIntegrationErrorsLastWeek: type: integer format: int64 description: Se o processo teve erros de integração nos últimos 7 dias thumbnail: type: string description: URL da thumbnail do processo rating: type: number format: double description: Avaliação média do processo ratingCount: type: integer format: int64 description: Quantidade de avaliações enableRating: type: boolean description: Habilita avaliação para o processo serviceEventQtyByType: description: Quantidade de eventos de serviços externos por tipos type: object required: – type – quantity properties: type: type: string allOf: – #/definitions/integrationStatus description: tipo do evento quantity: type: integer format: int64 description: quantidade de eventos processRanking: description: Ranking de Processos mais usados pelo usuário type: object required: – processId – currentVersion – processName – requests properties: processId: type: integer format: int64 description: Identificador do Processo currentVersion: type: integer format: int64 description: Versão Atual do Processo processName: type: string description: Nome do Processo tag: type: string description: Tag agrupador de Processos icon: type: string description: Ícone do processo description: type: string description: Descrição do processo requests: type: integer format: int64 description: Número de solicitações processError: description: discriminator: _discriminator type: object required: – actionName – processInstanceId – errorDate – name – activity – requester – user – type – message – step – activityId – _discriminator properties: actionName: type: string description: processInstanceId: type: integer format: int64 description: errorDate: type: string format: date-time description: name: type: string description: activity: type: string description: requester: type: string description: user: type: string description: type: type: string description: message: type: string description: step: type: integer format: int64 description: activityId: type: integer format: int64 description: _discriminator: type: string description: recoveredProcess: description: allOf: – #/definitions/processError – type: object required: – recoveryDate – status properties: recoveryDate: type: string format: date-time description: status: type: string description: pendency: description: Representa uma pendência de um processo type: object required: – serviceFlowToken – description – hint – currentSubject – delegatorSubject – startDate – lastUpdateDate – expirationDate – performerId – processInstance – type – pool properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: description: type: string description: hint: type: string description: currentSubject: type: object allOf: – #/definitions/serviceSubject description: delegatorSubject: type: object allOf: – #/definitions/serviceSubject description: startDate: type: string format: date-time description: lastUpdateDate: type: string format: date-time description: expirationDate: type: string format: date-time description: performerId: type: string description: processInstance: type: object allOf: – #/definitions/processInstance description: type: type: string allOf: – #/definitions/pendencyType description: pool: type: boolean description: type: string description: summarizedPendency: description: Representa uma pendência de um processo type: object required: – serviceFlowToken – startDate – processName – description – hint – type – currentSubject – requester – expirationDate – lastUpdateDate – pool – detail properties: serviceFlowToken: type: object allOf: – #/definitions/serviceFlowToken description: startDate: type: string format: date-time description: processName: type: string description: description: type: string description: hint: type: string description: type: type: string allOf: – #/definitions/pendencyType description: currentSubject: type: string description: requester: type: string description: expirationDate: type: string format: date-time description: lastUpdateDate: type: string format: date-time description: pool: type: boolean description: detail: type: string description: comment: description: Representa um comentário de uma instacia de processo type: object required: – id – username – created – updated – comment – processInstanceID properties: id: type: integer format: int64 description: username: type: string description: created: type: string format: date-time description: updated: type: string format: date-time description: comment: type: string description: processInstanceID: type: integer format: int64 description: processInstance: description: Representa uma instancia de processo type: object required: – id – process – startedSubject – cancelSubject – startDate – lastUptadeDate – endDate – flowExecutionStatus – endMessage – description – flowToken – taskExpiration properties: id: type: integer format: int64 description: process: type: object allOf: – #/definitions/serviceProcess description: startedSubject: type: object allOf: – #/definitions/serviceSubject description: cancelSubject: type: object allOf: – #/definitions/serviceSubject description: startDate: type: string format: date-time description: lastUptadeDate: type: string format: date-time description: endDate: type: string format: date-time description: flowExecutionStatus: type: string description: endMessage: type: string description: description: type: string description: flowToken: type: array items: type: object allOf: – #/definitions/serviceFlowToken minimum: 1 description: taskExpiration: type: string format: date-time description: serviceFlowToken: description: Representa a chave de uma pendência de um processo. – Deprecado type: object required: – processInstanceID – step – activityId properties: processInstanceID: type: integer format: int64 description: Identificador da Instância do Proceso step: type: integer format: int64 description: Identificador da Etapa do Processo activityId: type: integer format: int64 description: Identificador da Atividade flowToken: description: Assinatura corrigindo o processInstanceID presente em serviceFlowToken type: object required: – processInstanceId – step – activityId properties: processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso step: type: integer format: int64 description: Identificador da Etapa do Processo activityId: type: integer format: int64 description: Identificador da Atividade userWorkGroup: description: type: object required: – user properties: user: type: object allOf: – #/definitions/serviceSubject description: workGroup: type: object allOf: – #/definitions/serviceSubject description: serviceSubject: description: Representa um usuário ou grupo. type: object required: – userCode – name – subjectKind properties: userCode: type: integer format: int64 description: name: type: string description: subjectKind: type: string allOf: – #/definitions/subjectKind description: pendencyRequestParameters: description: Representa um objeto usado de parametro de entrada de alguns serviços. type: object properties: start: type: integer format: int64 description: Faixa inicial da consulta limit: type: integer format: int64 description: Quantidade de linhas da consulta type: type: string allOf: – #/definitions/pendencyType description: Tipo da pendencia filterValue: type: string description: Filtro para buscar pelo nome da pendencia ou valor das variáveis do processo processFilterType: type: string allOf: – #/definitions/processFilterType description: Filtro do tipo de processo (embarcado ou não) servicePendencyFilter: description: type: object required: – pagination properties: pagination: type: object allOf: – #/definitions/pagination description: pendencyName: type: string description: Filtro para buscar pelo nome da pendencia pagination: description: type: object properties: start: type: integer format: int64 description: Faixa inicial da consulta limit: type: integer format: int64 description: Quantidade de linhas da consulta processInstanceRequestParameters: description: Representa um objeto usado de parametro de entrada de alguns serviços. type: object properties: start: type: integer format: int64 description: Faixa inicial da consulta limit: type: integer format: int64 description: Quantidade de linhas da consulta filter: type: array items: type: string allOf: – #/definitions/myRequestKind description: Filtro processFilterType: type: string allOf: – #/definitions/processFilterType description: Filtro do tipo de processo (embarcado ou não) responseData: description: Representa a entrada de dados de uma ação de resposta de pendência type: object properties: businessData: type: string description: Dados de Negócio do Processo flowExecutionData: type: object allOf: – #/definitions/flowExecutionData description: Informação para Fluxo de Execução do Processo flowExecutionData: description: Dados para a execução do fluxo type: object required: – actionToExecute properties: actionToExecute: type: string description: Nome da ação a ser tomada dentro do fluxo nextSubject: type: string description: Usuário que pode receber a próxima ação pendencyProcessAction: description: Representa uma ação para execução de uma pendência do processo. type: object required: – executeAction properties: executeAction: type: string description: Ação a ser executada. nextSubjects: type: array items: type: object allOf: – #/definitions/serviceSubject description: próximo executor da pendência. accessPropertiesResponse: description: type: object required: – performerURI – performerData properties: performerURI: type: string description: performerData: type: string description: reportProcessReference: description: type: object required: – id – name properties: id: type: integer format: int64 description: name: type: string description: reportPendencyExpirationStatusVolume: description: type: object required: – status – count properties: status: type: string allOf: – #/definitions/reportTaskExpirationStatus description: count: type: integer format: int64 description: reportProcessMovementsVolume: description: type: object required: – process – volumes properties: process: type: object allOf: – #/definitions/reportProcessReference description: volumes: type: array items: type: object allOf: – #/definitions/reportPeriodMovementsVolume minimum: 1 description: reportPeriodMovementsVolume: description: type: object required: – period – movementsCount properties: period: type: string format: date description: movementsCount: type: integer format: int64 description: reportProcessExpirationVolume: description: type: object required: – process – activePendenciesCount – finishedPendenciesCount properties: process: type: object allOf: – #/definitions/reportProcessReference description: activePendenciesCount: type: integer format: int64 description: finishedPendenciesCount: type: integer format: int64 description: reportTasksByStepsAndProcess: description: type: object required: – quantity – step – status properties: quantity: type: integer format: int64 description: step: type: string description: status: type: integer format: int64 description: reportProcessVolume: description: type: object required: – process – volume properties: process: type: object allOf: – #/definitions/reportProcessReference description: volume: type: integer format: int64 description: reportProcessActivities: description: type: object required: – month – volume properties: month: type: string description: volume: type: integer format: int64 description: processAction: description: type: object required: – name – label – finish – connectsWithAutomaticGateway – isAppUser properties: name: type: string description: label: type: string description: finish: type: boolean description: connectsWithAutomaticGateway: type: boolean description: isAppUser: type: boolean description: reportProcessExpirationActivity: description: type: object required: – processId – processName – activityName – expireOneDayCount – expireFiveDaysCount – expireMoreDaysCount – expireDaysAverage properties: processId: type: integer format: int64 description: processName: type: string description: activityName: type: string description: expireOneDayCount: type: integer format: int64 description: expireFiveDaysCount: type: integer format: int64 description: expireMoreDaysCount: type: integer format: int64 description: expireDaysAverage: type: integer format: int64 description: assignmentItem: description: Parâmetros do Mecanismo de Atribuição type: object required: – type – value properties: type: type: string allOf: – #/definitions/assignmentType description: Tipo do Mecanismo de Associação value: type: string description: Valor que representa o responsável associado serviceAttachment: description: Representação de um anexo no BlobService type: object required: – id – name – size – uploadDate – addedBy properties: id: type: string description: Identificador do anexo name: type: string description: Nome do arquivo anexado size: type: integer format: int64 description: Tamanho do arquivo anexado uploadDate: type: string format: date-time description: Data do envio addedBy: type: string description: Responsável pelo anexo keyValueRecord: description: Registro Genérico para Chave Valor type: object required: – key – value properties: key: type: string description: Nome da Chave value: type: string description: Valor keyValueTypeRecord: description: Registro Genérico para Chave Valor Tipo type: object required: – key – value – type properties: key: type: string description: value: type: string description: type: type: string allOf: – #/definitions/paramServiceType description: activityHistory: description: Histórico de um atividade type: object required: – name – start – end – duration properties: name: type: string description: nome da atividade start: type: string format: date-time description: inicio da atividade end: type: string format: date-time description: fim da atividade duration: type: integer format: int64 description: Duaração da atividade em milisegundos requestHistoryResume: description: Registro com extrato de um solicitação type: object required: – processName – items – comments – attachments – variables properties: processName: type: string description: Nome do Processo items: type: array items: type: object allOf: – #/definitions/requestHistory minimum: 1 description: Items do histórico desta solicitação comments: type: array items: type: object allOf: – #/definitions/comment minimum: 1 description: Comentários desta solicitação attachments: type: array items: type: object allOf: – #/definitions/serviceAttachment minimum: 1 description: Anaexos da solicitação variables: type: array items: type: object allOf: – #/definitions/keyValueRecord minimum: 1 description: Variavies da solicitação requestHistoryTimelineEntry: description: Linha do tempo com o registro de ações e observações de uma solicitação type: object required: – processInstanceId – historyType – historyDate – userName – oldResponsible – newResponsible properties: processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso historyType: type: string allOf: – #/definitions/requestHistoryType description: Tipo de Entrada Histórico historyDate: type: string format: date-time description: Data do Histórico userName: type: string description: Usuário responsável impersonatedUserName: type: string description: Ação executada em nome do usuário taskName: type: string description: Nome da Tarefa actionName: type: string description: Nome ação Executada userIpAddress: type: string description: Endereço IP do usuário comment: type: string description: Comentário realizado na etapa do processo attachmentName: type: string description: Anexo oldResponsible: type: string description: Responsável anterior newResponsible: type: string description: Novo responsável cancelReason: type: string description: Razão do cancelamento defaultRole: description: Papel padrão do BPM type: object required: – id – name properties: id: type: string description: Identificador do papel name: type: string description: Nome do papel processTemplate: description: Template de Processos Workflow type: object required: – id – name – description – kind – icon properties: id: type: integer format: int64 description: identificação unica do processo que representa o template do processo name: type: string description: Nome do Modelo description: type: string description: Descrição explicando o modelo kind: type: string description: Indica se é um processo simple ou BPM icon: type: string description: representação do icone downloadUrl: type: string description: URL para download do template conflict: description: Representa um conflito entre os metadados de um processo e o tenant corrente discriminator: _discriminator type: object required: – name – type – _discriminator properties: name: type: string description: Nome do conflito type: type: string allOf: – #/definitions/conflictType description: Tipo do conflito _discriminator: type: string description: handledConflict: description: Representa um conflito de importação de processo resolvido allOf: – #/definitions/conflict – type: object required: – decision properties: decision: type: string allOf: – #/definitions/conflictDecision description: Decisão tomada em relação ao conflito thirdpartyRequestResume: description: Resumo das Solicitações com Integração Terceira type: object required: – flowToken – processData properties: flowToken: type: object allOf: – #/definitions/serviceFlowToken description: Identificador da pendência thirdpartyId: type: string description: Identificador da aplicação terceira processData: type: string format: byte description: Dados das variáveis do processo tagResume: description: Representa um conflito entre os metadados de um processo e o tenant corrente type: object required: – name – processCount properties: name: type: string description: Nome da Categoria processCount: type: integer format: int64 description: Número de Processos Associados checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck customAssignment: description: Representa as configuração de um endPoint para um mecanimos de atribuição customizado type: object required: – id – description – platform – primitiveName properties: id: type: string description: Identificador do Mecanismo de Atribuição Customizado description: type: string description: Descrição do Mecanismo Customizado platform: type: boolean description: Indica se o mecanismo é implementado na plataforma ou serviço externo domainName: type: string description: Nome do dominio do serviço Customizado serviceName: type: string description: Nome do Serviço Customizado primitiveName: type: string description: Nome da Primiva Customizado processEcm: description: Relaciona Processo do Workflow com entidade do ECM type: object required: – processId – entityName – formVersion properties: processId: type: integer format: int64 description: Indentificador do Process entityName: type: string description: Nome da Entidade do Formulário formVersion: type: integer format: int64 description: Versão do Formulário generalProcessConfig: description: Configurações adicionais relacionadas ao processo em geral type: object required: – id – processId – processVersion – executionConfig properties: id: type: string description: Identificador da configuração processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo executionConfig: type: string description: Configuração do processo quando uma instância ecm for detalhada serviceIntegration: description: Serviço de Integraçao type: object required: – id – name – execution – protocol – method – url properties: id: type: string description: Identificador name: type: string description: Nome do Serviço que aparece no workflow execution: type: string allOf: – #/definitions/servieExecutionType description: Tipo da Execução do Serviço protocol: type: string allOf: – #/definitions/serviceProtocolType description: Protocolo para invocar o serviço method: type: string allOf: – #/definitions/httpMethodType description: Metodo HTTP para chamada REST url: type: string maxLength: 255 description: EndPoint do Serviços params: type: array items: type: object allOf: – #/definitions/paramService description: Parametros do Serviço paramService: description: Parametros do Serviço type: object required: – id – name – input – paramType properties: id: type: string description: Identificador do Parametro name: type: string description: Nome do Parametro input: type: boolean description: Indica se o parametro é de entrada ou saida paramType: type: string allOf: – #/definitions/paramServiceType description: Tipo do Parametro contextVariable: description: Definição das Variaveis de Contexto para Consulta em Processos type: object required: – id – processId – processVersion – name – label – variableType – visible – orderField – visibleForRequester – deprecated – visibleForDecisionCenter properties: id: type: string description: Identificador processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do Processo quando a definição foi atualizada name: type: string description: Nome do Campo label: type: string description: Título para Campo variableType: type: string allOf: – #/definitions/paramServiceType description: Tipo de Variavel visible: type: boolean description: Indicar se mostra na tela de tarefas e solicitação orderField: type: integer format: int64 description: Odernação dos campos visibleForRequester: type: boolean description: Indicar se o campo é visivel para o solicitante deprecated: type: boolean description: Indica que o campo não é mais usado no processo visibleForDecisionCenter: type: boolean description: Indica que o campo não é visivel no Aplicativo Decision Center contextVariableData: description: Definição das Variáveis de Contexto para Consulta em Processos type: object required: – id – processInstanceId – contextVariable properties: id: type: string description: Identificador processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso contextVariable: type: object allOf: – #/definitions/contextVariable description: Variavel de Conexto de um Processo contextValue: type: string description: Valor da Variavels contextDetail: description: Tabela para otimziar pesquisa dos detalhes do processo type: object required: – id – processInstanceId – detail properties: id: type: string description: Identificador processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso detail: type: string description: Variaveis que representam os detalhes do Processo requestHistory: description: Histórico da Solicitação type: object required: – id – processInstanceId – historyType – historyDate – userName properties: id: type: string description: Identificador processInstanceId: type: integer format: int64 description: Identificador da Instancia do Proceso historyType: type: string allOf: – #/definitions/requestHistoryType description: Tipo de Entrada Histórico historyDate: type: string format: date-time description: Data do Histórico userName: type: string description: Usuário responsável impersonatedUserName: type: string description: Ação executada em nome do usuário taskName: type: string description: Nome da Tarefa actionName: type: string description: Nome ação Executada commentId: type: integer format: int64 description: Identificador do Comentário attachment: type: string description: Identificador do Anexo Incluido userIpAddress: type: string description: Endereço IP do usuário responsibleOld: type: string description: Responsável anterior da tarefa responsibleNew: type: string description: Responsável novo da tarefa cancelReason: type: string description: Motivo Cancelamento Solicitação calendar: description: Calendário de Processos BPM type: object required: – id – name – workMon – workTue – workWed – workThu – workFri – workSat – workSun properties: id: type: string description: Identificador name: type: string description: Nome do Calendário startTime: type: integer format: int64 description: Inicio do Trabalho em Minutos default: 0 endTime: type: integer format: int64 description: Fim do Trabalho em Minutoso default: 1440 workMon: type: boolean description: Considerar Segunda-Feira workTue: type: boolean description: Considerar Terça-Feira workWed: type: boolean description: Considerar Quarta-Feira workThu: type: boolean description: Considerar Quinta-Feira workFri: type: boolean description: Considerar Sexta-Feira workSat: type: boolean description: Considerar Sábado workSun: type: boolean description: Considerar Domingo holiday: description: Dias de Feriado type: object required: – id – day – name properties: id: type: string description: Identificador day: type: string format: date description: Dia do Feriado name: type: string description: Nome do Feriado notificationPreferences: description: Preferencias de notificação type: object required: – id – type – newRequest – endProcess – cancelProcess – taskExpiration – newTask properties: id: type: string description: Identificador userName: type: string description: Nome do usuario processId: type: integer format: int64 description: Identificador do processo type: type: string allOf: – #/definitions/notificationKind description: Tipo da notificação newRequest: type: boolean description: Nova solicitação endProcess: type: boolean description: Solicitação encerrada cancelProcess: type: boolean description: Solicitação cancelada taskExpiration: type: boolean description: Prazo de Expiração da tarefa newTask: type: boolean description: Nova tarefa tag: description: Tags Categoria para os Processo type: object required: – id – name properties: id: type: string description: Identificador name: type: string description: Nome da Tag processConfig: description: Configurações do Processo type: object required: – processId – ownerID – icon properties: processId: type: integer format: int64 description: Identificador do processo name: type: string description: Nome do processo description: type: string description: Descrição ownerID: type: integer format: int64 description: ID do subject dono do processo tag: type: object allOf: – #/definitions/tag description: Categoria executionType: type: string allOf: – #/definitions/processExecutionType description: Tipo de execução entityName: type: string description: Nome da entidade ECM entityVersion: type: integer format: int64 description: Versão da entidade ECM formUrl: type: string description: Url do formulário WEB icon: type: string description: Ícone do Processo taskVisibleAfterTreated: type: boolean description: DEPRECADO – Se a tarefa estará visível após ser tratada variableVisibility: type: string allOf: – #/definitions/variableVisibility description: Tipo de visibilidade das variáveis para consulta generateView: type: boolean description: Define se irá gerar a view para o visões dinâmicas viewName: type: string description: Nome da view para visões dinâmicas exclusionUser: type: string description: Usuário que excluiu exclusionDate: type: string format: date description: Data de exclusão processKey: type: string description: Identificador Chave do Processo resourceURI: type: string description: URI do recurso do processo enableRating: type: boolean description: Habilita avaliação para o processo activity: description: Atividade do fluxo type: object required: – id – processId – processVersion – activityId – activityName – distanceToFinish properties: id: type: string description: Identificador gguid da atividade processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo activityId: type: integer format: int64 description: Id da atividade no fluxo activityName: type: string description: Nome da atividade distanceToFinish: type: integer format: int64 description: Distância para o fim do processo mais distante featureToggle: description: Configurações do sistema que permitem type: object required: – id – feature – enable properties: id: type: string description: Identificador feature: type: string description: Nome da Funcionalidade enable: type: boolean description: Indica se a funcionalidade esta habilitada processThumbnail: description: Miniatura do processo type: object required: – id – processId – processVersion – uri – lastModifiedDate properties: id: type: string description: Identificador da miniatura processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo uri: type: string description: URI para download lastModifiedDate: type: string format: date-time description: Ultima modificação miniatura processDocumentConfig: description: Configuraçao para integração com Gestão de Documentos type: object required: – id – processId – processVersion – folder – publishedKind – author – permission properties: id: type: string description: Identificador processId: type: integer format: int64 description: Id do processo processVersion: type: integer format: int64 description: Versão do processo folder: type: string description: Pasta de Destino dos Documentos subjectName: type: string maxLength: 100 description: Nome do Assunto do Documento publishedKind: type: string allOf: – #/definitions/documentPublicationType description: Tipo de Publicação publishedCondition: type: string maxLength: 255 description: Condição para publicação de documentos author: type: string allOf: – #/definitions/documentSetting description: Configuração para obter o autor do documento no GED authorUserName: type: string maxLength: 255 description: Nome do Autor quando opta-se por informar o valor usuário permission: type: string allOf: – #/definitions/documentSetting description: Configuração de Permissão de visualizar o documento no GED permissionRoleName: type: string maxLength: 255 description: Nome do Papel quando opta-se por informar o valor publishedDocumentControl: description: Tabela para controle de documentos publicados type: object required: – id – processId – processInstanceId – targetObjectId – fileName – version – fileSize – origin – fileUrl – input – created – createdBy – status properties: id: type: string description: Identificador processId: type: integer format: int64 description: Indentificador do process processInstanceId: type: integer format: int64 description: Identificador da Instância do Proceso targetObjectId: type: string description: Identificador do Arquivo Origem fileName: type: string description: Nome do Arquivo type: string description: Versão do Arquivo fileSize: type: integer format: int64 description: Tamanho Arquivo origin: type: string description: Origem Arquivo BPM ou ECM variableName: type: string description: Nome da variavel associada ao documento fileUrl: type: string description: URL do arquivo quando feito o upload input: type: string maxLength: 1024 description: Entrada de Dados da solicitação ticketId: type: string description: Ticket de solicitação para publicação documento documentId: type: string description: Identificador Documento published: type: boolean description: Documento publicado no GED created: type: string format: date-time description: Data da Execução createdBy: type: string maxLength: 255 description: Usuario que executou a requisicao status: type: string allOf: – #/definitions/integrationStatus description: Estado de upload do documento log: type: string maxLength: 2048 description: Mensagem de erro rating: description: Tabela com os dados de rating do workflow type: object required: – appKey properties: appKey: type: string description: AppKey gerado pelo rating integrationEvent: description: Eventos de integrações do processo type: object required: – id – processId – processInstanceId – created – createdBy – status – type – data – notified properties: id: type: string description: Identificador processId: type: integer format: int64 description: Identificador do processo processInstanceId: type: integer format: int64 description: Identificador da instância do processo created: type: string format: date-time description: Data da Execução createdBy: type: string maxLength: 255 description: Usuario que executou a requisicao status: type: string allOf: – #/definitions/integrationStatus description: Estado do evento de integração type: type: string allOf: – #/definitions/integrationEventType description: Tipo do evento de integração data: type: string format: byte description: Dados da integração no formato PublishedDocumentControl ou ServiceIntegrationEvent notified: type: boolean description: Se o resultado dessa integração gerou uma notificação serviceIntegrationEvent: description: Eventos de integrações do processo type: object required: – id – name – created – createdBy – statusCode – requestTime – requestUrl properties: id: type: string description: Identificador name: type: string description: Nome do Serviço created: type: string format: date-time description: Data da Execução createdBy: type: string maxLength: 255 description: Usuario que executou a requisicao statusCode: type: integer format: int64 description: Status Http requestTime: type: integer format: int64 description: Tempo da Execução em milisegundos requestUrl: type: string maxLength: 512 description: URL da requisição log: type: string maxLength: 2048 description: Log da Execucao processId: type: integer format: int64 description: Identificação Processo processInstanceId: type: integer format: int64 description: Identificação da Solicitação type: type: string allOf: – #/definitions/IntegrationServiceEventType description: Tipos de retorno do serviço externo inputParams: type: string description: Parâmetros de entrada da requisição responseContent: type: string description: Resposta do serviço 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

Este artigo foi útil para você?

Leave A Comment