curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/IncluirDadosVeiculo \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dto": {
    "codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "codigoOperacao": "<string>",
    "numeroProposta": 123
  },
  "dadosVeiculoDTO": {
    "placa": "<string>",
    "marca": "<string>",
    "modelo": "<string>",
    "versaoModelo": "<string>",
    "anoFab": 123,
    "anoMod": 123,
    "cor": "<string>",
    "chassis": "<string>",
    "renavam": "<string>",
    "proprietario": "<string>",
    "documentoFederalProprietario": "<string>",
    "financiado": true,
    "saldoFinanciamento": 5000000000000000,
    "tipoPlaca": 123,
    "tipoVeiculo": 123,
    "ufPlaca": "<string>",
    "ufLicenciamento": "<string>",
    "tipoRestricao": 123,
    "tipoChassi": 123,
    "codigoFipe": "<string>",
    "situacaoGravame": 123,
    "descricaoGravame": "<string>",
    "codigoRetornoGravame": 123,
    "dtSituacaoGravame": "2023-11-07T05:31:56Z",
    "origemGravame": 123,
    "nroGravame": 123,
    "nroRegristroGecov": "<string>"
  }
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "numero": 123
}

Through this endpoint, the partner includes vehicle data for a proposal. The vehicle must have a license plate provided, and other fields are optional. The vehicle data is validated by our credit analysts and serves as a basis for approving or rejecting the proposal. The use will be according to the integration needs.

Rules and Validations:

  • The same license plate cannot be included more than once in the proposal;
  • Alphanumeric fields will be truncated according to the size defined in the manual.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

dto
object
dadosVeiculoDTO
object

Response

200
text/plain
OK
msg
string | null
hasError
boolean
messages
object[] | null
codigo
string
numero
integer