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": "da3872f2-df35-4963-8715-47e26abc13ad",
"UserId": "b80bff03-d1e9-4289-9c11-07b08605e76e",
"TeacherId": "a51b0208-4afe-4178-bde5-0641a3a5669e",
"ClassId": "07097dad-fc20-459e-9b30-42e19d088ea2",
"SectionId": "1e19544a-cda6-4dde-93c5-cde254d2e8aa",
"SubjectId": "607bafdb-8962-4120-a364-4b8a69a4e811",
"ClassCategoryId": "25d0dd63-cdd4-4f21-b480-8c7a334a9cc9",
"EventSectorId": "8f1add7e-932c-4536-98ee-3f5edc0944a7",
"Date": "2026-11-17T21:25:02.6978782+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "9d99438b-0814-4c84-85c8-d83d5387ff31",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "dc53e32c-e795-422b-b81a-dd985dd25b7b",
"EventId": "7e2d359b-c43d-4c18-a351-8e4ec1040fff",
"EventSectorId": "ef5da97a-a32e-49d5-a7fc-702ef487b276",
"EventRegistrationId": "f4ee0f4f-2a38-41e7-8e86-e0412f6d8b95",
"UserId": "7a0778e1-73c0-4184-8a25-aea1a8eef6ba",
"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-11-17T21:25:02.6978782+05:00",
"StudentDateOfBirth": "2026-11-17T21:25:02.6978782+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-11-17T21:25:02.6978782+05:00"
},
{
"StudentId": "9d99438b-0814-4c84-85c8-d83d5387ff31",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "dc53e32c-e795-422b-b81a-dd985dd25b7b",
"EventId": "7e2d359b-c43d-4c18-a351-8e4ec1040fff",
"EventSectorId": "ef5da97a-a32e-49d5-a7fc-702ef487b276",
"EventRegistrationId": "f4ee0f4f-2a38-41e7-8e86-e0412f6d8b95",
"UserId": "7a0778e1-73c0-4184-8a25-aea1a8eef6ba",
"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-11-17T21:25:02.6978782+05:00",
"StudentDateOfBirth": "2026-11-17T21:25:02.6978782+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-11-17T21:25:02.6978782+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.