Conceptos
Crear Concepto
Se crearan un concepto nuevos.
post/ledger
Headers
campusIDstring uuid required
ID del Campus que se desea trabajar.
periodIDstring uuid required
ID del periodo que se desea trabajar.
Request body
Example request
{
"program_id": "prm_48ec2f25-74e1-406a-a42f-4636bcce7877",
"student_id": "0b313f5a-1023-47e4-9b96-82efa61363be",
"primary_concept_type": "membership",
"primary_concept_id": "0b313f5a-1023-47e4-9b96-82efa61363be",
"items": [
{
"amount": 10,
"pay_date": "2023-11-10",
"external_id": "2a09691a-a473-46de-b0a7-45269007c59c",
"metadata": {
"id_alumno": "123abc"
}
}
],
"scholarship_id": "0b313f5a-1023-47e4-9b96-82efa61363be",
"scholarship_items": [
{
"amount": 10,
"pay_type": "integer",
"pay_date": "2023-11-10",
"on_inscription": true,
"external_id": "2a09691a-a473-46de-b0a7-45269007c59c",
"metadata": {
"id_alumno": "123abc"
}
}
],
"discount_id": "0b313f5a-1023-47e4-9b96-82efa61363be",
"discount_items": [
{
"amount": 10,
"pay_date": "2023-11-10",
"on_inscription": true,
"external_id": "2a09691a-a473-46de-b0a7-45269007c59c",
"metadata": {
"id_alumno": "123abc"
}
}
],
"external_id": "2a09691a-a473-46de-b0a7-45269007c59c",
"metadata": {
"id_alumno": "123abc"
}
}Response
Crear Concepto
Example response
[
{
"data": [
{
"id": "a12a51c4-3f69-464f-93eb-cc8d355f68b2",
"created_at": "2023-09-01 14:44:17.600161",
"updated_at": "2023-09-01 14:44:17.600161",
"amount": 100,
"pending_amount": 80,
"external_id": "2a09691a-a473-46de-b0a7-45269007c59c",
"metadata": {
"id_alumno": "123abc"
},
"items": [
{
"id": "a12a51c4-3f69-464f-93eb-cc8d355f68b2",
"created_at": "2023-09-01 14:44:17.600161",
"updated_at": "2023-09-01 14:44:17.600161"
}
],
"student": {
"id": "a12a51c4-3f69-464f-93eb-cc8d355f68b2",
"created_at": "2023-09-01 14:44:17.600161",
"updated_at": "2023-09-01 14:44:17.600161"
}
}
]
}
]