POST api/Donation/GetAllDonations
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": "4f499813-9ff0-4e6a-abe5-83eca866ff6b",
"UserId": "1674d15b-5b5f-41a9-87bd-5e4b26aa1f74",
"TeacherId": "e1341851-d215-4bb6-bbd0-6ef2d7a26fc5",
"ClassId": "62ba1e81-da94-46fc-99ef-044fc228c8cc",
"SectionId": "6551d9c0-d54b-41fd-a8b3-0f119c341aac",
"SubjectId": "064f8948-b317-4470-95ff-f062012781a7",
"ClassCategoryId": "23a48c6d-5e84-4299-8617-6b9576568158",
"EventSectorId": "d75d5200-3301-45e2-8d7e-d7852b00dca4",
"Date": "2026-09-25T12:49:36.3867196+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "e4d41d05-de90-415b-8cc6-e4ded5b7e2e5",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "20d5358a-b698-4696-b2cc-599651782c25",
"EventId": "3e944e3c-4b25-499f-85cd-71b1c3d8b387",
"EventSectorId": "02201ec1-21cf-42b6-ae35-32d0f06dc269",
"EventRegistrationId": "a8c9dc2b-9b77-4ee9-b2b5-411874b6894c",
"UserId": "e37f23cc-e250-419c-b926-84fdc73c3b14",
"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-09-25T12:49:36.3867196+05:00",
"StudentDateOfBirth": "2026-09-25T12:49:36.3867196+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-09-25T12:49:36.3867196+05:00"
},
{
"StudentId": "e4d41d05-de90-415b-8cc6-e4ded5b7e2e5",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "20d5358a-b698-4696-b2cc-599651782c25",
"EventId": "3e944e3c-4b25-499f-85cd-71b1c3d8b387",
"EventSectorId": "02201ec1-21cf-42b6-ae35-32d0f06dc269",
"EventRegistrationId": "a8c9dc2b-9b77-4ee9-b2b5-411874b6894c",
"UserId": "e37f23cc-e250-419c-b926-84fdc73c3b14",
"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-09-25T12:49:36.3867196+05:00",
"StudentDateOfBirth": "2026-09-25T12:49:36.3867196+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-09-25T12:49:36.3867196+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.