Add a course to a user

Add a course to a user

GET https://abc.hoola.vn/manage/api/courses/add-course-to-user

Query Parameters

Name
Type
Description

token

string

Account Authentication Token

userId

string

User ID

courseId

string

Course ID

// Response Code "00". Query successfully.
// Return data:
{
    "respCode": "00",
    "msg": "Success"
}

Example:

// GET:
https://abc.hoola.vn/manage/api/courses/add-course-to-user?token=sdhg23797sdbv9186jdvk58&userId=sfh959sdsd&courseId=ljd092785hdbxn

Last updated