User Course API Data Issue

Home Forums Legacy Support Support queries Other issues User Course API Data Issue

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #313740
    rahmediahouse
    Spectator
    http://localhost/wordpress-5.1.1/wp-json/wplms/v1/user/chart/course I am not able to fetch all the courses data for any particular student. This API is not providing me any data. Response: { "labels": [], "data": [] } Which API should i use to fetch all the course for a user.
    #313741
    rahmediahouse
    Spectator
    Also the Quiz data.
    #313975
    Anshuman Sahu
    Keymaster
    ARe you using wplms version 4 or 3 depends on the token , both needs to pass token in order get user response .
    #313986
    rahmediahouse
    Spectator
    Currently in 3.x, I am passing the user access_token as authorization, but still not able to GET the data. Please revert ASAP, as my development is stuck because of this.
    #314237
    rahmediahouse
    Spectator
    Revert ASAP.
    #314253
    Anshuman Sahu
    Keymaster
    Please refer :https://documenter.getpostman.com/view/3430105/S1TYTvP9?version=latest#a2d2aed0-0331-4bed-b537-c0c30ac73ae4
    #314320
    rahmediahouse
    Spectator
    Is this a kind of support, I am telling you, that, I am not able to fetch the data from the API, and you are giving me the API collection url. I already shared you the API name and the response and told you, I am not able to fetch the data, resolve the issue ASAP. It's being dragged like anything. Please resolve.
    #314321
    rahmediahouse
    Spectator
    This reply has been marked as private.
    #314577
    Anshuman Sahu
    Keymaster
    Well this returns marks and course name for the courses which user have finished .If he havent finished any it will return empty results .
    #314613
    rahmediahouse
    Spectator
    Can you share me the name of the API, through which I can get the list of all the courses, for which I am enrolled either as an student or an instructor. Also would require an API, which also gives me the list of all quizzes I am enrolled in. Please treat this urgent.
    #314914
    Anshuman Sahu
    Keymaster
    Please refer : https://wplms.io/support/knowledge-base/wplms-api-endpoints/#usertab
    #314916
    Scott Lang
    Moderator
    Hi, Refer this collection currently we have https://documenter.getpostman.com/view/5714111/TVKJyv8R Also, the quiz is connected to the course, so fetching a single course you will get unit and quiz ids And again fetching course status will give you quiz data. refer this imagehttps://prnt.sc/uq0af1 Tip: Also you do run the wplms app in the browser and see the network tab you will get all the API request
    #315209
    rahmediahouse
    Spectator
    I am not able to get the API request, can you guide me how to get it done. And share me the API, which gives all the course list of a user
    #315452
    Anshuman Sahu
    Keymaster
    I sorry here is the complete guide : https://documenter.getpostman.com/view/5714111/TVKJyv8R#00829321-8f7b-4be0-91f2-69c48184e1e8
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘User Course API Data Issue’ is closed to new replies.