POST api/receipt/addfunds
Add funds to an account/group by id or suspense account
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.Accounts.Financial.Command.Receipt.SetReceiptFundsDataContractName | Description | Type | Additional information |
---|---|---|---|
DateTime | date |
None. |
|
GroupId | integer |
None. |
|
AccountId | integer |
None. |
|
IsSuspense | boolean |
None. |
|
IsAgentCash | boolean |
None. |
|
Amount | decimal number |
None. |
|
IsUncleared | boolean |
None. |
|
SystemBankAccountId | integer |
None. |
|
PaymentType | Dezrez.Rezi.Domain.Accounts.Enums.PaymentType |
None. |
|
Description | string |
None. |
|
PropertyAccountId | integer |
None. |
|
Allocations | Collection of Dezrez.Core.DataContracts.Accounts.Invoices.Command.MakeInvoiceAllocationDataContract |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "DateTime": "2024-11-21T09:36:16.0239967Z", "GroupId": 1, "AccountId": 1, "IsSuspense": true, "IsAgentCash": true, "Amount": 3.0, "IsUncleared": true, "SystemBankAccountId": 1, "PaymentType": 0, "Description": "sample string 4", "PropertyAccountId": 1, "Allocations": [ { "InvoiceId": 1, "Amount": 2.0, "DateTime": "2024-11-21T09:36:16.0239967Z", "AccountId": 3, "InvoiceItemAllocations": [ { "Amount": 1.0, "InvoiceItemId": 2 }, { "Amount": 1.0, "InvoiceItemId": 2 } ] }, { "InvoiceId": 1, "Amount": 2.0, "DateTime": "2024-11-21T09:36:16.0239967Z", "AccountId": 3, "InvoiceItemAllocations": [ { "Amount": 1.0, "InvoiceItemId": 2 }, { "Amount": 1.0, "InvoiceItemId": 2 } ] } ], "Id": 5 }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.