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": "60295afa-14b6-4811-96ff-40805e29e7a2",
"UserId": "26a7872a-4b21-47df-bcd2-34d3be05139a",
"TeacherId": "075abf63-7b2c-405a-9959-1e29f3a5cd2c",
"ClassId": "d6473ec3-84bc-46a6-b79d-e5e534c1d582",
"SectionId": "17911d74-7eb3-4fd2-8fca-a26a501a68f6",
"SubjectId": "0f6bfb0e-b6be-4cc2-9b63-dfedc231c5ea",
"ClassCategoryId": "e7a9b98d-465b-4a63-badf-4b7c856cf2eb",
"EventSectorId": "2467a54a-c206-4f49-ab64-071edd51f1a1",
"Date": "2026-02-14T16:19:30.5770717+05:00",
"Start": 1,
"Length": 1,
"Search": "sample string 1",
"StudentDetail": [
{
"StudentId": "04ac6dbd-6f83-4170-85d2-378a7b02a544",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "bcc5cd61-1902-4a24-897d-aef969019257",
"EventId": "416cbcc2-26c8-490c-b197-8056bd3830cb",
"EventSectorId": "7d20e317-d860-4d2e-96fe-c40b901bfe9c",
"EventRegistrationId": "b22bef72-282e-4ab5-8231-553742a66ec1",
"UserId": "558f0e4a-cd86-4b10-8ad0-cdd30c7a5ca4",
"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-14T16:19:30.5770717+05:00",
"StudentDateOfBirth": "2026-02-14T16:19:30.5770717+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-14T16:19:30.5770717+05:00"
},
{
"StudentId": "04ac6dbd-6f83-4170-85d2-378a7b02a544",
"StudentName": "sample string 1",
"StudentStatus": 1,
"StudentAttendanceId": "bcc5cd61-1902-4a24-897d-aef969019257",
"EventId": "416cbcc2-26c8-490c-b197-8056bd3830cb",
"EventSectorId": "7d20e317-d860-4d2e-96fe-c40b901bfe9c",
"EventRegistrationId": "b22bef72-282e-4ab5-8231-553742a66ec1",
"UserId": "558f0e4a-cd86-4b10-8ad0-cdd30c7a5ca4",
"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-14T16:19:30.5770717+05:00",
"StudentDateOfBirth": "2026-02-14T16:19:30.5770717+05:00",
"AttendanceStatus": 1,
"DisplayAttendanceStatus": "sample string 9",
"AreaName": "sample string 10",
"CityName": "sample string 11",
"AttendanceDate": "2026-02-14T16:19:30.5770717+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.