bpo

2.0info: 1.5.12 workflow_request_moderator description: Serviço para moderação das requisições BPM x-senior-domain: bpo x-senior-domain-path: bpo x-senior-service-path: workflow_request_moderator contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /bpo/workflow_request_moderatorsecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /deactivateProcessDefinition: post: description: Desativa a Definição do Processo (Integração com BPM) x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – processDefinitionId properties: processDefinitionId: type: string description: ID da Definição do Processo responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /healthcheck: post: description: Query for health check – SRE x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId responses: 200: description: Ok schema: type: object required: – status – checks properties: status: #/definitions/upDown checks: #/definitions/checkData default: description: Error response schema: #/definitions/genericError get: description: Query for health check – SRE x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId responses: 200: description: Ok schema: type: object required: – status – checks properties: status: #/definitions/upDown checks: #/definitions/checkData default: description: Error response schema: #/definitions/genericError /activateProcessDefinition: post: description: Ativa a Definição do Processo (Integração com BPM) x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – processDefinitionId properties: processDefinitionId: type: string description: ID da Definição do Processo responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: upDown: type: string enum: – UP – DOWN checkData: type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: #/definitions/upDown 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