curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Proposta/SalvarPropostaGarantiaBemDocumento \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dto": {
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoPropostaGarantiaBem": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tipoDocumento": 123,
"nomeArquivo": "<string>",
"extensao": "<string>",
"dtValidade": "2023-11-07T05:31:56Z",
"conferido": true,
"dtConferido": "2023-11-07T05:31:56Z",
"codigoUsuarioConferido": 123
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"results": [
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numero": 123
}
]
}
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Proposta/SalvarPropostaGarantiaBemDocumento \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dto": {
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoPropostaGarantiaBem": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tipoDocumento": 123,
"nomeArquivo": "<string>",
"extensao": "<string>",
"dtValidade": "2023-11-07T05:31:56Z",
"conferido": true,
"dtConferido": "2023-11-07T05:31:56Z",
"codigoUsuarioConferido": 123
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"results": [
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numero": 123
}
]
}
Informe o token
OK
The response is of type object
.
Was this page helpful?