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": "3492fead-f066-4e4f-a916-96fa182869ca",
"UserId": "7df50381-8fcb-4ed8-9315-f78a604c08ca",
"TeacherId": "69f2ba6e-26a7-45cb-bff8-edaa6e295176",
"ClassId": "2d04fa42-c466-4cbd-908a-ad99be18be51",
"SectionId": "6e9baa24-b77e-4e22-8ffd-c49a810eb473",
"SubjectId": "80472691-72db-4342-ae9a-6c3398bad910",
"ClassCategoryId": "99843690-3eea-4a10-8fff-580147a1c465",
"EventSectorId": "da516df9-775c-4c7a-ac93-34ede0a00818",
"Date": "2025-12-20T17:42:10.8066545+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "0e263e93-f552-4dab-901a-fbe2955499ed",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "b8cf35b3-d4a9-486c-b43b-418e31879256",
"EventId": "d72387b1-5419-4b91-a5c5-d87e9af289bc",
"EventSectorId": "30a4779a-fc16-43c0-a909-0a8aee199347",
"EventRegistrationId": "82779908-3de8-490f-8ae6-886c303c5c88",
"UserId": "88c02d27-8e8b-4e60-a990-4c4991b4cc08",
"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": "2025-12-20T17:42:10.8066545+05:00",
"StudentDateOfBirth": "2025-12-20T17:42:10.8066545+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2025-12-20T17:42:10.8066545+05:00"
},
{
"StudentId": "0e263e93-f552-4dab-901a-fbe2955499ed",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "b8cf35b3-d4a9-486c-b43b-418e31879256",
"EventId": "d72387b1-5419-4b91-a5c5-d87e9af289bc",
"EventSectorId": "30a4779a-fc16-43c0-a909-0a8aee199347",
"EventRegistrationId": "82779908-3de8-490f-8ae6-886c303c5c88",
"UserId": "88c02d27-8e8b-4e60-a990-4c4991b4cc08",
"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": "2025-12-20T17:42:10.8066545+05:00",
"StudentDateOfBirth": "2025-12-20T17:42:10.8066545+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2025-12-20T17:42:10.8066545+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.