State
The State object represents one of the available states within Sync. It represents a specific state in Mexico.
Methods
The API supports the following methods for State objects:
| HTTP request | Description |
|---|---|
| GET states | Returns a collection with all available states in Sync. |
| GET state from vehicle plate | Returns the state that matches the pattern of a vehicle plate. |
Object representation
{
"stateId": Date,
"key": string,
"description": string,
}
Properties
The following table defines the properties that appear in this object:
| Properties | Type | Description |
|---|---|---|
| stateId | number | The ID that Sync uses to identify the state. |
| key | string | The key is another way to identify the state in Sync. |
| description | string | State name. |