GET processed vehicle.
Vehicle VIN and plate must not have hyphens, spaces, special characters, or lowercase letters in any request. They must be in uppercase.
This endpoint retrieves the processing results for a vehicle by querying multiple resources. The response provides a collection of scraped and resource objects, each representing the processing results obtained from a specific resource. The objects include details such as the resource name, debt amount, fines count, owner taxes, etc.
Request
HTTP request
GET https://api-sync-resser.azurewebsites.net/api/scraping/{plate}/{vin}
{plate}is the vehicle plate.{vin}is the vehicle vin.
Parameters
The following table lists the parameters that this query supports. All of the parameters listed are query parameters.
Filters
| Properties | Type | Description |
|---|---|---|
| countryCode | string | Specifies the country in which the resources will be queried. Its value must match a Country Code from the Country object. |
Request body
This request does not require a request body during its execution, so please refrain from providing one when calling this method.
Response
If successful, this method returns a collection in the response body with the following structure:
{
"scrapedResources":[
{
"resource": Resource,
"scraped": Scraped
}
]
}
| Properties | Type | Description |
|---|---|---|
| resource | Resource | Sync resource. |
| scraped | Scraped | The result of the vehicle being proccesed in the resource. |
Errors
The following table provides a list of potential error messages that the API may return in response to a call to this method. For more detailed information, please refer to the error message documentation.
| Error type | Error detail | Description |
|---|---|---|
| badRequest (400) | BadRequest | No vehicle plate and/or VIN was provided. |
| badRequest (400) | BadParameters | The provided VIN or plate is not valid. |
| unauthorize (401) | Unauthorize | The requester is not allowed to use this request. |