Use Case 9 is dedicated to information related to the ubication of towing trucks in real time.
It is an interface to receive the information sent by the different towing truck operators with the dynamic geopositioning information of the vehicle and the states during the rescue operation. This information will be processed and informative events will be generated that will be published by the outbox, so that third parties that connect and can provide the information to their users.
The platform has two different functionalities for the publication (sending) and for the subscription (reception) of information. The first is through a REST API and the second through a real-time MQTT service.
Both the publication and subscription functionality require different access certificates that must be requested and supplied by DGT 3.0. If these certificates have not already been requested, they should be requested from soporte@cmobility30.es.
Below are the URLs with which each functionality is accessed:
Mode | URL | Description |
---|---|---|
Publication | https://use-case-9-dev.cmobility30.es:8443 | Current endpoint of the development environment that will be disabled as of July 26 |
Publication | https://pre.cmobility30.es/use-case-9 | Client integration environment endpoint for publishing |
Subscription | mqtt://mqtt.pre.cmobility30.es:8883 | Integration environment endpoint for subscription |
The two functionalities are described below.
Publication
This use case has a REST API for the publication (sending) of the data by the companies that request it. Details of this can be found in the following sections:
- General details for making a request:
- The details of the master tables and data that can compose the event:
- The structure of the event can be seen here:
Consumption
The data received as "Intervention" event type by this use case will be published as static events through the outbox.
Information regarding this platform can be found here
Note: The information that is being published in the development environment is a simulation with non-real information that changes throughout the day, so that the consumer interface can be tested.