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": "c6ad20fa-f6e6-4501-836b-5a14813ea60b",
"DonarId": "6a98acb7-7e81-4cf3-9677-80fcc3b62e01",
"ActionById": "cc20c9dc-a289-49d8-9bd1-13158573b7b8",
"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": "f1883c69-cc61-4bec-b6c3-e6b3e8977339",
"PaymentMethodId": "392411c8-b6cb-4356-93b2-42a2002f55a7",
"DonationTypeId": "20c36d37-429d-4983-b488-236df269f151",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "d1bdc6ef-5f55-4644-9b45-aa5a6cc8b70b",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2025-12-10T12:51:26.0646862+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "eff62a9e-61c5-4b3b-897c-ff7cc2836a43",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "ef9873c7-536a-40c1-ab49-85e4e66d0509",
"Country": "sample string 16",
"ProvinceId": "df4439fb-4e08-42ea-9c36-0640d7a6e5a7",
"Province": "sample string 17",
"CityId": "61430e58-cf77-4664-aebd-c6734085b3fb",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2025-12-10T12:51:26.066662+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.