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": "d9ac3608-ce28-4478-901d-14407945361b",
"DonarId": "0b6182e5-e39f-4367-a54d-e50de50234ef",
"ActionById": "14c9d502-235b-4365-8474-3ed255e73741",
"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": "1c765238-1eeb-4a30-97f8-944cda1549e9",
"PaymentMethodId": "76d8dd74-53ac-46b3-bccb-0bd3b00a57fb",
"DonationTypeId": "4a0fa7c6-6375-4d68-a4f7-9489bacc2938",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "f7242da3-b6d9-46b6-9e49-f7b0a57746cb",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2026-11-17T21:25:07.1177707+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "1690142e-ba77-4f7c-b590-17f373ca5338",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "a2ca89f2-daa2-4dd6-a990-5e00a6308f4a",
"Country": "sample string 16",
"ProvinceId": "d1b3dd12-1a19-476c-8c72-11fa9a387d22",
"Province": "sample string 17",
"CityId": "3fbb7f1f-0b96-44d0-a310-1f1d6f950598",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2026-11-17T21:25:07.1197811+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.