API: /reports/connections >> "devicename":"",

I'm using this request:

https://webapi.teamviewer.com/api/v1/reports/connections?from_date=2016-12-01T00:00:01Z&to_date=2016-12-31T23:59:59Z

And I get this:
....,"deviceid":"9x3xxx3x4","devicename":"","start_date".....

I need to get all "devicename":""

I know I can get entire list, and iterate each JSON element to get the requested list .

But the question is how to get this via API ?

I was trying for example like this:

https://webapi.teamviewer.com/api/v1/reports/connections?from_date=2016-........&devicename=""

.... and few other variation but with no success.

I will be grateful for your help.

Regards,
mLipok

 

Regards,
mLipok , AutoIt MVP

Best Answers

Answers

  • mLipok
    mLipok Posts: 781 ⭐Star⭐

    When I try this:
    https://webapi.teamviewer.com/api/v1/reports/connections?from_date=201......&devicename=unamed_device

    Then I get empty records.

    So I try to use this:

    https://webapi.teamviewer.com/api/v1/reports/connections?from_date=20....&devicename=Bez nazwy

    I even try this:
    https://webapi.teamviewer.com/api/v1/reports/connections?from_date=20.....&devicename=Bez%20nazwy

    Unfortunately each attempts without success.

    Remark:
    "Bez nazwy" is the device name in Polish which is displayed in Managment Console.

     

    Regards,
    mLipok , AutoIt MVP
  • mLipok
    mLipok Posts: 781 ⭐Star⭐

    <snip> an mistake....

    Regards,
    mLipok , AutoIt MVP