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": "574a8877-cc12-41be-afb5-a7024a9be88f",
"UserId": "b124c1a2-356b-45ee-8469-96985c7b1f57",
"TeacherId": "6d662a76-174b-44e7-a9d4-60c5405510dc",
"ClassId": "880180f6-76f9-41f9-b052-f7961e8c0181",
"SectionId": "f50ecbe8-dab7-4b24-88aa-07902c5104b1",
"SubjectId": "be58e5fd-37cb-46a7-acea-b590eab876cd",
"ClassCategoryId": "d8a34393-3bcb-4afb-85e3-e8aae944ada1",
"EventSectorId": "59190d76-90ca-42be-9d7c-cd182d74d48e",
"Date": "2025-12-10T12:55:18.107197+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "2c9fa139-4749-460f-b06c-138daf5e4820",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "cadb9968-0a63-4163-b97b-e0a4d8891c49",
"EventId": "ff8ce66b-e81b-40e7-a926-df42ed898577",
"EventSectorId": "33b3609a-fd20-4a40-85c3-95b2e9887e05",
"EventRegistrationId": "18d5f198-ef8f-4712-bb9a-f315554161e0",
"UserId": "fb033125-f59b-4891-a9df-946b5a76786a",
"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": "2025-12-10T12:55:18.107197+05:00",
"StudentDateOfBirth": "2025-12-10T12:55:18.107197+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2025-12-10T12:55:18.107197+05:00"
},
{
"StudentId": "2c9fa139-4749-460f-b06c-138daf5e4820",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "cadb9968-0a63-4163-b97b-e0a4d8891c49",
"EventId": "ff8ce66b-e81b-40e7-a926-df42ed898577",
"EventSectorId": "33b3609a-fd20-4a40-85c3-95b2e9887e05",
"EventRegistrationId": "18d5f198-ef8f-4712-bb9a-f315554161e0",
"UserId": "fb033125-f59b-4891-a9df-946b5a76786a",
"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": "2025-12-10T12:55:18.107197+05:00",
"StudentDateOfBirth": "2025-12-10T12:55:18.107197+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2025-12-10T12:55:18.107197+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.