Reference / MTC
MTC certificate
Details of the transport certificate tied to a specific plate.
POST
/api/mtc/constancia What it's for: Check a vehicle's technical details before assigning it a load.
Authentication
-
X-API-Keystring header required -
X-API-Key: tu_token -
Authorizationstring header -
Authorization: Bearer tu_token
Either one works. The token is generated from the client dashboard.
Body parameters
-
rucstring required - Company tax ID (RUC). Example:
20123456789 -
registrostring required - MTC registration code. Example:
0001234 -
placastring required - Vehicle plate. Example:
ABC-123
Response
Main fields this lookup returns:
placanro_constanciacategoriaserie_chasiscarga_util
Repeats of the same lookup are served from cache for 30 days and don't count against your plan.
Status codes
- 200 OK
- Lookup resolved. Counts one request against the plan.
- 401 Invalid or expired token
- The authentication header is missing or the token isn't valid.
- 403 No access
- The plan doesn't cover this service, or the subscription isn't active.
- 404 Not found
- The lookup ran but returned nothing. It still counts.
- 429 Limit reached
- The period's lookups have run out.
- 500 Service error
- The official source failed to answer. Nothing is cached.