FROM CURL:
C:\Users\new>curl -k -v -H "APIKey: 4c823e19-e47a-493f-8837-ade4efea9dfc" -H "OrganizationId: 29" https://api.captahydro.com/devices/
* Hostname was NOT found in DNS cache
* Trying 35.83.58.134...
* Connected to api.captahydro.com (35.83.58.134) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: CN=*.captahydro.com
* start date: 2023-02-07 00:00:00 GMT
* expire date: 2023-07-20 23:59:59 GMT
* issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> GET /devices/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: api.captahydro.com
> Accept: */*
> APIKey: 4c823e19-e47a-493f-8837-ade4efea9dfc
> OrganizationId: 29
>
< HTTP/1.1 200 OK
< Date: Wed, 12 Apr 2023 18:16:21 GMT
< Content-Type: application/json
< Content-Length: 1879
< Connection: keep-alive
< x-amzn-RequestId: 9207a630-3868-41b8-8f28-e4513bbb31f2
< x-amz-apigw-id: DRtJrFkEPHcFasA=
< X-Amzn-Trace-Id: Root=1-6436f570-5f0114830fcf6e5971ae0020;Sampled=0;lineage=21
1b84fa:0|ff6a7589:0
<
[{"id":"43","name":"Canal El Olivar","battery_soc":85,"battery_soc_measured":168
1323067000,"flow":1222.7928010000005,"flow_measured":1681323088000,"level":17.90
0000000000006,"level_measured":1681323088000},{"id":"virtual-9983bfa1-9afe-40d9-
b038-2e9f4e9793c2","name":"Ext 1"},{"id":"virtual-e89621e3-4bf6-4f29-a31b-d4c147
36b4cd","name":"Ext 2 y 3 Las Quemadas","flow":0.050991727270215115,"flow_measur
ed":1650893502000,"level":2.5,"level_measured":1650893502000},{"id":"virtual-d1e
71930-6476-4ca7-9bfc-4330a66a7bb4","name":"Ext 4 El Alamo","level":2.3,"level_me
asured":1650892712000,"flow":0.0401134110990327,"flow_measured":1650892712000},{
"id":"virtual-6a1166d0-4288-46e4-a064-01d63a246b68","name":"Ext 5 Willer","level
":2.4,"level_measured":1650287326000,"flow":0.016770412484647616,"flow_measured"
:1650287326000},{"id":"virtual-34c74275-287c-4d76-b831-61eff0fbc8a9","name":"Ext
6 El Carmen","flow":0.03383479023135801,"flow_measured":1650891642000,"level":2
.3,"level_measured":1650891642000},{"id":"virtual-643821c2-b49a-4788-9a9d-17a645
f56e14","name":"Ext 7 La Mirandina","level":2.2,"level_measured":1650891349000,"
flow":0.031652335142924294,"flow_measured":1650891349000},{"id":"virtual-8c40a09
8-da86-4c7a-a0cb-2d239792b3cf","name":"Ext 8 Las Nu+¦ez","flow":0.02951893443198
7887,"flow_measured":1650889896000,"level":2.1,"level_measured":1650889896000},{
"id":"virtual-d4e00cc0-ecf0-4768-91b8-6f5b0ce189fb","name":"Ext 9 El Peral","lev
el":2.4,"level_measured":1650369727000,"flow":0.03011631850010887,"flow_measured
":1650369727000},{"id":"virtual-20adb717-6f8e-4f1b-b163-ff365c5f73d8","name":"Ex
t 11 El Olivo","level":2,"level_measured":1650555096000,"flow":0,"flow_measured"
:1650555096000},{"id":"107","name":"Colihues Bajo","flow":336.878775,"flow_measu
red":1681323066000,"level":50.5,"level_measured":1681323066000,"battery_soc":100
,"battery_soc_measured":1681323034000}]* Connection #0 to host api.captahydro.co
m left intact