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": "d34653a4-f488-499f-92f3-86dc336c796e",
"UserId": "bc5f1066-bcab-434a-8327-193396fcb841",
"TeacherId": "80690711-78d6-4ffd-8d85-defa7c7ceeb9",
"ClassId": "7cd1d807-264e-44d8-b763-72bf8b43470c",
"SectionId": "f50242a3-d23b-4f80-b2bc-790f29e1a4d6",
"SubjectId": "492fe398-48a2-4696-91ea-8747588c390e",
"ClassCategoryId": "93db480d-56b5-42ae-a6ee-7a6413fe548e",
"EventSectorId": "b6babe67-c631-4a6e-8354-3bbf38bb8bbc",
"Date": "2026-06-06T12:46:24.0708809+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "be0ae2ad-9b01-4655-9252-681aff3c7f19",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "49df905b-aea9-4339-b53a-41f5963ab876",
"EventId": "c95156c4-ed33-44f7-bb0d-1c3660dd76bd",
"EventSectorId": "fc019692-3641-4e89-bc28-c8364ac85d69",
"EventRegistrationId": "45dd5365-757e-4ade-a2fb-f893c148d97c",
"UserId": "558a5468-12c1-48fa-8272-18483ca53740",
"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-06-06T12:46:24.0708809+05:00",
"StudentDateOfBirth": "2026-06-06T12:46:24.0708809+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-06-06T12:46:24.0708809+05:00"
},
{
"StudentId": "be0ae2ad-9b01-4655-9252-681aff3c7f19",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "49df905b-aea9-4339-b53a-41f5963ab876",
"EventId": "c95156c4-ed33-44f7-bb0d-1c3660dd76bd",
"EventSectorId": "fc019692-3641-4e89-bc28-c8364ac85d69",
"EventRegistrationId": "45dd5365-757e-4ade-a2fb-f893c148d97c",
"UserId": "558a5468-12c1-48fa-8272-18483ca53740",
"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-06-06T12:46:24.0708809+05:00",
"StudentDateOfBirth": "2026-06-06T12:46:24.0708809+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-06-06T12:46:24.0708809+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.