GenieACS API - Find a device by its MAC address
Gary YU
gairy.yu at gmail.com
Wed Sep 2 19:58:46 EDT 2015
Hi Dave,
Thanks for your help! Indeed it's case sensitive. When I modify the mac
address as lowercase, everything is OK now.
So, the correct command is:
$ curl -i '
http://localhost:7557/devices/?query=%7B%22Device.LAN.MACAddress%22%3A%2200:0b:82:69:08:b6%22%7D
'
Best Regards
Gary.
On Thu, Sep 3, 2015 at 12:16 AM, Dave <patronoflies at gmail.com> wrote:
>
> Hey Gary,
>
> I'm not an expert on the API but it looks to me that could be two things
> wrong.
>
> 1) The mac address in the URL is capitalized. I think Genie is case
> sensitive.
>
> 2) Maybe the : should be escaped as you do that before as well (%3A)
>
> I hope this helps,
>
> Regards,
>
> Dave
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150903/3c752981/attachment.html>
More information about the Users
mailing list