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": "322983fa-ca86-4bee-9396-b8630b478010",
"DonarId": "a1a31138-9fd5-4c9c-b158-81ece8691cfe",
"ActionById": "645d3d24-79a6-409d-b5b9-9182e97f8b50",
"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": "7b71b913-e80a-43aa-a976-33f3c8b18118",
"PaymentMethodId": "8bb32f78-036c-4f4c-af56-87c390800686",
"DonationTypeId": "31af15fb-72d6-4778-ba57-241cab4dcd16",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "9fdf6d1d-c8ee-4691-a201-6649bd8b9391",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2026-10-30T18:26:49.353136+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "d38c7c44-b470-47b1-88f0-2cf08afd8ac5",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "285d50ce-4ab4-445c-89e4-0de34a28ed4d",
"Country": "sample string 16",
"ProvinceId": "4079a00c-5a11-49a6-a869-9b4ef693acef",
"Province": "sample string 17",
"CityId": "80889a04-cd6c-4baf-b2bb-ad323ed5576f",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2026-10-30T18:26:49.353136+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.