Skip to main content

GET processed vehicle for all resource types.

caution

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 a collection of the results of a proccesed vehicle by resource type. The response provides a scraped and resource type objects. The objects includes details such as the Sync status, Sync resource type, debt amount, fines count, etc, depending on the resource type.

Request

HTTP request

GET https://api-sync-resser.azurewebsites.net/api/scraping/{plate}/{vin}/resourceTypes
  • {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

PropertiesTypeDescription
countryCodestringSpecifies 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":[
{
"resourceType": ResourceType,
"scraped": Scraped
}
]
}
PropertiesTypeDescription
resourceTypeResourceTypeSync resource type.
scrapedScrapedThe result of the vehicle being proccesed in the resource.
caution

If the response body is not the same as the one shown above, it might be because the route is missing the last part (/resourceTypes), and you are requesting a different endpoint, which can be found here.

info

If the vehicle plate and/or VIN are not correct but they are valid or they have never been proccesed before, the API will return the same response object, but the status for each resource in the scraped object will be set as unprocessed.

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 typeError detailDescription
badRequest (400)BadParameters- VIN and/or plate is not valid.
- Endpoint route might be misspelled.
unauthorize (401)UnauthorizeThe requester is not allowed to use this request.