[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Device Manager API call for models
Author Message
jangliss Offline
Junior Member
**

Posts: 7
Joined: Aug 2019
Reputation: 0
Post: #1
Device Manager API call for models
I'm not sure if this is the right area as I didn't find anything specifically on APIs with Device Manager.

When querying Device Manager for the list of models (api/open/v1/manager/model/getList), I am not getting back any results. Per the API documentation, it says we can also supply a optional filter (Boolean) to show only models of devices we already have in Device Manager, or all devices.

Regardless of if I call the API as any of the following the results are the same:
  • api/open/v1/manager/model/getList
  • api/open/v1/manager/model/getList?filter=true
  • api/open/v1/manager/model/getList?filter=false
  • api/open/v1/manager/model/getList?filter=1
  • api/open/v1/manager/model/getList?filter=0

The results I end up with are always

Code:
{
    "ret": 0,
    "data": [],
    "error": null
}

I don't get any errors, or signature issues, just no data. What am I missing?
10-16-2019 08:49 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jangliss Offline
Junior Member
**

Posts: 7
Joined: Aug 2019
Reputation: 0
Post: #2
RE: Device Manager API call for models
(10-16-2019 08:49 PM)jangliss Wrote:  I'm not sure if this is the right area as I didn't find anything specifically on APIs with Device Manager.

=====8<--------------------------------------------------------

I don't get any errors, or signature issues, just no data. What am I missing?

I've identified the cause of the issue. Bad documentation. The API Documentation that is referenced on the System Management > API page says that "getList" for models is a GET request. However the request is supposed to be a POST, and has additional requirements. I identified this by performing a network monitor when adding a device. The body of the POST request should look something like:

Code:
{"clientTypes":["sip"],"filter":true}

Documentation should be updated.
10-17-2019 08:23 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Call Stats for USB devices julius_BusICT 0 495 11-21-2023 02:41 PM
Last Post: julius_BusICT
  Error installing Yealink Device Manager Platform greenhed 1 1,222 09-06-2023 06:15 PM
Last Post: greenhed
  [FAQ] The phones can't connect to Yealink Device Management Platform(YDMP) Karl_Yealink 4 24,616 09-30-2020 04:29 PM
Last Post: bigjerv55
Lightbulb FAQ for Yealink Device Management Platform Paz_Yealink 2 9,551 09-27-2020 06:40 AM
Last Post: Paz_Yealink
  Where can I purchase licenses for Yealink Device Manager Bill01 0 6,043 02-26-2020 06:06 PM
Last Post: Bill01
  Device Groups not visible to other users (YMCS) jangliss 0 4,993 01-09-2020 04:35 PM
Last Post: jangliss
  Possibility to disable call forward management from IPPhone ? julien250889 1 6,991 05-15-2019 11:05 AM
Last Post: Jensen_Yealink
  Zoom Phone support with Yealink Device Management Platform avshch 0 5,196 04-06-2019 10:40 AM
Last Post: avshch
  Yealink Device Management Platform support for SAML SSO avshch 0 5,007 04-06-2019 10:30 AM
Last Post: avshch
  push device config to phone fails (Executed failed,Can't connect to server) haroem 1 6,825 09-27-2018 06:13 PM
Last Post: haroem

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication