... | ... | @@ -295,3 +295,191 @@ El evento es la parte principal de esta API de ingesta de datos. Con este evento |
|
|
- Method: DEL
|
|
|
|
|
|
- URL: {baseUrl}/v1/parking/{cityIne}/{parkingId}
|
|
|
|
|
|
|
|
|
#### Obtención de información estática de los aparcamientos de un municipio en formato Datex II v.3.4
|
|
|
|
|
|
Toda la información ha sido generada en este formato para facilitar la integración del cliente
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/v1/parking/datex/static/{cityIne}
|
|
|
|
|
|
- Respuesta:
|
|
|
|
|
|
```xml
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
<d2:payload xmlns:d2="http://datex2.eu/schema/3/d2Payload"
|
|
|
xmlns="http://datex2.eu/schema/3/parking"
|
|
|
xmlns:com="http://datex2.eu/schema/3/common"
|
|
|
xmlns:comx="http://datex2.eu/schema/3/commonExtension"
|
|
|
xmlns:egi="http://datex2.eu/schema/3/energyInfrastructure"
|
|
|
xmlns:fac="http://datex2.eu/schema/3/facilities"
|
|
|
xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
|
|
|
xmlns:locx="http://datex2.eu/schema/3/locationExtension"
|
|
|
xmlns:roa="http://datex2.eu/schema/3/roadTrafficData"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
lang="es"
|
|
|
modelBaseVersion="3"
|
|
|
xsi:schemaLocation="http://datex2.eu/schema/3/d2Payload DATEXII_3_D2Payload.xsd"
|
|
|
xsi:type="ParkingTablePublication">
|
|
|
<com:publicationTime>2022-02-28T12:11:17</com:publicationTime>
|
|
|
<com:publicationCreator>
|
|
|
<com:country>es</com:country>
|
|
|
<com:nationalIdentifier>dgt</com:nationalIdentifier>
|
|
|
</com:publicationCreator>
|
|
|
<parkingTable id="50297/1" version="1">
|
|
|
<name>
|
|
|
<com:values>
|
|
|
<com:value lang="es">Parking Plaza España</com:value>
|
|
|
</com:values>
|
|
|
</name>
|
|
|
<versionTime>2022-02-28T12:11:17</versionTime>
|
|
|
<hierarchyElementGeneral id="50297/1_hierarchy" version="1" xsi:type="Place">
|
|
|
<fac:additionalInformation>
|
|
|
<com:values>
|
|
|
<com:value>Primera planta solo plazas reservadas</com:value>
|
|
|
<com:value>Altura máxima 2,10 m</com:value>
|
|
|
</com:values>
|
|
|
</fac:additionalInformation>
|
|
|
<fac:operatingHours id="50297/1_operatingHours" version="1" xsi:type="fac:OperatingHoursSpecification">
|
|
|
<fac:label>Excepto fútbol</fac:label>
|
|
|
<fac:overallPeriod>
|
|
|
<com:overallStartTime>2022-01-28T08:00:00</com:overallStartTime>
|
|
|
<com:overallEndTime>2022-01-28T23:55:00</com:overallEndTime>
|
|
|
<com:validPeriod>
|
|
|
<com:startOfPeriod>2022-01-28T08:00:00</com:startOfPeriod>
|
|
|
<com:endOfPeriod>2022-01-28T17:00:00</com:endOfPeriod>
|
|
|
<com:recurringDayWeekMonthPeriod>
|
|
|
<com:applicableDay>thursday</com:applicableDay>
|
|
|
</com:recurringDayWeekMonthPeriod>
|
|
|
</com:validPeriod>
|
|
|
<com:validPeriod>
|
|
|
<com:startOfPeriod>2022-01-28T18:00:00</com:startOfPeriod>
|
|
|
<com:endOfPeriod>2022-01-28T22:00:00</com:endOfPeriod>
|
|
|
<com:recurringDayWeekMonthPeriod>
|
|
|
<com:applicableDay>thursday</com:applicableDay>
|
|
|
</com:recurringDayWeekMonthPeriod>
|
|
|
</com:validPeriod>
|
|
|
<com:validPeriod>
|
|
|
<com:startOfPeriod>2022-01-28T22:30:00</com:startOfPeriod>
|
|
|
<com:endOfPeriod>2022-01-28T23:55:00</com:endOfPeriod>
|
|
|
<com:recurringDayWeekMonthPeriod>
|
|
|
<com:applicableDay>thursday</com:applicableDay>
|
|
|
</com:recurringDayWeekMonthPeriod>
|
|
|
</com:validPeriod>
|
|
|
<com:validPeriod>
|
|
|
<com:startOfPeriod>2022-01-28T08:00:00</com:startOfPeriod>
|
|
|
<com:endOfPeriod>2022-01-28T22:00:00</com:endOfPeriod>
|
|
|
<com:recurringDayWeekMonthPeriod>
|
|
|
<com:applicableDay>sunday</com:applicableDay>
|
|
|
</com:recurringDayWeekMonthPeriod>
|
|
|
</com:validPeriod>
|
|
|
</fac:overallPeriod>
|
|
|
</fac:operatingHours>
|
|
|
<fac:locationReference xsi:type="loc:AreaLocation">
|
|
|
<loc:openlrAreaLocationReference xsi:type="loc:OpenlrPolygonLocationReference">
|
|
|
<loc:openlrPolygonCorners>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.65212</loc:latitude>
|
|
|
<loc:longitude>-0.880468</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.652234</loc:latitude>
|
|
|
<loc:longitude>-0.880676</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.652211</loc:latitude>
|
|
|
<loc:longitude>-0.880306</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.652344</loc:latitude>
|
|
|
<loc:longitude>-0.880575</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.652234</loc:latitude>
|
|
|
<loc:longitude>-0.880676</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
<loc:openlrCoordinates>
|
|
|
<loc:latitude>41.65212</loc:latitude>
|
|
|
<loc:longitude>-0.880468</loc:longitude>
|
|
|
</loc:openlrCoordinates>
|
|
|
</loc:openlrPolygonCorners>
|
|
|
</loc:openlrAreaLocationReference>
|
|
|
<loc:_areaLocationExtension>
|
|
|
<locx:facilityLocation>
|
|
|
<locx:address>
|
|
|
<locx:postCode>50003</locx:postCode>
|
|
|
<locx:city>Zaragoza</locx:city>
|
|
|
<locx:addressLine>
|
|
|
<locx:type>street</locx:type>
|
|
|
<locx:text>C. del Coso, 45</locx:text>
|
|
|
</locx:addressLine>
|
|
|
</locx:address>
|
|
|
</locx:facilityLocation>
|
|
|
<locx:namedAreaCode>50297</locx:namedAreaCode>
|
|
|
</loc:_areaLocationExtension>
|
|
|
</fac:locationReference>
|
|
|
<layer>0</layer>
|
|
|
<type>place</type>
|
|
|
<commonComponents>
|
|
|
<characteristics>
|
|
|
<structureType>onStreet</structureType>
|
|
|
<spacesTotal>168</spacesTotal>
|
|
|
</characteristics>
|
|
|
</commonComponents>
|
|
|
</hierarchyElementGeneral>
|
|
|
</parkingTable>
|
|
|
</d2:payload>
|
|
|
```
|
|
|
|
|
|
#### Obtención de información dinámica de los aparcamientos de un municipio en formato Datex II v.3.4
|
|
|
|
|
|
Toda la información ha sido generada en este formato para facilitar la integración del cliente
|
|
|
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/v1/parking/datex/dynamic/{cityIne}
|
|
|
|
|
|
- Respuesta:
|
|
|
|
|
|
```xml
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
<d2:payload xmlns:d2="http://datex2.eu/schema/3/d2Payload"
|
|
|
xmlns="http://datex2.eu/schema/3/parking"
|
|
|
xmlns:com="http://datex2.eu/schema/3/common"
|
|
|
xmlns:comx="http://datex2.eu/schema/3/commonExtension"
|
|
|
xmlns:egi="http://datex2.eu/schema/3/energyInfrastructure"
|
|
|
xmlns:fac="http://datex2.eu/schema/3/facilities"
|
|
|
xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
|
|
|
xmlns:locx="http://datex2.eu/schema/3/locationExtension"
|
|
|
xmlns:roa="http://datex2.eu/schema/3/roadTrafficData"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
lang="es"
|
|
|
modelBaseVersion="3"
|
|
|
xsi:schemaLocation="http://datex2.eu/schema/3/d2Payload DATEXII_3_D2Payload.xsd"
|
|
|
xsi:type="ParkingStatusPublication">
|
|
|
<com:publicationTime>2022-03-01T08:22:36</com:publicationTime>
|
|
|
<com:publicationCreator>
|
|
|
<com:country>es</com:country>
|
|
|
<com:nationalIdentifier>dgt</com:nationalIdentifier>
|
|
|
</com:publicationCreator>
|
|
|
<parkingStatusInformation>
|
|
|
<fac:reference id="28079/2" targetClass="fac:FacilityObject" />
|
|
|
<reference id="28079/2" targetClass="fac:FacilityObject" />
|
|
|
<statusOriginTime>2022-03-01T08:00:00</statusOriginTime>
|
|
|
<occupancy>
|
|
|
<numberOfVacantSpaces>15</numberOfVacantSpaces>
|
|
|
</occupancy>
|
|
|
</parkingStatusInformation>
|
|
|
<parkingStatusInformation>
|
|
|
<fac:reference id="28079/1" targetClass="fac:FacilityObject" />
|
|
|
<reference id="28079/1" targetClass="fac:FacilityObject" />
|
|
|
<statusOriginTime>2022-03-01T08:00:00</statusOriginTime>
|
|
|
<occupancy>
|
|
|
<numberOfVacantSpaces>201</numberOfVacantSpaces>
|
|
|
</occupancy>
|
|
|
</parkingStatusInformation>
|
|
|
</d2:payload>
|
|
|
``` |
|
|
\ No newline at end of file |