Overview
Every device that accesses the Alta Multes API must be identified by a unique IMEI (International Mobile Equipment Identity) code. Each IMEI is associated with a single municipality and must be registered with ORGT before use.Device Types
The API supports three types of devices:1. Physical PDA Devices
Traditional PDA hardware devices use their actual IMEI number for identification. Characteristics:- Uses the device’s real 15-digit IMEI
- Associated with one municipality
- Designed for offline operation with expedition number ranges
2. Mobile Applications (Virtual PDAs)
Mobile phone applications are treated as “virtual PDAs” with ORGT-assigned identifiers. Characteristics:- ORGT assigns a unique code (referred to as IMEI)
- One code per municipality per device
- If a phone works with multiple municipalities, it needs a different IMEI for each
MOBILE_APP_BCN_001for BarcelonaMOBILE_APP_HOS_001for Hospitalet
3. Centralized Web Applications
Web-based applications follow a specific naming convention for IMEI codes. IMEI Format:MULTA-001- Multa S.A. managing Abrera (code 001)MULTA-088- Multa S.A. managing Santa Coloma de Gramenet (code 088)TRAFICO-100- Tràfico company managing L’Hospitalet de Llobregat (code 100)
- One IMEI per municipality managed
- Company name and municipality code separated by hyphen
- Uses ORGT municipality codes (3 digits)
IMEI Registration Process
Complete adhesion process
First, complete the adhesion process and obtain your certificate.
Identify your devices
Determine all devices that will access the API:
- For PDAs: Collect actual IMEI numbers
- For mobile apps: Decide on unique identifiers for each device-municipality pair
- For web apps: Use the
{company}-{municipality_code}format
Device-Municipality Association
Each IMEI is permanently associated with one municipality. This association:- Is set during registration
- Cannot be changed (you need a new IMEI to work with a different municipality)
- Determines which expedition number ranges are available
- Validates which municipality codes can be used in API calls
Obtaining Municipality Codes
Use theObtenirMunicipis endpoint to get the complete list of municipalities with their ORGT codes:
Request
Response Example
Cdclie: ORGT municipality code (3 digits, used in API calls)cine10: INE municipality code (10 digits)- Municipality codes are strings (e.g., “088”, “100”) not integers
Agent Registration
Previously, agents (denunciation officers) needed to be pre-registered. This is no longer required.Device Login
Before using a device, agents must log in using theFerLogin endpoint:
Request
Response
0- Success-1- Device not found-2- Agent doesn’t belong to the device’s municipality-3- Incorrect password-4- Database error changing password-9000- Other error
Best Practices
IMEI Management
Keep an Inventory
Maintain a spreadsheet of all IMEIs, their type, and associated municipalities
Use Descriptive Names
For virtual devices, use clear naming:
MYAPP-MUNICIPALITY-DEVICENUMPlan for Scale
Request IMEI ranges if you anticipate deploying many devices
Test Before Deploy
Verify IMEI registration in pre-production before deploying to field agents
Multi-Municipality Support
If your application serves multiple municipalities:Example: Multi-Municipality Configuration