Prerequisites
Before using the Alta Multes API webservice, you must complete the following requirements:Administrative Requirements
Complete the adhesion process
Submit the adhesion form signed by the Mayor via EACAT.See the Adhesion Process page for detailed instructions.
Provide your public certificate
As part of the adhesion process, provide the public part of the certificate you will use to access the webservice.
Technical Requirements
Authentication and Security
Key security aspects:- Protocol: HTTPS only
- Client certificate: Required for all API calls
- Server certificate: Verified by ORGT
- Same certificate: Used for both pre-production and production environments
Data Format Requirements
Request and Response Format
Both POST requests and responses are in XML format.
Text Data Formatting
XML Field Ordering
The ordering requirements:- First field must be:
cdagen - Last field must be:
viapen - All fields in between must be alphabetically sorted
Testing Requirements
Pre-Production Testing
Test in pre-production first
Before using the production service, you must test in the pre-production environment.Pre-production URL:
Communicate certificate and IMEIs
Before testing in pre-production, communicate to ORGT:
- The certificate you will use
- The IMEIs that will be used for testing
Perform connectivity tests in production
After pre-production tests, you can test connectivity with the production environment.Production URL:
For production connectivity tests, use an agent code starting with “USU” (e.g., “USU1”). All fines with these agent codes are considered test data and will not enter the ORGT fine system.
API Endpoint Structure
You must append the endpoint name to the base URL.
ObtenirRang endpoint in pre-production:
Integration Resources
API Specification
The REST API specification is available via Swagger:You can automatically generate your API client from the Swagger specification file.
WSDL Documentation
Although the WSDL is for the SOAP version, field names and explanations are the same for REST:- Production WSDL: https://pda.orgt.diba.cat/WcfMultesPDA/svcMultesPDA.svc?singleWsdl
- Pre-production WSDL: Available at the same path on the pre-production server
You can cancel the certificate request to access the WSDL documentation.
Validation Schema
The XML validation schema is available directly from the webservice: Pre-production schema:Development Checklist
Before going live, ensure you have:- Completed the adhesion process
- Provided your public certificate to ORGT
- Received IMEI assignments for all devices
- Implemented HTTPS with certificate authentication
- Configured XML request/response handling
- Implemented uppercase text formatting
- Implemented alphabetical field ordering for AltaMulta requests
- Successfully tested all endpoints in pre-production
- Performed connectivity tests in production with “USU” agent codes
- Validated XML responses against the schema