diff --git a/myems-api/MyEMS.postman_collection.json b/myems-api/MyEMS.postman_collection.json index b5223b0597..fd569754cc 100644 --- a/myems-api/MyEMS.postman_collection.json +++ b/myems-api/MyEMS.postman_collection.json @@ -11089,7 +11089,14 @@ "query": [ { "key": "meterid", - "value": "6" + "value": "6", + "description": "use meterid or meteruuid" + }, + { + "key": "meteruuid", + "value": "eb78f7f9-f26f-463b-92fa-d9daf5b3651c", + "description": "use meterid or meteruuid", + "disabled": true }, { "key": "periodtype", @@ -11185,6 +11192,12 @@ { "key": "meterid", "value": "1" + }, + { + "key": "meteruuid", + "value": "eb78f7f9-f26f-463b-92fa-d9daf5b3651c", + "description": "use meterid or meteruuid", + "disabled": true } ] } @@ -11208,7 +11221,14 @@ "query": [ { "key": "meterid", - "value": "1" + "value": "1", + "description": "use meterid or meteruuid" + }, + { + "key": "meteruuid", + "value": "eb78f7f9-f26f-463b-92fa-d9daf5b3651c", + "description": "use meterid or meteruuid", + "disabled": true }, { "key": "periodtype", @@ -11244,7 +11264,14 @@ "query": [ { "key": "meterid", - "value": "6" + "value": "6", + "description": "use meterid or meteruuid" + }, + { + "key": "meteruuid", + "value": "eb78f7f9-f26f-463b-92fa-d9daf5b3651c", + "description": "use meterid or meteruuid", + "disabled": true }, { "key": "reportingperiodstartdatetime", @@ -11253,11 +11280,6 @@ { "key": "reportingperiodenddatetime", "value": "2020-09-11T00:00:00" - }, - { - "key": "", - "value": "", - "disabled": true } ] } @@ -11281,7 +11303,14 @@ "query": [ { "key": "meterid", - "value": "6" + "value": "6", + "description": "use meterid or meteruuid" + }, + { + "key": "meteruuid", + "value": "eb78f7f9-f26f-463b-92fa-d9daf5b3651c", + "description": "use meterid or meteruuid", + "disabled": true }, { "key": "reportingperiodstartdatetime", diff --git a/myems-api/README.md b/myems-api/README.md index c39a0a61f8..5272d28e4b 100644 --- a/myems-api/README.md +++ b/myems-api/README.md @@ -2306,23 +2306,38 @@ curl -i -X GET {{base_url}}/reports/equipmentstatistics?equipmentid=1&periodtype ```bash curl -i -X GET {{base_url}}/reports/meterbatch?spaceid=1&reportingperiodstartdatetime=2021-05-01T00:00:00&reportingperiodenddatetime=2021-05-20T11:41:09 ``` -* GET Meter Cost Report +* GET Meter Cost Report + +(use meterid or meteruuid to get meter report) + ```bash curl -i -X GET {{base_url}}/reports/metercost?meterid=6&periodtype=daily&baseperiodstartdatetime=2020-08-01T00:00:00&baseperiodenddatetime=2020-09-01T00:00:00&reportingperiodstartdatetime=2020-09-01T00:00:00&reportingperiodenddatetime=2020-10-01T00:00:00 ``` * GET Meter Energy Report + +(use meterid or meteruuid to get meter report) + ```bash curl -i -X GET {{base_url}}/reports/meterenergy?meterid=6&periodtype=daily&baseperiodstartdatetime=2020-08-01T00:00:00&baseperiodenddatetime=2020-09-01T00:00:00&reportingperiodstartdatetime=2020-09-01T00:00:00&reportingperiodenddatetime=2020-10-01T00:00:00 ``` -* GET Meter Realtime Report +* GET Meter Realtime Report + +(use meterid or meteruuid to get meter report) + ```bash curl -i -X GET {{base_url}}/reports/meterrealtime?meterid=1 ``` -* GET Meter Submeters Balance Report +* GET Meter Submeters Balance Report + +(use meterid or meteruuid to get meter report) + ```bash curl -i -X GET {{base_url}}/reports/metersubmetersbalance?meterid=1&periodtype=daily&reportingperiodstartdatetime=2020-09-01T00:00:00&reportingperiodenddatetime=2020-10-01T00:00:00 ``` -* GET Meter Trend Report +* GET Meter Trend Report + +(use meterid or meteruuid to get meter report) + ```bash curl -i -X GET {{base_url}}/reports/metertrend?meterid=6&reportingperiodstartdatetime=2020-09-10T00:00:00&reportingperiodenddatetime=2020-09-11T00:00:00 ```