Skip to main content
POST
/
resource
/
Student%20Leave%20Application
Crear Leave Application
curl --request POST \
  --url https://cucuniversity.edtools.co/api/resource/Student%20Leave%20Application \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "student": "EDU-STU-2025-02904",
  "from_date": "2025-01-20",
  "to_date": "2025-01-22",
  "reason": "Cita médica programada",
  "mark_as_present": 0
}
'

Authorizations

Authorization
string
header
required

Body

application/json

student
string
required
from_date
string
required
to_date
string
required
reason
string
required
mark_as_present
integer<int32>
required

Response

200

Respuesta exitosa del servidor.