erpx_bnk

2.0info: 1.6.0 wizard description: x-senior-domain: erpx_bnk x-senior-domain-path: erpx_bnk x-senior-service-path: wizard contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /erpx_bnk/wizardsecurityDefinitions: 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: /registerBankingConsent: post: description: API pública responsável pelo registro de forma síncrona do consentimento para uso do ERP Banking x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – companyDocument – companyName – userSystem – userName – customerCode – consentTerm – origin properties: companyDocument: type: string description: CNPJ da empresa companyName: type: string description: Nome da empresa userSystem: type: string description: Usuário userName: type: string description: Nome do usuário userEmail: type: string description: E-mail do usuário customerCode: type: string description: Código do cliente consentTerm: type: string description: Termo de aceite tenantPlatform: type: string description: Tenant da plataforma origin: #/definitions/bankingConsentOrigin responses: 200: description: Ok 404: description: Registro não localizado através do ID ERPX ou chave de negócio informados 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericErrordefinitions: bankingConsentOrigin: type: string enum: – ERPXT 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