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": "d041f5e6-d4c9-42c5-b89d-89843c2b4ea6",
"UserId": "2c6a5300-48a8-4490-8a4d-9aa6fc86ea46",
"TeacherId": "bed5bfa4-2ea2-4956-b12d-c69c419f0d09",
"ClassId": "856fe06a-f8ce-4d5d-ba77-3d9f141103bb",
"SectionId": "5dec19c6-2f17-4ca3-93c4-065ca60498a7",
"SubjectId": "c652a427-1156-41a9-8586-9a2dd76587e8",
"ClassCategoryId": "9f910d8f-bc45-481e-9439-1071117e2329",
"EventSectorId": "e6e3568b-9037-4954-8cd4-9f4a8ecfee2f",
"Date": "2026-04-11T18:26:53.6125408+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "e7b2c227-23e6-4740-b679-e9fcbc5f5f2a",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "73897cb1-b567-4f0c-a3b7-055e0c6ff7ed",
"EventId": "966daa1a-4360-4401-8509-272b81aedebe",
"EventSectorId": "636ef59f-a712-440a-89eb-56daba30f147",
"EventRegistrationId": "dfc563a7-acc6-449e-b98f-a8b669437d43",
"UserId": "0eff07ab-b1e9-4cae-b63d-5147af1cfaaa",
"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-04-11T18:26:53.6125408+05:00",
"StudentDateOfBirth": "2026-04-11T18:26:53.6125408+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-04-11T18:26:53.6125408+05:00"
},
{
"StudentId": "e7b2c227-23e6-4740-b679-e9fcbc5f5f2a",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "73897cb1-b567-4f0c-a3b7-055e0c6ff7ed",
"EventId": "966daa1a-4360-4401-8509-272b81aedebe",
"EventSectorId": "636ef59f-a712-440a-89eb-56daba30f147",
"EventRegistrationId": "dfc563a7-acc6-449e-b98f-a8b669437d43",
"UserId": "0eff07ab-b1e9-4cae-b63d-5147af1cfaaa",
"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-04-11T18:26:53.6125408+05:00",
"StudentDateOfBirth": "2026-04-11T18:26:53.6125408+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-04-11T18:26:53.6125408+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.