Statistics
This guide explains the statistics of mentor calwe application.
Payouts Statistics
Endpoint
- Method: GET
- URL:
/v1/coach/statistics/payouts
Request Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| Accept | application/json | Yes |
| Authorization | Bearer token | Yes |
Success Response
{
"success": true,
"message": "تم جلب البيانات بنجاح.",
"data": {
"totalAmount": "205.7K",
"dueAmount": "204.9K",
"payoutsAmount": "864",
"sessionsCount": "101"
},
"statusCode": 200
}
Mentor Statistics
Endpoint
- Method: GET
- URL:
/v1/coach/statistics
Request Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| Accept | application/json | Yes |
| Authorization | Bearer token | Yes |
Success Response
{
"success": true,
"message": "تم جلب البيانات بنجاح.",
"data": {
"totalSessionsCount": 101,
"upcomingSessionsCount": 0,
"completedSessionsCount": 46,
"totalAmount": "205.7K",
"dueAmount": "204.9K",
"payoutsAmount": "864"
},
"statusCode": 200
}