View Categories

Add courseleader to teacher-led opportunity

Description: This api is useful for the assign courseleader single or multiple to the teacher-led opportunity.

EndpointURL: https://apps.quickerlearning.com/api/teacherled/courseleader

Method: POST

AUTHORIZATION:
Type: Basic Auth
UserName: tenant_id,
Password:secret_key

HEADERS:
Accept: application/json

Note:- We can pass a single or multiple courseleader IDs for the teacher-led opportunity.

Request Body For the single courseleader assign ID:

{
“oppId”: 25,
“courseleader_id”: 25
}

Response for the single courseleader assign process:
{
“message”: “Course leader updated successfully.”,
“status”: 200,
“data”: {
“updated_count”: 1,
“courseleaders”: [
{
“opp_id”: “25”,
“opp_name”: “Lravel 12 opp”,
“courseleader_id”: “25”,
“courseleader_name”: “Elishabath Backer”
}
],
“errors”: []
}
}

– Request Body For the multiple courseleader assign ID:
{
“oppId”: 25,
“courseleader_id”: [25,460]
}

– Response for the miltiple courseleader assign process:
{
“message”: “Course leader updated successfully.”,
“status”: 200,
“data”: {
“updated_count”: 1,
“courseleaders”: [
{
“opp_id”: “25”,
“opp_name”: “Lravel 12 opp”,
“courseleader_id”: “25”,
“courseleader_name”: “Elishabath Backer”
},
{
“opp_id”: “25”,
“opp_name”: “Lravel 12 opp”,
“courseleader_id”: “460”,
“courseleader_name”: “Nick johnas”
}
],
“errors”: []
}
}

Snabbanslutning