PUT ./repartizari
It is used to modify student association to a subject (e2mID)
PUT parameters
Name | Value Type | Validation | Details |
---|---|---|---|
e2mID | int | Required | Repartition ID. |
e2mElevAreTestareSpeciala | int | Optional | values[0,1]; The student may or may not take special testing. |
e2mElevAreTeza | int | Optional | values[0,1]; The student will or will not defend the thesis. |
e2mElevAreTITF | int | Optional | values[0,1]; The student will or will not defend the initial or final testing. |
e2mElevAreSimulare | int | Optional | values[0,1]; The student will or will not take the simulation. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
e2mID | 101 | Invalid e2mID. |
e2mElevAreTestareSpeciala | 101 | The student will defend the thesis. |
e2mElevAreTestareSpeciala | 102 | The student already has a grade at the special testing. |
e2mElevAreTeza | 101 | The student will defend the special testing. |
e2mElevAreTeza | 101 | The student has a grade for the thesis. |
e2mElevAreTITF | 101 | The student has a grade for the initial or final testing. |
e2mElevAreSimulare | 101 | The student has a grade for the simulation. |
Output example
{"result": true}