Status
A Status object represents a status that a process vehicle can have in Sync. This object contains more information about the status. A status can be unproccessed, without fines, with stolen reports, etc.
Methods
The API supports the following methods for Status objects:
| HTTP request | Description |
|---|---|
| GET statuses | Returns a collection containing all available statuses in Sync. |
Object representation
{
"statusId": number,
"key": string,
"description": string,
"descriptionSpanish": string,
"priority": number
}
Properties
The following table defines the properties that appear in this object:
| Properties | Type | Description |
|---|---|---|
| statusId | number | The ID that Sync uses to identify the status. |
| key | string | The key is another way to identify the status in Sync. |
| description | string | Status description. |
| descriptionSpanish | string | Status spanish description. |
| priority | number | Status priority. |
Available statuses
| Status | Status ID | Description |
|---|---|---|
| UnProcessed | -1 | Vehicle has not been processed yet. |
| WithTicketsDebts | 0 | Vehicle has fine debts. |
| WithoutTicketsDebts | 1 | Vehicle does not have any fine debts. |
| WithTenenciasDebts | 2 | Vehicle has ownership taxes debts. |
| WithoutTenenciasDebts | 3 | Vehicle does not have any ownership taxes debts. |
| WithStolenReport | 4 | Vehicle has stolen report. |
| WithoutStolenReport | 5 | Vehicle does not have any stolen report. |
| WithActiveInsurancePolicy | 6 | Vehicle has at least one valid insurance policy. |
| WithoutMiscDebts | 7 | Vehicle does not have any debts. |
| WithoutActiveInsurancePolicy | 8 | Vehicle does not have any insurance policy. |
| WithMiscDebts | 9 | Vehicle has at least one debt. |
| VehicleDoesNotExist | 10 | Government portal says vehicle does not exist. |
| VehicleIsNotRegistered | 11 | Government portal says vehicle is not registered. |
| VehicleHasChangedPlate | 12 | Government portal says the vehicle has changed its plate. |
| NeedsManualIntervention | 13 | Government portal says vehicle needs manual intervention. |
| Ok | 14 | Everything is Ok. |
| UnknownCase | 15 | Particular case. This is for vehicles that has additional steps or different steps from others vehicles that is no handled yet. |
| WithRefrendoDebts | 16 | Vehicle has Registration renewal debts. |
| WithoutRefrendoDebts | 17 | Vehicle does not have any Registration renewal debts. |
| WrongAuth | 18 | The credentials provided are invalid. Some resources use an account in order to proccess a vehicle. |
| WithActiveTDC | 19 | Vehicle has circulation card. |
| WithoutActiveTDC | 20 | Vehicle does not have circulation card. |
| WithForcedTenenciasDebts | 21 | Vehicle may have ownership taxes debts. |
| WithInspection | 22 | Vehicle has inspection. |
| WithoutInspection | 23 | Vehicle does not have any inspection. |
| WithViolationsDebts | 24 | Vehicle has violations debts. |
| WithoutViolationsDebts | 25 | Vehicle does not have any violations debts. |
| InspectionNotRequired | 26 | Vehicle does not require inspection. |
| PlateValid | 27 | Vehicle plate is valid. |
| PlateExpired | 28 | Vehicle plate is expired. |
| PlateInactive | 29 | Vehicle plate is inactive. |