curl -X POST https://api.example.com/solicitud/42/rechazar \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "motivo": "No cumple con los requisitos mínimos establecidos en la política institucional" }'
curl -X POST https://api.example.com/solicitud/42/rechazar \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "motivo": "No cumple con los requisitos mínimos establecidos en la política institucional" }'
When a solicitud is rejected, an automatic email notification is sent to the requester with:
Solicitud code and subject
Rejection date and time
Rejection reason (the motivo provided)
Information about next steps (e.g., submitting a new solicitud)
Provide a clear and detailed rejection reason. This helps the requester understand why the solicitud was not approved and what they need to improve for future requests.
curl -X POST https://api.example.com/solicitud/42/rechazar \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "motivo": "No cumple con los requisitos mínimos establecidos en la política institucional" }'