ResourceType
A ResourceType object represents the different types of resources available in Sync. Each resource type corresponds to a specific category of information that Sync can obtain from a vehicle. This object contains detailed information about a resource type, including fines (ticket debts), debts, repuve information, ownership taxes, and more.
Methods
The API supports the following methods for ResourceType objects:
| HTTP request | Description |
|---|---|
| GET resource types | Returns a collection with all available resource types in Sync. |
Object representation
{
"resourceTypeId": number,
"key": string,
"description": string,
"descriptionSpanish": string
}
Properties
The following table defines the properties that appear in this object:
| Properties | Type | Description |
|---|---|---|
| resourceTypeId | number | The ID that Sync uses to identify the resource type. |
| key | string | The key is another way to identify the resource type in Sync. |
| description | string | Resource type description. |
| descriptionSpanish | string | Resource type spanish description. |
Available resource types
| Resource Type | Resource Type ID | Description |
|---|---|---|
| tenencias | 0 | Ownership tax debts. |
| tickets | 1 | Fine debts. |
| info | 2 | Information about the vehicle. |
| card | 3 | Vehicle circulation card. |
| stolen | 4 | Stolen reports. |
| insurance | 5 | Insurance policies. |
| misc | 6 | Miscellaneous debts. This can include multiple types of debts such as fines, ownership taxes, etc. |
| ticketsEnvironmental | 7 | Environmental fines. |
| refrendos | 8 | Registration renewal debts. |
| ticketsCDMX | 9 | Fines in Mexico City (CDMX). |
| forcedTenencias | 10 | Potential ownership tax debts. Retrieves the ownership tax for the current year only. |
| inspection | 12 | Vehicle inspection. Info about inspection. |
| violations | 13 | Vehicle violations. Info about infractions not confirmed. |
| plateStatus | 14 | Vehicle plate status. |