Skip to main content
POST
/
service
/
athleteChangeServiceRequestStatus
Athlete changes service request status
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/service/athleteChangeServiceRequestStatus \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "request_id": 1,
  "status": "A",
  "reason": "Price negotiation",
  "reason_detail": "Additional context for the selected reason"
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
request_id
integer
Example:

1

status
string
Example:

"A"

reason
string

Required when status=Rejected

Example:

"Price negotiation"

reason_detail
string

Required when reason=Other

Example:

"Additional context for the selected reason"

Response

200

Status changed