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": "9e66376c-3817-4057-87c9-6aaed0aed8aa",
"UserId": "b8539337-65b8-4a54-8ae5-f6eaeb4efb5c",
"TeacherId": "70e3ca89-f1d1-466c-8bcf-2ba0d3baeaf3",
"ClassId": "f26c6bde-9cbd-409c-b063-851f9a0bb46c",
"SectionId": "fa78079c-cb05-40ca-b5fd-db19e86f5c32",
"SubjectId": "33414896-f51e-4abb-9340-4ee268dc87b3",
"ClassCategoryId": "9a6250ac-c2c0-483b-8595-4a8eb519080c",
"EventSectorId": "018a736b-a818-45f3-9539-cc8296cbdf58",
"Date": "2026-02-03T15:19:58.0198838+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "0190af4c-8a35-403d-b198-54ba737503e7",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "b6472a1a-1f1c-464e-89ee-45755c96a662",
"EventId": "12a74fe9-b625-4b33-94e6-af7235e412b2",
"EventSectorId": "15517025-6166-42f8-8b80-3579db6e8fca",
"EventRegistrationId": "0b631079-aa12-4e9b-b667-4cd8d29880a8",
"UserId": "ca1980ea-987f-4a27-9465-311fe3fef284",
"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-02-03T15:19:58.0198838+05:00",
"StudentDateOfBirth": "2026-02-03T15:19:58.0198838+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-03T15:19:58.0198838+05:00"
},
{
"StudentId": "0190af4c-8a35-403d-b198-54ba737503e7",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "b6472a1a-1f1c-464e-89ee-45755c96a662",
"EventId": "12a74fe9-b625-4b33-94e6-af7235e412b2",
"EventSectorId": "15517025-6166-42f8-8b80-3579db6e8fca",
"EventRegistrationId": "0b631079-aa12-4e9b-b667-4cd8d29880a8",
"UserId": "ca1980ea-987f-4a27-9465-311fe3fef284",
"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-02-03T15:19:58.0198838+05:00",
"StudentDateOfBirth": "2026-02-03T15:19:58.0198838+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-03T15:19:58.0198838+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.