Skip to content

Instantly share code, notes, and snippets.

@carlosmaguda
Last active July 19, 2019 14:42
Show Gist options
  • Save carlosmaguda/583893b88939f1b060fa63784496b161 to your computer and use it in GitHub Desktop.
Save carlosmaguda/583893b88939f1b060fa63784496b161 to your computer and use it in GitHub Desktop.
grover
cadastrar_resultado_analise_pedido
{
'codigoRetorno': '0',
'retorno': 'SUCESSO',
'descricaoRetorno': u'Grava\xe7\xe3o realizada com sucesso.'
}
{
'codigoRetorno': '2',
'retorno': 'ERRO',
'descricaoRetorno': u'Pedido (GUID) com STATUS diferente de ANALISE_DA_INSTITUICAO. Resultado de An\xe1lise da Habilita\xe7\xe3o n\xe3o pode ser registrado para o GUID informado.'
}
informar_pagamento
{'ObservacoesPagamento': False, 'ValorPagamento': 4915.91, 'self': webservice.febraban(), 'destinatario_conta_id': res.partner.bank(), 'NumeroParcela': u'1', 'DataPagamento': '2018-12-06', 'GuidPedido': u'584087ff-a5b7-425c-816b-cb8f13de0436', 'Comprovante': ir.attachment(5419,), 'IdentificadorPropostaBanco': 253}
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://acordosplanoseconomicos.febraban.org.br:pagamento. The InnerException message was 'There was an error deserializing the object of type AcordoPlanosEconomicos.Integracao.Contratos.Acordos.PagamentoAcordo. The value 'False' cannot be parsed as the type 'Int32'.'. Please see InnerException for more details.
{
'codigoRetorno': '3',
'retorno': 'ERRO',
'descricaoRetorno': u'Identificador de Parcela (N\xfamero da Parcela) j\xe1 cadastrado para o Acordo. Parcela: 1'
}
{
'codigoRetorno': '0',
'retorno': 'SUCESSO',
'descricaoRetorno': u'Grava\xe7\xe3o realizada com sucesso.'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment