Campos requeridos: program, academic_year, receivable_account, components
total_amount se calcula automáticamente
curl --request POST \
--url https://cucuniversity.edtools.co/api/resource/Fee%20Structure \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"program": "Business Administration",
"academic_year": "2024-2025",
"academic_term": "2024-2025 (Semester 1)",
"student_category": null,
"receivable_account": "Debtors - CUC",
"company": "CUC University",
"components": [
{
"fees_category": "Tuition Fee",
"description": "Matrícula semestral",
"amount": 5000000
},
{
"fees_category": "Library Fee",
"description": "Cuota de biblioteca",
"amount": 200000
},
{
"fees_category": "Laboratory",
"description": "Uso de laboratorios",
"amount": 300000
}
]
}
'—
Respuesta exitosa del servidor.
curl --request POST \
--url https://cucuniversity.edtools.co/api/resource/Fee%20Structure \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"program": "Business Administration",
"academic_year": "2024-2025",
"academic_term": "2024-2025 (Semester 1)",
"student_category": null,
"receivable_account": "Debtors - CUC",
"company": "CUC University",
"components": [
{
"fees_category": "Tuition Fee",
"description": "Matrícula semestral",
"amount": 5000000
},
{
"fees_category": "Library Fee",
"description": "Cuota de biblioteca",
"amount": 200000
},
{
"fees_category": "Laboratory",
"description": "Uso de laboratorios",
"amount": 300000
}
]
}
'