1
0
forked from PGL/Clyde
Clyde/frontend/src/rest/externalCurriculum.js
2024-04-10 22:00:08 +02:00

17 lines
635 B
JavaScript

import {restGet, restPost} from "@/rest/restConsumer.js";
export async function createExternalCurriculum(inscriptionRequestId,school, formation, completion, startYear, endYear, justifdocUrl){
return restPost("/externalcurriculum", {
inscriptionRequestId: inscriptionRequestId,
school:school,
formation :formation,
completion : completion,
startYear : startYear,
endYear: endYear,
justifdocUrl : justifdocUrl
})
}
export async function getExternalCurriculumListByInscrReq(inscriptionRequestId){
return restGet("/externalCurriculum/"+parseInt(inscriptionRequestId))
}