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": "a937b0da-5f93-4065-8fa0-c92da7b29887",
"DonarId": "a383f317-5c97-4620-a8e3-edf47490551c",
"ActionById": "3b95b694-0a15-4f2c-b126-1784cf9fbbf0",
"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": "e8295a4e-2b26-475d-8bb4-6d476027d74a",
"PaymentMethodId": "f185909b-ae0f-4907-a00d-e075049b969d",
"DonationTypeId": "be586df4-e051-4f66-87d9-0c45be5c579b",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "c4ac71aa-543e-4173-b513-f4dba3d71ace",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2025-12-20T17:35:12.1346576+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "b14e3b7f-9b42-42ab-86e2-5c1e51ed04c4",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "606104d7-58ea-4762-9a19-bdad30660e8f",
"Country": "sample string 16",
"ProvinceId": "e560e418-f3ac-4055-9606-47eb945c0c06",
"Province": "sample string 17",
"CityId": "e5eb1d15-df69-4963-b665-124df0adc96e",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2025-12-20T17:35:12.136661+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.