POST api/Students/AssignClassToStudents
Request Information
URI Parameters
None.
Body Parameters
AssignedClassesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| TeacherId | globally unique identifier |
None. |
|
| ClassId | globally unique identifier |
None. |
|
| SectionId | globally unique identifier |
None. |
|
| SubjectId | globally unique identifier |
None. |
|
| ClassCategoryId | globally unique identifier |
None. |
|
| EventSectorId | globally unique identifier |
None. |
|
| Date | date |
None. |
|
| Start | integer |
None. |
|
| Length | integer |
None. |
|
| Search | string |
None. |
|
| StudentDetail | Collection of DTOStudentDetail |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ccaace9d-317a-48e9-9b8f-3634aca3db88",
"UserId": "68a2dbbf-7e21-4bcf-8b5b-41a3568b18d1",
"TeacherId": "384267d1-1f4e-4f2d-96e8-0f34c98f4fd4",
"ClassId": "bda30beb-1193-4251-9a65-a08080f752df",
"SectionId": "37a79bdb-915d-46a0-be3f-4a5c318a3c54",
"SubjectId": "23fbcb3e-e2c3-4848-82f6-b978d467f4c6",
"ClassCategoryId": "388eaabc-2fa2-4b06-96d2-a1461c935784",
"EventSectorId": "aeec0240-dc4f-4bb2-b827-3988c371d8bf",
"Date": "2026-02-14T16:17:51.9474181+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "53fe2755-92eb-4705-94ad-9b0c11b7079f",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "9987aa97-a472-4154-8be2-6ef411fc436b",
"EventId": "349b3ff8-bf12-4729-992e-953af240ed72",
"EventSectorId": "5354307f-929c-4406-b216-89d98a765a1e",
"EventRegistrationId": "0f9df57b-5d1f-417d-accb-9ddf24b80f35",
"UserId": "7e425d21-9a48-4736-b13e-31f4d75a1a8a",
"FullName": "sample string 2",
"PhoneNumber": "sample string 3",
"WhatsappNumber": "sample string 4",
"CNICNumber": "sample string 5",
"StudentAddress": "sample string 6",
"ApprovalStatus": 1,
"DisplayApprovalStatus": "sample string 7",
"Gender": "sample string 8",
"AppliedDate": "2026-02-14T16:17:51.9524209+05:00",
"StudentDateOfBirth": "2026-02-14T16:17:51.9524209+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-14T16:17:51.9524209+05:00"
},
{
"StudentId": "53fe2755-92eb-4705-94ad-9b0c11b7079f",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "9987aa97-a472-4154-8be2-6ef411fc436b",
"EventId": "349b3ff8-bf12-4729-992e-953af240ed72",
"EventSectorId": "5354307f-929c-4406-b216-89d98a765a1e",
"EventRegistrationId": "0f9df57b-5d1f-417d-accb-9ddf24b80f35",
"UserId": "7e425d21-9a48-4736-b13e-31f4d75a1a8a",
"FullName": "sample string 2",
"PhoneNumber": "sample string 3",
"WhatsappNumber": "sample string 4",
"CNICNumber": "sample string 5",
"StudentAddress": "sample string 6",
"ApprovalStatus": 1,
"DisplayApprovalStatus": "sample string 7",
"Gender": "sample string 8",
"AppliedDate": "2026-02-14T16:17:51.9524209+05:00",
"StudentDateOfBirth": "2026-02-14T16:17:51.9524209+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-14T16:17:51.9524209+05:00"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.