Get Session Status
Get the current status of a specific session.
Endpoint
- Method: GET
- URL:
/v1/customer/sessions/{id}/get-status
Request Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| Accept | application/json | Yes |
| Authorization | Bearer token | Yes |
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | string | Session ID | Yes |
Success Response
{
"success": true,
"message": "تم جلب البيانات بنجاح.",
"data": {
"status": "SCHEDULED"
},
"statusCode": 200
}
Error Response
Session Not Found (404)
{
"success": false,
"message": "لم يتم العثور على الجلسة",
"data": null,
"statusCode": 404
}
Important Notes
- This endpoint provides detailed status information about a session
- The response includes:
- Current session status
- Session type
- Start time and duration
- Booking status
- Coach information
- Coach category details
- Available session statuses:
- SCHEDULED
- IN_PROGRESS
- COMPLETED
- CANCELLED
- Available session types:
- DIRECT
- SCHEDULED