GET state from vehicle plate
Note
This endpoint only works for mexican plates.
Returns the state that matches the pattern of a vehicle plate.
Request
HTTP request
GET https://api-sync-resser.azurewebsites.net/api/plate/{plate}
{plate}is the vehicle plate.
Parameters
This particular request does not utilize any query parameters in its execution.
Request body
This request does not require a request body during its execution, so please refrain from providing one when calling this method.
Response
Upon successful execution, this method returns the matched state of the given vehicle plate in the response body.
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) | BadRequest | No vehicle plate was provided. |
| badRequest (400) | PlateNotFound | The state of the given vehicle plate could not be found. |
| unauthorize (401) | Unauthorize | The requester is not allowed to use this request. |