POST api/account/AddUserDonations
Request Information
URI Parameters
None.
Body Parameters
DTODonationsData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| DonarId | globally unique identifier |
None. |
|
| ActionById | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| ImagePath | string |
None. |
|
| IsWeb | boolean |
None. |
|
| IsMobile | boolean |
None. |
|
| IsHIMS | boolean |
None. |
|
| Description | string |
None. |
|
| Value | integer |
None. |
|
| PaymentMethod | string |
None. |
|
| AccountNumber | string |
None. |
|
| BankName | string |
None. |
|
| AccountTitle | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| PaymentMethodId | globally unique identifier |
None. |
|
| DonationTypeId | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| Attachment | string |
None. |
|
| DonationAccountId | globally unique identifier |
None. |
|
| DonationStatus | integer |
None. |
|
| UserDonationStatus | string |
None. |
|
| UserDonationDate | date |
None. |
|
| DonationStatusRemarks | string |
None. |
|
| DonationId | globally unique identifier |
None. |
|
| MonthlyDonations | integer |
None. |
|
| DailyDonations | integer |
None. |
|
| PendingDonations | integer |
None. |
|
| ApprovedDonations | integer |
None. |
|
| BranchName | string |
None. |
|
| CountryId | globally unique identifier |
None. |
|
| Country | string |
None. |
|
| ProvinceId | globally unique identifier |
None. |
|
| Province | string |
None. |
|
| CityId | globally unique identifier |
None. |
|
| City | string |
None. |
|
| MobileNumber | string |
None. |
|
| DonationDate | date |
None. |
|
| DeviceToken | string |
None. |
|
| PushNotificationTitle | string |
None. |
|
| PushNotificationBody | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8aa26dc4-cde7-4c30-b3fb-1bfc12792ad9",
"DonarId": "c4ac7a9e-c000-4218-88af-79b421774b6f",
"ActionById": "90007f88-3887-4697-bfe4-8e52004303bf",
"Name": "sample string 1",
"ImagePath": "sample string 2",
"IsWeb": true,
"IsMobile": true,
"IsHIMS": true,
"Description": "sample string 6",
"Value": 7,
"PaymentMethod": "sample string 8",
"AccountNumber": "sample string 9",
"BankName": "sample string 10",
"AccountTitle": "sample string 11",
"UserId": "2bc2e3b1-3298-4228-8777-8ceadff38882",
"PaymentMethodId": "ec064fb9-18e1-4b45-8730-29663ae938e2",
"DonationTypeId": "c2096ed6-470c-4149-bce5-cfbdd8fd6d50",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "e390eef3-9ebd-443d-b910-0e743b0ea981",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2026-02-14T16:18:54.9271614+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "3cecbb74-1047-4b8c-a357-904f2bc24798",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "21d8a843-db2e-43bc-a450-935edbf0f28e",
"Country": "sample string 16",
"ProvinceId": "c38c8ff7-9074-463e-88d0-c354de1928b4",
"Province": "sample string 17",
"CityId": "f47cd6cf-e1d1-4e1f-bb12-0eb56a259cca",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2026-02-14T16:18:54.9301634+05:00",
"DeviceToken": "sample string 20",
"PushNotificationTitle": "sample string 21",
"PushNotificationBody": "sample string 22"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.