2.0info: 3.0.3 contas_pagar_integration description: Serviço para integração com o contas a pagar x-senior-domain: erpx_fin x-senior-domain-path: erpx_fin x-senior-service-path: contas_pagar_integration 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/erpx_finsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /contas_pagar_integration/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 /contas_pagar_integration/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 /contas_pagar_integration/queries/exportE070emp: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportE070fil: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportModulos: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportE001pes: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportE002tpt: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportE066fpg: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportE501tcp: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportControleIntegracaoDDABanking: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportLoteFinanceiro: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/exportAsyncCallback: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/verificarElegibilidadeRegistroTitulosDDABanking: post: description: Verifica elegibilidade de integração com o DDA Banking tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idTitulos properties: idLoteFinanceiro: type: string description: Id do lote financeiro processId: type: string description: Id do processo idTitulos: type: array items: type: string minimum: 1 description: Ids dos títulos a pagar responses: 200: description: Ok schema: type: object required: – integracaoAtiva properties: integracaoAtiva: type: boolean description: titulos: type: array items: type: object allOf: – #/definitions/resultadoElegeblidadeIntegrarTituloDDABanking description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/retornoRegistroDDABanking: post: description: Simula o retorno de integração de registro DDA Banking, forçando a finalização da integração tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – titulos properties: processId: type: string description: Id do processo titulos: type: array items: type: object allOf: – #/definitions/retornoEnvioTituloDDABanking minimum: 1 description: Títulos a pagar responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/retornoExclusaoDDABanking: post: description: Simula o retorno de integração de exclusão do DDA Banking, forçando a finalização da integração tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – processId – titulos properties: processId: type: string description: Id do processo titulos: type: array items: type: object allOf: – #/definitions/retornoEnvioTituloDDABanking minimum: 1 description: Títulos a pagar responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/associarTituloDDABanking: post: description: Simula evento de associação de títulos a pagar do DDA Banking tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idEmpresa – titulos properties: idEmpresa: type: string description: Id da empresa titulos: type: array items: type: object allOf: – #/definitions/recTituloAssociacaoDDA minimum: 1 description: Títulos a pagar responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/desassociarTituloDDABanking: post: description: Simula evento de desassociação de títulos a pagar do DDA Banking tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idEmpresa – titulos properties: idEmpresa: type: string description: Id da empresa titulos: type: array items: type: object allOf: – #/definitions/recTituloDesassociacaoDDA minimum: 1 description: Títulos a pagar responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE070emp: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE070fil: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importModulos: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE001pes: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE002tpt: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE066fpg: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importE501tcp: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importControleIntegracaoDDABanking: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importLoteFinanceiro: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/actions/importAsyncCallback: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/signals/integrarTitulosDDA: post: description: Integra títulos a pagar do DDA tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – idTitulos properties: idLoteFinanceiro: type: string description: Id do lote financeiro processId: type: string description: Id do processo idTitulos: type: array items: type: string minimum: 1 description: Ids dos títulos a pagar callback: type: object allOf: – #/definitions/callback description: Callback responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE070empEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE070empEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE070filEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE070filEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importModulosEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportModulosEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE001pesEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE001pesEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE002tptEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE002tptEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE066fpgEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE066fpgEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importE501tcpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportE501tcpEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importControleIntegracaoDDABankingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportControleIntegracaoDDABankingEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importLoteFinanceiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportLoteFinanceiroEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/importAsyncCallbackEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/events/exportAsyncCallbackEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/controleIntegracaoDDABanking: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/controleIntegracaoDDABanking responses: 200: description: The created resource schema: #/definitions/controleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/controleIntegracaoDDABanking responses: 200: description: The created resource schema: #/definitions/controleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/controleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/controleIntegracaoDDABanking/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editControleIntegracaoDDABanking responses: 200: description: Ok schema: #/definitions/editControleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/controleIntegracaoDDABanking responses: 200: description: Ok schema: #/definitions/controleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/controleIntegracaoDDABanking 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/controleIntegracaoDDABanking/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/controleIntegracaoDDABanking responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/asyncCallback: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/asyncCallback responses: 200: description: The created resource schema: #/definitions/asyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/asyncCallback responses: 200: description: The created resource schema: #/definitions/asyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/asyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/asyncCallback/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/editAsyncCallback responses: 200: description: Ok schema: #/definitions/editAsyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/asyncCallback responses: 200: description: Ok schema: #/definitions/asyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/asyncCallback 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /contas_pagar_integration/entities/asyncCallback/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/asyncCallback responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: upDown: type: string enum: – UP – DOWN description: Up or down: * `UP` – Up * `DOWN` – Down enumSitTit: type: string enum: – VAO – VAN – VAA – VAB – VAC – VAE – VAI – VAJ – VAP – VAR – VAS – VAV – VAX – VCA – VCE – VCO – VLQ – VLC – VLI – VLM – VLO – VLP – VLS – VLV – VLX – VPE – VPB – VBK description: Situação do Título: * `VAO` – Aberto ao órgão de proteção ao crédito * `VAN` – Aberto Negociação * `VAA` – Aberto Advogado * `VAB` – Aberto Normal * `VAC` – Aberto Cartório * `VAE` – Aberto Encontro Contas * `VAI` – Aberto Impostos * `VAJ` – Aberto Retorno Jurídico * `VAP` – Aberto Protestado * `VAR` – Aberto Representante * `VAS` – Aberto Suspenso * `VAV` – Aberto Gestão de Pessoas * `VAX` – Aberto Externo * `VCA` – Cancelado * `VCE` – Aberto Cobrança Escritural * `VCO` – Aberto Cobrança * `VLQ` – Liquidado Normal * `VLC` – Liquidado Cartório * `VLI` – Liquidado Impostos * `VLM` – Liquidado Compensado * `VLO` – Liquidado Cobrança * `VLP` – Liquidado Prestado * `VLS` – Liquidado Substituído * `VLV` – Liquidado Gestão de Pessoas * `VLX` – Liquidado Externo * `VPE` – Aberto Pagamento Eletrônico * `VPB` – Em Processo de Baixa * `VBK` – Pagamento ERP Banking enumModulos: type: string enum: – CONTROLADORIA – MANUFATURA – ECOMMERCE – MRP – RMS – FLUXO_CAIXA – DRP – CRM – BANKING – DDA_BANKING_ERPX description: Módulos que podem ser adquiridos pelo cliente: * `CONTROLADORIA` – Controladoria * `MANUFATURA` – Manufatura * `ECOMMERCE` – e-Commerce * `MRP` – MRP * `RMS` – Roteirização(RMS) * `FLUXO_CAIXA` – Fluxo de caixa * `DRP` – DRP * `CRM` – CRM * `BANKING` – Banking * `DDA_BANKING_ERPX` – DDA Banking com ERPX enumTipFpg: type: string enum: – V01 – V02 – V03 – V04 – V05 – V10 – V11 – V12 – V13 – V15 – V16 – V17 – V18 – V19 – V20 – V21 – V22 – V90 – V91 – V99 description: Tipo pagamento: * `V01` – Dinheiro * `V02` – Cheque * `V03` – Cartão de Crédito * `V04` – Cartão de Débito * `V05` – Crédito Loja * `V10` – Vale Alimentação * `V11` – Vale Refeição * `V12` – Vale Presente * `V13` – Vale Combustível * `V15` – Boleto Bancário * `V16` – Depósito Bancário * `V17` – Pagamento Instantâneo (PIX) * `V18` – Transferência bancária, Carteira Digital * `V19` – Programa de fidelidade, Cashback, Crédito Virtual * `V20` – Pagamento Instantâneo (PIX) – Estático * `V21` – Crédito em Loja * `V22` – Pagamento Eletrônico não Informado * `V90` – Sem Pagamento * `V91` – Pagamento Posterior * `V99` – Outros enumStatusIntegracaoDDABanking: type: string enum: – ENVIADO_REGISTRO – REGISTRO_SUCESSO – ERRO_REGISTRO – ENVIADO_ATUALIZACAO – ATUALIZACAO_SUCESSO – ERRO_ATUALIZACAO – ENVIADO_EXCLUSAO – EXCLUSAO_SUCESSO – ERRO_EXCLUSAO description: Status da integração do DDA Banking: * `ENVIADO_REGISTRO` – Enviado registro * `REGISTRO_SUCESSO` – Registro com sucesso * `ERRO_REGISTRO` – Erro registro * `ENVIADO_ATUALIZACAO` – Enviado atualização * `ATUALIZACAO_SUCESSO` – Atualização com sucesso * `ERRO_ATUALIZACAO` – Erro atualização * `ENVIADO_EXCLUSAO` – Enviado exclusão * `EXCLUSAO_SUCESSO` – Sucesso exclusão * `ERRO_EXCLUSAO` – Erro exclusão enumStatusAssociacaoDDABanking: type: string enum: – ASSOCIADO_MANUALMENTE – NAO_ASSOCIADO – IGNORADO – DESASSOCIADO – AUTOMATICA_POR_OUTRA_FILIAL – AUTOMATICA_SEM_TOLERANCIA – AUTOMATICA_POR_RAIZ_CNPJ – AUTOMATICA_POR_TOLERANCIA_VALOR – AUTOMATICA_POR_TOLERANCIA_VENCIMENTO – AUTOMATICA_POR_TOLERANCIA_VALOR_E_VENCIMENTO description: Status de associação do título a pagar com o DDA Banking: * `ASSOCIADO_MANUALMENTE` – Associado manualmente * `NAO_ASSOCIADO` – Não associado * `IGNORADO` – Ignorado * `DESASSOCIADO` – Desassociado * `AUTOMATICA_POR_OUTRA_FILIAL` – Automática por outra filial * `AUTOMATICA_SEM_TOLERANCIA` – Automática sem tolerância * `AUTOMATICA_POR_RAIZ_CNPJ` – Automática por raiz de CNPJ * `AUTOMATICA_POR_TOLERANCIA_VALOR` – Automática por tolerância de valor * `AUTOMATICA_POR_TOLERANCIA_VENCIMENTO` – Automática por tolerância de vencimento * `AUTOMATICA_POR_TOLERANCIA_VALOR_E_VENCIMENTO` – Automática por tolerância de valor e vencimento enumSituacaoLoteFinanceiro: type: string enum: – PROCESSADO_SUCESSO – PROCESSADO_ERRO – EM_PROCESSAMENTO – EM_PROCESSAMENTO_NOTA_GUIA – PROCESSADO_COM_PENDENCIA – PROCESSADO_ERRO_GUIA – EXCLUIDO_SUCESSO – EXCLUIDO_ERRO – EM_EXCLUSAO – EXCLUIDO_COM_PENDENCIA description: Situação do lote financeiro: * `PROCESSADO_SUCESSO` – Processo finalizado com sucesso * `PROCESSADO_ERRO` – Processo finalizado com erros * `EM_PROCESSAMENTO` – Em processamento * `EM_PROCESSAMENTO_NOTA_GUIA` – Em processamento gerado pela guia * `PROCESSADO_COM_PENDENCIA` – Processado com sucesso, porém com pendências * `PROCESSADO_ERRO_GUIA` – Guia processada com erro * `EXCLUIDO_SUCESSO` – Lote excluído com sucesso * `EXCLUIDO_ERRO` – Lote excluído com erros * `EM_EXCLUSAO` – Em exclusão * `EXCLUIDO_COM_PENDENCIA` – Lote excluído com sucesso, porém com pendências enumTipoIntegracaoDDABanking: type: string enum: – REGISTRO – ALTERACAO – EXCLUSAO description: Tipos de integração com o DDA Banking: * `REGISTRO` – Registro * `ALTERACAO` – Alteração * `EXCLUSAO` – Exclusão userNotificationKind: type: string enum: – Operational – Management – News description: User notification kind.: * `Operational` – Operational * `Management` – Management * `News` – News userNotificationPriority: type: string enum: – Error – Alert – None description: User notification priority.: * `Error` – Error * `Alert` – Alert * `None` – None eventEmailFormat: type: string enum: – HTML – PLAIN_TEXT description: Format of the email: * `HTML` – Html * `PLAIN_TEXT` – Plain Text fieldType: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME description: FieldType: * `BINARY` – Binary * `BOOLEAN` – Boolean * `DATE` – Date * `DATETIME` – Datetime * `LOCALDATETIME` – Localdatetime * `DOUBLE` – Double * `ENUM` – Enum * `INTEGER` – Integer * `MONEY` – Money * `STRING` – String * `TIME` – Time fileFormat: type: string enum: – CSV – FLAT – JSON – XML description: FileFormat: * `CSV` – Csv * `FLAT` – Flat * `JSON` – Json * `XML` – Xml hookFunction: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE description: HookFunction: * `BEFORE_PARSE` – Before parse * `BEFORE_CONVERSION` – Before conversion * `ON_ERROR` – On error * `VALIDATE` – Validate eventType: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START description: EventType: * `CHUNK` – Chunk * `DOWNLOAD` – Download * `ERROR` – Error * `FINISH` – Finish * `START` – Start errorStrategy: type: string enum: – CALL_SCRIPT – IGNORE – STOP description: ErrorStrategy: * `CALL_SCRIPT` – Call script * `IGNORE` – Ignore * `STOP` – Stop status: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING description: Status: * `DONE` – Done * `DONE_WITH_ERRORS` – Done with errors * `DOWNLOADING` – Downloading * `ERROR` – Error * `NOT_STARTED` – Not started * `RUNNING` – Running errorType: type: string enum: – CONVERT_ERROR – SERVICE_ERROR description: ErrorType: * `CONVERT_ERROR` – Convert error * `SERVICE_ERROR` – Service error 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 callback: description: Dados de callback type: object required: – domain – service – primitive properties: domain: type: string description: Domínio service: type: string description: Serviço primitive: type: string description: Primitiva resultadoElegeblidadeIntegrarTituloDDABanking: description: Dados de elegibilidade de título a integrar com DDA Banking type: object required: – idTitulo – numeroTitulo – tipoIntegracao properties: idTitulo: type: string description: Id do título a pagar numeroTitulo: type: string description: Número do título a pagar tipoIntegracao: type: string allOf: – #/definitions/enumTipoIntegracaoDDABanking description: Tipo de integração motivosInelegivel: type: array items: type: string description: Motivos do título ser inelegível para integração errosValidacao: type: array items: type: string description: Erros encontrados na validação do título para integração retornoEnvioTituloDDABanking: description: Dados de retorno de título integrado type: object required: – idTitulo – ocorreuErro properties: idTitulo: type: string description: Id do título a pagar ocorreuErro: type: boolean description: Indicador se ocorreu erro mensagemErro: type: string description: Mensagem de erro, caso tenha ocorrido recTituloAssociacaoDDA: description: Dados de título a pagar para simular associação com DDA Banking type: object required: – idTitulo – statusAssociacao – valorBoleto – dataVencimentoBoleto – linhaDigitavel properties: idTitulo: type: string description: Id do título a pagar statusAssociacao: type: string allOf: – #/definitions/enumStatusAssociacaoDDABanking description: Status da associação valorBoleto: type: string description: Valor do boleto dataVencimentoBoleto: type: string format: date description: Data de vencimento do boleto linhaDigitavel: type: string description: Linha digitável do boleto recTituloDesassociacaoDDA: description: Dados de título a pagar para simular desassociação com DDA Banking type: object required: – idTitulo properties: idTitulo: type: string description: Id do título a pagar e070emp: description: Empresa type: object required: – codEmp – nomEmp properties: id: type: string format: uuid description: Id da entidade codEmp: type: integer format: int64 description: Código nomEmp: type: string maxLength: 100 description: Nome da empresa excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e070fil: description: Filial type: object required: – e070emp – codFil – nomFil – numCgc properties: id: type: string format: uuid description: Id da entidade e070emp: type: object allOf: – #/definitions/e070emp description: Empresa codFil: type: integer format: int64 description: Filial nomFil: type: string maxLength: 100 description: Nome numCgc: type: string maxLength: 18 description: CPF/CNPJ numIdf: type: string maxLength: 40 description: Número de identificação fiscal (NIF) excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: modulos: description: Módulos type: object properties: id: type: string format: uuid description: Id da entidade modulo: type: string allOf: – #/definitions/enumModulos description: Módulo e070emp: type: object allOf: – #/definitions/e070emp description: Empresa ativo: type: boolean description: Indicador se o módulo está ativo integracaoDataLake: type: boolean description: Indicador se o módulo faz integração com o Data Lake usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e001pes: description: Pessoa type: object required: – codPes – nomPes properties: id: type: string format: uuid description: Id da entidade codPes: type: integer format: int64 description: Código da pessoa nomPes: type: string maxLength: 100 description: Nome da pessoa cnpCpf: type: string maxLength: 14 description: CNPJ/CPF usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e002tpt: description: Tipo de Título type: object required: – codTpt properties: id: type: string format: uuid description: Id da entidade codTpt: type: string maxLength: 3 description: Codigo do tipo de título excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e066fpg: description: Forma de pagamento type: object required: – e070emp – codFpg – desFpg – tipFpg properties: id: type: string format: uuid description: Id da entidade e070emp: type: object allOf: – #/definitions/e070emp description: Empresa codFpg: type: integer format: int64 description: Código forma pagamento minimum: 0 maximum: 99 desFpg: type: string maxLength: 30 description: Descrição tipFpg: type: string allOf: – #/definitions/enumTipFpg description: Tipo pagamento excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: e501tcp: description: Título a pagar type: object required: – e070emp – e070fil – numTit – e002tpt – e001pes – sitTit – vctOri – vlrOri – vlrAbe properties: id: type: string format: uuid description: Id da entidade e070emp: type: object allOf: – #/definitions/e070emp description: Empresa e070fil: type: object allOf: – #/definitions/e070fil description: Filial numTit: type: string maxLength: 15 description: Número do título e002tpt: type: object allOf: – #/definitions/e002tpt description: Tipo do título e001pes: type: object allOf: – #/definitions/e001pes description: Fornecedor sitTit: type: string allOf: – #/definitions/enumSitTit description: Situação e001pesFav: type: object allOf: – #/definitions/e001pes description: Favorecido vctOri: type: string format: date description: Vencimento Original vlrOri: type: string description: Valor Original vlrAbe: type: string description: Valor Aberto vctPro: type: string format: date description: Vencimento Prorrogado e066fpg: type: object allOf: – #/definitions/e066fpg description: Forma Pagamento excluido: type: boolean description: Indica se o registro foi excluído default: false usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: controleIntegracaoDDABanking: description: Controle de integração do DDA Banking type: object required: – e501tcpId – status – statusAssociacao properties: id: type: string format: uuid description: Id da entidade e501tcpId: type: string format: uuid description: Título a pagar status: type: string allOf: – #/definitions/enumStatusIntegracaoDDABanking description: Status da integração statusAssociacao: type: string allOf: – #/definitions/enumStatusAssociacaoDDABanking description: Status da integração mensagemErro: type: string description: Mensagem de erro da integração asyncTransactionsId: type: string description: Id da última transação assíncrona utilizada para envio ao banking loteFinanceiroId: type: string format: uuid description: Id do ultimo lote financeiro a ter enviado integração valorTitulo: type: string description: Valor do título valorBoletoAssociado: type: string description: Valor do boleto associado dataVencimentoTitulo: type: string format: date description: Data de vencimento do título dataVencimentoBoletoAssociado: type: string format: date description: Data de vencimento do boleto associado usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: editControleIntegracaoDDABanking: type: object required: – id allOf: – #/definitions/controleIntegracaoDDABanking loteFinanceiro: description: Lote Financeiro type: object required: – lote – situacao properties: id: type: string format: uuid description: Identificador lote: type: string description: Lote situacao: type: string allOf: – #/definitions/enumSituacaoLoteFinanceiro description: Situação usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: asyncCallback: description: Async callback type: object required: – processId – domain – service – primitive properties: id: type: string format: uuid description: Identificador processId: type: string description: Id do processo domain: type: string description: Domínio service: type: string description: Serviço primitive: type: string description: Primitiva usuger: type: string description: dthger: type: string format: date-time description: usualt: type: string description: dthalt: type: string format: date-time description: editAsyncCallback: type: object required: – id allOf: – #/definitions/asyncCallback 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 enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE description: A symbolic code identifying the category of the reason of the error: * `BAD_REQUEST` – Bad Request * `UNAUTHORIZED` – Unauthorized * `PAYMENT_REQUIRED` – Payment Required * `OBJECT_NOT_FOUND` – Object Not Found * `REQUEST_TIMEOUT` – Request Timeout * `GONE` – Gone * `UNPROCESSABLE` – Unprocessable * `INTERNAL_ERROR` – Internal Error * `NOT_IMPLEMENTED` – Not Implemented * `SERVICE_UNAVAILABLE` – Service Unavailable * `INSUFFICIENT_STORAGE` – Insufficient Storage