API Udianas doc

GET /Report/Arbres/Epf/{epfId}/Days/{days}/DepuisLe/{year}/{month}/{day}

[GET] /{key}/Report/Arbres/Epf/\{epfId\}/Days/\{days\}/DepuisLe/\{year\}/\{month\}/\{day\}

or

[GET] /{key}/Report/Arbres/Epf/\{epfId\}/Personne/\{personneId\}/Days/\{days\}/DepuisLe/\{year\}/\{month\}/\{day\}

Trees report for a funeral home or a deceased person linked to a funeral home.

Request parameters

Key

The operator's public key is passed through a Header key entry and does not appear in the method URL.

epfId

The Udianas' id of the funeral home

personneId

The Udianas' id of the deceased person

days

Number of days in the report calculation period

year

Year of the report calculation starting date

month

Month of the report calculation starting date

day

Day of the report calculation starting date

Response

Return informations about :

  • species and location
  • date of planting
  • planter and planter's message

The response is a reportArbres object.

Example

{
    "Objet": "udianaInfos",
    "Date": "2020-06-01T13:41:37.9757396Z",
    "Statut": "Ok",
    "Contexte": {
        ...
    },
     "RequestEpfId": 53,
    "RequestPersonneId": 0,
    "DateDebut": "2019-12-01T00:00:00",
    "DateFin": "2022-08-27T00:00:00",
    "TotalArbres": 64,
    "TotalCo2EnKg": 36628,
    "Arbres": [
        {
            "Quantite": 1,
            "EspeceId": 41,
            "Espece": "Albizia schimperiana",
            "Co2EnKgParArbre": 240,
            "TotalCo2EnKg": 240,
            "PlantationId": 9,
            "Plantation": "Usambara, Tanzania",
            "DatePlantation": "2020-01-31T17:53:47.03",
            "PersonneId": 1310,
            "Personne": "defunt nom",
            "EpfId": 53,
            "Epf": "Efp nom"
        },
        ...
    ],
    "NombreTotalLignes": 64,
    "Page": 1,
    "NombreLignesParPage": 200,
    "NombreLignesDansLaPage": 64,
    "Plus": false
}}