All Verbs | /i2c/DENATRAN/ConsultaVeiculo | ||
---|---|---|---|
All Verbs | /i2c100096 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CPFCNPJ | path | Text | Yes | CPF/CNPJ do Proprietario |
RENAVAM | path | Text | Yes | RENAVAM |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/i2cDENATRANConsultaVeiculo HTTP/1.1
Host: api.xdata.com.br
Content-Type: text/jsv
Content-Length: length
{
CPFCNPJ: String,
RENAVAM: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Response: { Status: { Protocol: 00000000000000000000000000000000, DateTime: 0001-01-01, Code: 0, Message: String, Detail: String, Mode: String, Type: String, Source: String, HTML: String, URL: String, Cookie: String }, Input: [ { Key: String, Value: String } ], Output: { Placa: String, RENAVAM: String, CPFCNPJProprietario: String, NomeProprietario: String, Tipo: String, Especie: String, Carroceria: String, Categoria: String, Combustivel: String, MarcaModelo: String, AnoFabricacao: String, AnoModelo: String, Cor: String, Lotacao: String, CapacidadeCarga: String, Potencia: String, Cilindradas: String, Restricao1: String, Restricao2: String, Restricao3: String, Restricao4: String, OcorrenciaRouboFurtoAtiva: String, ComunicacaoVenda: String, RestricaoJudicialRENAJUD: { Placa: String, RENAVAM: String, MarcaModelo: String, AnoFabricacaoModelo: String, TotalProcessos: String, Situacao: String, Restricoes: [ { Tribunal: String, OrgaoJudiciario: String, Processo: String, Restricoes: String } ] }, MultaInterestadual: String, Recall: String, DataHora: String }, Error: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String } ] } } }