James Peterson Posted May 12, 2016 Posted May 12, 2016 I am receiving a Server Error when attempting to get ISY info. Quote
MWareman Posted May 12, 2016 Posted May 12, 2016 I started getting that with my app, and recently updated it with the fix. When I get to a real keyboard I'll let you know what it was.... Quote
MWareman Posted May 12, 2016 Posted May 12, 2016 (edited) Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call... as follows: GET https://my.isy.io/api/domains/lookup with basic authentication (Portal username/password). Get the _id value... GET https://my.isy.io/api/isys?domain={_id}&subaccounts=false (replacing the {_id} with the received _id from the first request). Edited May 12, 2016 by MWareman Quote
James Peterson Posted May 12, 2016 Author Posted May 12, 2016 Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call... as follows: GET https://my.isy.io/api/domains/lookup with basic authentication (Portal username/password). Get the _id value... GET https://my.isy.io/api/isys?domain={_id}&subaccounts=false (replacing the {_id} with the received _id from the first request). Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call... as follows: Got it. Thx. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.