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": "b430c1de-524e-4c82-8b5f-9bc3cfa08f92",
"UserId": "16408afc-a49b-40b5-a296-2eab61d8aea0",
"TeacherId": "62ac7ab7-8287-4b3c-aee3-4d2d26dfeb7c",
"ClassId": "cd939762-1ea4-43d7-b19e-e9fdbe5c48ab",
"SectionId": "f0ce1dff-28f9-428f-813d-07de112b1dab",
"SubjectId": "24139a8f-fdb4-4077-95d0-1638e610092d",
"ClassCategoryId": "f811fa45-d12a-4345-b6b8-5dfe343f8932",
"EventSectorId": "a075b8ca-93f6-4497-9209-6f4a7f773260",
"Date": "2026-05-16T01:28:24.0910213+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "50ec3f77-41a9-4181-b934-37110406653f",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "eee9a702-d80c-456a-8c9d-588169b89956",
"EventId": "3a40aeee-45e8-40c8-94e1-99550e17a4f2",
"EventSectorId": "fa4217cf-b09c-46a0-bd78-8e3b1586e424",
"EventRegistrationId": "cd77bf1d-14ac-4e4a-a3b0-dbc3e95df708",
"UserId": "ecd336a6-2892-471d-9e6e-80e06af6c8f1",
"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-05-16T01:28:24.0910213+05:00",
"StudentDateOfBirth": "2026-05-16T01:28:24.0910213+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-05-16T01:28:24.0910213+05:00"
},
{
"StudentId": "50ec3f77-41a9-4181-b934-37110406653f",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "eee9a702-d80c-456a-8c9d-588169b89956",
"EventId": "3a40aeee-45e8-40c8-94e1-99550e17a4f2",
"EventSectorId": "fa4217cf-b09c-46a0-bd78-8e3b1586e424",
"EventRegistrationId": "cd77bf1d-14ac-4e4a-a3b0-dbc3e95df708",
"UserId": "ecd336a6-2892-471d-9e6e-80e06af6c8f1",
"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-05-16T01:28:24.0910213+05:00",
"StudentDateOfBirth": "2026-05-16T01:28:24.0910213+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-05-16T01:28:24.0910213+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.