... | ... | @@ -2,7 +2,33 @@ Thanks to use case 4, DGT has a tool to be able to publish at any kilometer poin |
|
|
|
|
|
This documentation shows how integrating companies can access and consume this information together with the information published in use case 1 (v16 signals) and use case 2 (works and incidents).
|
|
|
|
|
|
## Prerequisites for connection
|
|
|
## NAP - DATEXII
|
|
|
|
|
|
Through the operation **GET** to the *endpoint* **/ api / 1.0 / nap** it is possible to obtain all the events that are published in the *National Access Point* of Spain that DGT is responsible for. The returned data set follows the DATEXII standard.
|
|
|
|
|
|
```xml
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<d2LogicalModel modelBaseVersion="1.0" xsi:schemaLocation="http://datex2.eu/schema/1_0/1_0 http://datex2.eu/schema/1_0/1_0/DATEXIISchema_1_0_1_0.xsd" xmlns="http://datex2.eu/schema/1_0/1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<exchange>
|
|
|
<supplierIdentification>
|
|
|
<country>es</country>
|
|
|
<nationalIdentifier>dgt</nationalIdentifier>
|
|
|
</supplierIdentification>
|
|
|
</exchange>
|
|
|
<payloadPublication xsi:type="_0:SituationPublication" lang="es" xmlns:_0="http://datex2.eu/schema/1_0/1_0">
|
|
|
.....................
|
|
|
.....................
|
|
|
</payloadPublication>
|
|
|
</d2LogicalModel>
|
|
|
```
|
|
|
|
|
|
The data usage guide is available at [DATEXII User Guide](http://infocar.dgt.es/datex2/informacion_adicional/Guia%20de%20Utilizacion%20de%20DATEX%20II.pdf). The DATEXII libraries with the Spanish extensions are available for download at [parse libraries for DATEXII](http://infocar.dgt.es/datex2/informacion_adicional/Ayuda%20desarrollador/Librerias%20Java).
|
|
|
|
|
|
## SRT - DATEXII
|
|
|
|
|
|
Through the operation ** GET ** to the * endpoint * ** / output tray / 1.0 / srtievents ** it is possible to obtain all the events that are published in the Outbox that are not published in the * National Access Point * of Spain, which is responsible for DGT. The returned data set follows the DATEXII standard. Currently those events are those related to Stopped Car (V-16) and Roadside Assistance Vehicles
|
|
|
|
|
|
## Prerequisites for connection (only for non DATEXII data)
|
|
|
|
|
|
- For security reasons, the connections will be cloud-to-cloud. The request will be made from the cloud of the integrating company and never from the devices directly.
|
|
|
|
... | ... | @@ -168,24 +194,3 @@ The application makes a self-generated Swagger available to the user. It can be |
|
|
|
|
|
You must have the certificate to access.
|
|
|
|
|
|
## NAP - DATEXII
|
|
|
|
|
|
Through the operation **GET** to the *endpoint* **/ api / 1.0 / nap** it is possible to obtain all the events that are published in the *National Access Point* of Spain that DGT is responsible for. The returned data set follows the DATEXII standard.
|
|
|
|
|
|
```xml
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<d2LogicalModel modelBaseVersion="1.0" xsi:schemaLocation="http://datex2.eu/schema/1_0/1_0 http://datex2.eu/schema/1_0/1_0/DATEXIISchema_1_0_1_0.xsd" xmlns="http://datex2.eu/schema/1_0/1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<exchange>
|
|
|
<supplierIdentification>
|
|
|
<country>es</country>
|
|
|
<nationalIdentifier>dgt</nationalIdentifier>
|
|
|
</supplierIdentification>
|
|
|
</exchange>
|
|
|
<payloadPublication xsi:type="_0:SituationPublication" lang="es" xmlns:_0="http://datex2.eu/schema/1_0/1_0">
|
|
|
.....................
|
|
|
.....................
|
|
|
</payloadPublication>
|
|
|
</d2LogicalModel>
|
|
|
```
|
|
|
|
|
|
The data usage guide is available at [DATEXII User Guide](http://infocar.dgt.es/datex2/informacion_adicional/Guia%20de%20Utilizacion%20de%20DATEX%20II.pdf). The DATEXII libraries with the Spanish extensions are available for download at [parse libraries for DATEXII](http://infocar.dgt.es/datex2/informacion_adicional/Ayuda%20desarrollador/Librerias%20Java). |
|
|
\ No newline at end of file |