Overview
The Vehicles API provides endpoints for managing vehicles, their certifications, and access passes for different operational blocks.Vehicle Certifications
Create or Update Vehicle Certification
Request Body
ID of the vehicle to certify
Type of certification. Valid options:
INSPECCION VOLUMETRICA- Volumetric InspectionMEDICION DE ESPESORES- Thickness MeasurementINSPECCION DE SEGURIDAD- Safety InspectionPRUEBA HIDROSTATICA- Hydrostatic Test
Certification start date in
YYYY-MM-DD formatCertification expiration date in
YYYY-MM-DD format. Must be after date_startOptional description or notes about the certification
Required for PUT requests. ID of the certification to update
Response
Indicates if the operation was successful
Success or error message
Certification ID
Associated vehicle ID
Vehicle license plate number
Certification type code
Human-readable certification type
Start date in ISO format
End date in ISO format
Certification description
Timestamp when certification was created
Timestamp when certification was last updated
Delete Vehicle Certification
DELETE
Path Parameters
ID of the certification to delete
Vehicle Passes
Create or Update Vehicle Pass
Request Body
ID of the vehicle
Operational block name. Valid options:
PETROECUADORSHAYACONSORCIO SHUSHUFINDIENAP SIPECORIONANDES PETROLEUMPARDALIS SERVICESFRONTERA ENERGYGRAN TIERRAPCRHALLIBURTONGENTE OILTRIBIOL GASADICOCUYAVENO PETROGEOPARK
Pass expiration date in
YYYY-MM-DD formatRequired for PUT requests. ID of the pass to update
Response
Indicates if the operation was successful
Success or error message
Pass ID
Associated vehicle ID
Vehicle license plate number
Operational block name
Pass expiration date
URL to the pass document file (if uploaded)
Timestamp when pass was created
Timestamp when pass was last updated
Delete Vehicle Pass
DELETE
Path Parameters
ID of the pass to delete
Available Vehicles
Get Available Vehicles
GET
Response
Array of vehicle objects with complete details
Vehicle ID
Vehicle brand (e.g., “CHEVROLET”, “TOYOTA”)
Vehicle model
Vehicle type:
CAMION, VACUUM, CAMIONETA, PLATAFORMA, or AUTOVehicle year
License plate number (unique)
Vehicle status:
DISPONIBLE, EN MANTENIMIENTO, or STANBYCertification status:
VIGENTE, VENCIDO, NO APLICA, POR VENCER, EN TRAMITE, or RECHAZADOOperation certificate issue date
Operation certificate expiration date
Registration date
Registration expiration date
MTOP (Ministry of Transport) date
MTOP expiration date
Technical review date
Technical review expiration date
Insurance policy number
Insurance company name
Insurance expiration date
Insurance issue date
Vehicle serial number
Engine number
Chassis number
Additional notes
Creation timestamp
Last update timestamp
Whether the vehicle is active
Vehicle Model Fields
Vehicles in Mantis support the following data fields:Basic Information
brand- Vehicle brand/manufacturermodel- Vehicle modeltype_vehicle- Type (CAMION, VACUUM, CAMIONETA, PLATAFORMA, AUTO)year- Manufacturing yearno_plate- License plate (unique identifier)chasis- Chassis informationcolor- Vehicle colorowner_transport- Owner name (default: “PEISOL”)
Status Fields
status_vehicle- Operational status (DISPONIBLE, EN MANTENIMIENTO, STANBY)status_cert_oper- Certification status (VIGENTE, VENCIDO, NO APLICA, POR VENCER, EN TRAMITE, RECHAZADO)
Certification Dates
date_cert_oper- Operation certificate issue datedue_date_cert_oper- Operation certificate expiration datedate_matricula- Registration datedue_date_matricula- Registration expiration datedate_mtop- MTOP certification datedue_date_mtop- MTOP expiration datedate_technical_review- Technical review datedue_date_technical_review- Technical review expiration datedate_satellite- Satellite system installation datedue_date_satellite- Satellite system expiration date
Insurance Information
nro_poliza- Insurance policy numberinsurance_company- Insurance provider nameinsurance_expiration_date- Policy expiration dateinsurance_issue_date- Policy issue date
Identification Numbers
serial_number- Vehicle serial numberengine_number- Engine identification numberchassis_number- Chassis identification number
File Attachments
vehicle_image- Vehicle photo (image file)poliza_file- Insurance policy document (PDF)matricula_file- Registration document (PDF)rev_tec_file- Technical review document (PDF)