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": "a676775c-7fc6-4d74-ac24-50e992e04fb8",
"DonarId": "4996e906-8b75-4093-8640-ee87bd08e8de",
"ActionById": "cef0492d-78bc-48ae-8b74-4bf55389d970",
"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": "fc153c03-ad17-4696-bebd-92cfefccecdb",
"PaymentMethodId": "ec4ddfb8-1da7-4737-b450-16ee4a00e7e9",
"DonationTypeId": "1b5af17a-9423-4357-963d-7822b8d627ad",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "ceb58659-a872-41b0-b79f-e65b79af9a91",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2026-09-25T12:49:33.7927324+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "9ff2b5e0-3c8d-45c1-9e61-e006e1641206",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "2845cdb2-a04c-40c4-a7da-579a744af1ad",
"Country": "sample string 16",
"ProvinceId": "a8befd3b-4bbb-4ca4-8019-99b9ac490e19",
"Province": "sample string 17",
"CityId": "a785841f-d575-47ff-b064-6910c5611ac5",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2026-09-25T12:49:33.7927324+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.