curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Proposta/Liberar \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dto": {
"codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoOperacao": "<string>",
"numeroProposta": 123
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Proposta/Liberar \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dto": {
"codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoOperacao": "<string>",
"numeroProposta": 123
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}
Show Mensageria
Categoria | Operação | Ação | Código | Código Detalhado | Mensagem |
---|---|---|---|---|---|
Proposta | PropostaLiberar | Liberar | C0065 | V0001 | Não é permitida a liberação da proposta por este parceiro |
Proposta | PropostaLiberar | Liberar | C0065 | V0002 | Proposta já foi liberada |
Proposta | PropostaLiberar | Liberar | C0065 | V0003 | Proposta não pode ser liberada, pois sua situação é {SituacaoPropostaEnum.GetDescricao(proposta.Situacao)} |
Proposta | PropostaLiberar | Liberar | C0112 | V0001 | Proposta não encontrada |
Proposta | PropostaLiberar | Liberar | C0112 | V0002 | A Proposta não pertence à esta Integração |
Proposta | PropostaLiberar | Liberar | C0187 | V0001 | Informe o assunto do histórico |
Informe o token
OK
The response is of type object
.
Esta página foi útil?