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": "1efee413-b6ac-48da-adeb-52c84e54910a",
"UserId": "571e33c0-255a-493d-95fa-85b516aaa4ca",
"TeacherId": "0cb57f03-5528-4793-8157-3cea7ecd185e",
"ClassId": "4db35317-de81-42af-b5e2-7b5c670ab467",
"SectionId": "55b01328-526d-4d38-ab25-72d6606b0b21",
"SubjectId": "c81b0592-2108-4c7c-a3f8-e718be0857f3",
"ClassCategoryId": "2d190970-12c4-497e-b947-e7c3f4a0822a",
"EventSectorId": "1720353a-8711-41c0-a772-7dbfe5d90914",
"Date": "2026-08-01T11:33:04.4373268+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "2a0c576f-8392-4462-8502-54b6bc2537c2",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "01e7d9d3-5284-485d-a0f1-946aee08a17e",
"EventId": "3b57e832-6a07-4261-81ad-fb7470574b8a",
"EventSectorId": "b3766ee6-6b94-4275-a25b-f30cd05b0260",
"EventRegistrationId": "ab122b95-ce81-46cd-a08f-962c8c6dbc03",
"UserId": "9541076f-482c-4c6f-aea5-2dde42c88943",
"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-08-01T11:33:04.4373268+05:00",
"StudentDateOfBirth": "2026-08-01T11:33:04.4373268+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-08-01T11:33:04.4373268+05:00"
},
{
"StudentId": "2a0c576f-8392-4462-8502-54b6bc2537c2",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "01e7d9d3-5284-485d-a0f1-946aee08a17e",
"EventId": "3b57e832-6a07-4261-81ad-fb7470574b8a",
"EventSectorId": "b3766ee6-6b94-4275-a25b-f30cd05b0260",
"EventRegistrationId": "ab122b95-ce81-46cd-a08f-962c8c6dbc03",
"UserId": "9541076f-482c-4c6f-aea5-2dde42c88943",
"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-08-01T11:33:04.4373268+05:00",
"StudentDateOfBirth": "2026-08-01T11:33:04.4373268+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-08-01T11:33:04.4373268+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.