Authorization: Bearer ********************
curl --location --request GET 'https://api.msaaq.com/v1/admin/enrollments' \
--header 'Accept: application/json' \
--header 'X-Tenant: academy.msaaq.com' \
--header 'Content-Type: text/plain' \
--data-raw ''
{
"data": [
{
"id": 0,
"percentage_completed": "string",
"quizzes_score": 0,
"meetings_attendance_percentage": 0,
"meetings_attendance_duration": 0,
"contents_count": 0,
"is_eligible_for_certificate": true,
"has_certification": true,
"enrollment_type": "string",
"attendance": {
"sessions_attended": 0,
"attendance_percentage": 0,
"attended": true
},
"certificate": {
"id": "string",
"serial": "string",
"url": "http://example.com",
"path": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"course": {
"id": 0,
"title": "string",
"url": "http://example.com",
"checkout_url": "http://example.com",
"summary": "string",
"description": "string",
"intro_video": "string",
"outcomes": "string",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
}
},
"member": {
"id": 0,
"member": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"english_name": "string",
"username": "string",
"avatar": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"bio": "string",
"job_title": "string",
"education": "string",
"url": "http://example.com",
"courses_count": 0,
"products_count": 0,
"total_purchases": 0,
"orders_count": 0,
"national_id": 0,
"country_code": "string",
"currency": "string",
"gender": "string",
"skills": [
"string"
],
"email": "user@example.com",
"phone_code": 0,
"phone": "string",
"international_phone": "string",
"dob": "2019-08-24T14:15:22Z",
"email_verified_at": "2019-08-24T14:15:22Z",
"phone_verified_at": "2019-08-24T14:15:22Z",
"is_verified": true,
"status": "active",
"newsletter_status": "subscribed",
"newsletter_subscribed_at": "2019-08-24T14:15:22Z",
"newsletter_unsubscribed_at": "2019-08-24T14:15:22Z",
"balance": 0,
"last_seen_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"segments": {
"id": 0,
"name": "string",
"icon": "string",
"tags": {
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"products": "string",
"courses": [
{
"id": 0,
"title": "string",
"url": "http://example.com",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"avg_rating": 0,
"sales": 0,
"publish_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "string"
}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"tags": [
{
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
],
"meta": {}
}
},
"course": {
"id": 0,
"title": "string",
"url": "http://example.com",
"checkout_url": "http://example.com",
"summary": "string",
"description": "string",
"intro_video": "string",
"outcomes": "string",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
}
},
"member": {
"id": 0,
"member": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"english_name": "string",
"username": "string",
"avatar": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"bio": "string",
"job_title": "string",
"education": "string",
"url": "http://example.com",
"courses_count": 0,
"products_count": 0,
"total_purchases": 0,
"orders_count": 0,
"national_id": 0,
"country_code": "string",
"currency": "string",
"gender": "string",
"skills": [
"string"
],
"email": "user@example.com",
"phone_code": 0,
"phone": "string",
"international_phone": "string",
"dob": "2019-08-24T14:15:22Z",
"email_verified_at": "2019-08-24T14:15:22Z",
"phone_verified_at": "2019-08-24T14:15:22Z",
"is_verified": true,
"status": "active",
"newsletter_status": "subscribed",
"newsletter_subscribed_at": "2019-08-24T14:15:22Z",
"newsletter_unsubscribed_at": "2019-08-24T14:15:22Z",
"balance": 0,
"last_seen_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"segments": {
"id": 0,
"name": "string",
"icon": "string",
"tags": {
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"products": "string",
"courses": [
{
"id": 0,
"title": "string",
"url": "http://example.com",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"avg_rating": 0,
"sales": 0,
"publish_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "string"
}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"tags": [
{
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
],
"meta": {}
},
"attempts": [
{
"quiz_id": 0,
"attempt_id": 0,
"percent_correct": 0
}
],
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
]
}