Overview
The Consulta endpoint allows you to retrieve detailed information about a specific traffic violation. The violation is uniquely identified by the municipality code and the expedition number within that municipality.Endpoint
Authentication
This endpoint requires authentication.Content Type
- Consumes:
application/json,application/xml - Produces:
application/xml
Query Parameters
Municipality code (3-digit string). Example: ‘100’ = Hospitalet de Llobregat. Use
ObtenirMunicipis() to see all valid values.Expedition number within the municipality. Together with pCdclie, this uniquely identifies the violation.
Response
Success Response (200)
Returns aMultaExtended object containing all violation details and additional metadata.
Agent code
Assignment code
Municipality code
Conduct code
Expedition number
Identification code
License plate number
Municipality code where violation occurred
Postal code
Reference code
Street type code
Vehicle color
Additional description field 1
Additional description field 2
Additional description field 3
Additional description field 4
Additional description field 5
Street address
Location description
Municipality name
Country
Province
Notification date
Violation date (format: ddMMyyyy)
Minor date
Photo in Base64 encoded format
Violation time (HHmm format)
Identity document (DNI/NIE)
PDA device identifier
Violation amount
Payment amount (reduced if paid early)
Vehicle brand
Vehicle model
Mobile number
Name
Street number
Street orientation
Identification type
Resident flag
Card withdrawal flag
Photo flag (S/N)
Minor flag (S/N)
Signature flag (S/N)
Conduct sequence number
License plate type
Vehicle type
Penalty route flag
Indicates if the violation has been cancelled
Barcode for payment
Payment date (format: yyyy-MM-ddTHH:mm:ss)
Status code
DNI/NIE identification
Error description (if any)
Examples
Request Example
Success Response Example
Important Notes
- Both pCdclie and pCdexpa are required to uniquely identify a violation
- The municipality code must be a 3-digit string (e.g., ‘088’, not ‘88’)
- Photos are returned in Base64 encoded format
- The response includes extended fields not present in the basic MultaType (Anulada, CodiBarres, DataPagament, cdesta, dniden, dserror)
- Null fields are represented with
i:nil="true"ori:nil="True"attributes
Related Endpoints
- POST /AltaMulta - Create a new violation
- GET /AltaAnulada - Cancel a violation
- GET /ObtenirMunicipis - Get list of valid municipality codes