API

<back to all web services

i2cDetranSCDebitosRestricoesVeiculos

Debitos e Restricoes de Veiculos [Detran/SC]

The following routes are available for this service:
All Verbs/i2c/200002/SC
All Verbs/i2c/DETRAN/SC/DebitosRestricoesVeiculos
All Verbs/i2c200002SC
Parameters:
NameParameterData TypeRequiredDescription
PlacapathStringYesNumero da Placa
RENAVANpathNumberYesNumero do RENAVAM

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/i2cDetranSCDebitosRestricoesVeiculos HTTP/1.1 
Host: api.xdata.com.br 
Content-Type: text/jsv
Content-Length: length

{
	Placa: 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,
			PlacaAnterior: String,
			Tipo: String,
			Categoria: String,
			Especie: String,
			Lugares: String,
			MarcaModelo: String,
			FabricacaoModelo: String,
			Combustivel: String,
			Cor: String,
			Carroceria: String,
			CategoriaDPVAT: String,
			NomeProprietarioAtual: String,
			RecadastradoDetran: String,
			NomeProprietarioAnterior: String,
			OrigemDadosVeiculo: String,
			MunicipioEmplacamento: String,
			LicenciadoAte: String,
			DataAquisicao: String,
			Situacao: String,
			RestricaoVenda: String,
			GRAVAME: String,
			Restricoes: String,
			ListagemDebitos: 
			[
				{
					Link: String,
					Classe: String,
					NumeroDetranNET: String,
					Vencimento: String,
					ValorNominal: String,
					Multa: String,
					Juros: String,
					ValorAtual: String
				}
			],
			InfracoesEmAutuacao: 
			[
				{
					NumeroAuto: String,
					Valor: String,
					Status: String,
					Descricao: String,
					DescricaoComplemento: String,
					Local: String,
					LocalComplemento: String
				}
			],
			ListagemMultas: 
			[
				{
					NumeroAuto: String,
					Status: String,
					Descricao: String,
					DescricaoComplemento: String,
					Local: String,
					LocalComplemento: String
				}
			],
			HistoricoMultas: 
			[
				{
					NumeroAuto: String,
					LancadaEm: String,
					Status: String,
					Descricao: String,
					DescricaoComplemento: String,
					Local: String,
					LocalComplemento: String
				}
			],
			UltimoProcesso: 
			{
				Processo: String,
				Interessado: String,
				InicioEm: String,
				Situacao: String,
				FinalEm: String,
				Servicos: 
				[
					{
						Descricao: String,
						ExecucaoEm: String
					}
				]
			},
			RecursosInfracao: 
			[
				{
					Processo: 
					{
						Item: 
						[
							String
						]
					},
					NumeroAuto: 
					{
						Item: 
						[
							String
						]
					},
					DetalhamentoInfracao: 
					{
						Item: 
						[
							String
						]
					},
					ResultadoProcesso: 
					{
						Item: 
						[
							String
						]
					}
				}
			],
			DataHora: String
		},
		Error: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String
				}
			]
		}
	}
}