Documentation de service Web / Catégories / Services de signalement / Délais de l’API de rapports personnalisés

Délais de l’API de rapports personnalisés

Périodes

Les délais des API de génération de rapports personnalisés sont les mêmes que ceux disponibles dans l’interface. Voici la correspondance entre les délais de l’interface utilisateur et leur équivalent en XML.

Période Option extrait XML
Année actuelle pour Énergie
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentPeriod>
          <meterType>ENERGY</meterType>
     </currentPeriod>
</timeframe>
Année actuelle pour Eau
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentPeriod>
          <meterType>WATER</meterType>
     </currentPeriod>
</timeframe>
Année actuelle pour Déchets
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentPeriod>
          <meterType>WASTE</meterType>
     </currentPeriod>
</timeframe>
Année de référence pour Énergie
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <baselinePeriod>
          <meterType>ENERGY</meterType>
     </baselinePeriod>
</timeframe>
Année de référence pour Eau
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <baselinePeriod>
          <meterType>WATER</meterType>
     </baselinePeriod>
</timeframe>
Année de référence pour Déchets
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <baselinePeriod>
          <meterType>WASTE</meterType>
     </baselinePeriod>
</timeframe>
Comparer l'année de référence pour Énergie avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareBaselinePeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>ENERGY</meterType>
     </compareBaselinePeriod>
</timeframe>
Comparer l'année de référence pour Eau avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareBaselinePeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>WATER</meterType>
     </compareBaselinePeriod>
</timeframe>
Comparer l'année de référence pour Déchets avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareBaselinePeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>WASTE</meterType>
     </compareBaselinePeriod>
</timeframe>
Comparer l'année actuelle pour Énergie avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareCurrentPeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>ENERGY</meterType>
     </compareCurrentPeriod>
</timeframe>
Comparer l'année actuelle pour Eau avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareCurrentPeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>WATER</meterType>
     </compareCurrentPeriod>
</timeframe>
Comparer l'année actuelle pour Déchets avec une date de fin de période précisée
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <compareCurrentPeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
          <meterType>WASTE</meterType>
     </compareCurrentPeriod>
</timeframe>
Année actuelle par rapport à l'année de référence pour Énergie
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentVsBaseline>
          <meterType>ENERGY</meterType>
     </currentVsBaseline>
</timeframe>
Année actuelle par rapport à l'année de référence pour Eau
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentVsBaseline>
          <meterType>WATER</meterType>
     </currentVsBaseline>
</timeframe>
Année actuelle par rapport à l'année de référence pour Déchets
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <currentVsBaseline>
          <meterType>WASTE</meterType>
     </currentVsBaseline>
</timeframe>
Une seule année S.O
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <singlePeriod>
          <periodEndingDate>
               <month>1</month>
               <year>2021</year>
          </periodEndingDate>
     </singlePeriod>
</timeframe>
Comparer deux années S.O
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <twoPeriods>
          <periodEndingDateOne>
               <month>1</month>
               <year>2021</year>
          </periodEndingDateOne>
          <periodEndingDateTwo>
               <month>1</month>
               <year>2022</year>
          </periodEndingDateTwo>
     </twoPeriods>
</timeframe>
Plage de dates Intervalle mensuelle
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <dateRange>
          <fromPeriodEndingDate>
               <month>1</month>
               <year>2021</year>
          </fromPeriodEndingDate>
          <toPeriodEndingDate>
               <month>1</month>
               <year>2022</year>
          </toPeriodEndingDate>
          <interval>MONTHLY</interval>
     </dateRange>
</timeframe>
Plage de dates Intervalle trimestrielle
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <dateRange>
          <fromPeriodEndingDate>
               <month>1</month>
               <year>2021</year>
          </fromPeriodEndingDate>
          <toPeriodEndingDate>
               <month>1</month>
               <year>2022</year>
          </toPeriodEndingDate>
          <interval>QUARTERLY</interval>
     </dateRange>
</timeframe>
Plage de dates Intervalle annuelle
<?xml version="1.0" encoding="UTF-8"?>
<timeframe>
     <dateRange>
          <fromPeriodEndingDate>
               <month>1</month>
               <year>2021</year>
          </fromPeriodEndingDate>
          <toPeriodEndingDate>
               <month>1</month>
               <year>2022</year>
          </toPeriodEndingDate>
          <interval>YEARLY</interval>
     </dateRange>
</timeframe>
ENVIRONNEMENT D'ESSAI