📊Raporlama
Sisteme işediğiniz verilerin içinden belli bir tarih aralığı, otel/etkinlik ismi veya tipine göre rapor oluşturmak için kullanabileceğiniz servisler
Sisteme işlenen veriler içinden belli filitreler ile rapor oluşturma
POST https://divan.integration.climateware.com/reports
Daha önceden sisteme işlediğiniz veriler içinden belli filtreler ile rapor oluşturma.
Query Parameters
Name
Type
Description
start
Date
Veriler için bir başlangıç tarihi
end
Date
Veriler için bir bitiş tarihi
type
Enum
[event, hotel]
name
String
Konaklama yada etkinlik ismi
Headers
Name
Type
Description
x-api-key*
String
...
x-api-auth*
String
...
x-api-secret*
String
...
{
"id": "00000000-0000-0000-0000-000000000000",
"start": "",
"end": "",
"status": "PENDING", //PENDING, IN_PROGRESS, COMPLETED
"type": null,
"name": null,
"link": null,
"rowCount": 0,
"totalEmission": 10
}
{
"id": "00000000-0000-0000-0000-000000000000",
"start": "",
"end": "",
"status": "COMPLETED", //PENDING, IN_PROGRESS, COMPLETED
"type": null,
"name": null,
"link": "...",
"rowCount": 1361133,
"totalEmission": 13611330
}{
"code": "0001",
"message": "Lütfen işleminizi daha sonra tekrar deneyiniz"
}Daha önceden oluşturduğunuz bir raporun durumunu görmek için
GET https://divan.integration.climateware.com/reports/${id}
Path Parameters
Name
Type
Description
id*
String
Oluşturduğunuz raporun id si
Headers
Name
Type
Description
x-api-key*
String
...
x-api-auth*
String
...
x-api-secret*
String
...
{
"id": "00000000-0000-0000-0000-000000000000",
"start": "",
"end": "",
"status": "COMPLETED", //PENDING, IN_PROGRESS, COMPLETED
"type": null,
"name": null,
"link": "...",
"rowCount": 1361133,
"totalEmission": 13611330
}{
"code": "0001",
"message": "Lütfen işleminizi daha sonra tekrar deneyiniz"
}Last updated