PUT ./classes
Used to update properties of a class.
For now only the information required for the classbook can be updated.
PUT parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| clID | int | required | Class ID. |
| astID | int | ID of study year | |
| clLitera | string | required? | Letter of class to be appended to study year. Is required if astID is set |
| spID | int | ID of speciality | |
| ctID | int | ID of class type | |
| clRoomID | int | optional | ID of room |
| clBranch | string | Branch | |
| clProfile | string | Profile | |
| clProfessionalQualification | string | clProfessionalQualification | |
| clTrainingField | string | clTrainingField | |
| clQualificationLevel | string | clQualificationLevel | |
| clClassbookSignersDirector | int | Id of the teacher that signs as the Director. | |
| clClassbookSignersSecretary | int | Id of the teacher that signs as the Secretary. | |
| clClassbookSignersHeadTeacher | int | Id of the teacher that signs as the HeadTeacher | |
| clClassbookSignedDate | date | rfc_date | Date that the classbook is signed. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| clID | 101 | Invalid clID. |
Output example
{"result": true}
