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": "4d3bf00b-b50c-4636-8068-15175193735a",
"DonarId": "5a1d9d24-ba13-4b76-87ea-0163ba9febdb",
"ActionById": "f57497d1-93e6-4eec-bbbb-572a7d8d82c5",
"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": "e162a560-606a-4d6c-b0d5-691e5e0ada52",
"PaymentMethodId": "50b08984-60f3-49a9-833c-dbfc171549d5",
"DonationTypeId": "5d9ee30d-7d32-4440-be02-dbef37e4207b",
"Amount": 1.1,
"Attachment": "sample string 12",
"DonationAccountId": "35068473-a5cb-463c-9e7e-bbb29e87046a",
"DonationStatus": 1,
"UserDonationStatus": "sample string 13",
"UserDonationDate": "2026-08-01T11:33:03.0293223+05:00",
"DonationStatusRemarks": "sample string 14",
"DonationId": "b06c4b2a-e40c-4525-9675-a2ff0784e5e9",
"MonthlyDonations": 1,
"DailyDonations": 1,
"PendingDonations": 1,
"ApprovedDonations": 1,
"BranchName": "sample string 15",
"CountryId": "dd9f8824-849a-49a7-9017-9c8709326bf7",
"Country": "sample string 16",
"ProvinceId": "6a85f999-8230-411a-a54e-effa6aea0da0",
"Province": "sample string 17",
"CityId": "3b4c8d19-8fde-4e51-8012-6af709af0076",
"City": "sample string 18",
"MobileNumber": "sample string 19",
"DonationDate": "2026-08-01T11:33:03.0313448+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.