GET processed vehicle for all resource types.
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
| 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":[
{
"resourceType": ResourceType,
"scraped": Scraped
}
]
}
| Properties | Type | Description |
|---|---|---|
| resourceType | ResourceType | Sync resource type. |
| scraped | Scraped | The result of the vehicle being proccesed in the resource. |
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.
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) | BadParameters | - VIN and/or plate is not valid. - Endpoint route might be misspelled. |
| unauthorize (401) | Unauthorize | The requester is not allowed to use this request. |