POST BankDeposit/AddBankDeposit
Add a Bank Deposit
Request Information
URI Parameters
Body Parameters
The request object used to create the bank deposit
ClsBankDeposit| Name | Description | Type | Additional Information |
|---|---|---|---|
| DepositDate |
Date of Deposit |
date |
Required |
| CheckingAccount |
Checking Account of Deposit |
string |
Required |
| CashAccount |
Cash Account of Deposit |
string |
Required |
| Description |
Description of Deposit |
string |
Max length: 255 |
| CashBackGL |
Cash Back GL Account of Deposit |
string | |
| CashBackAmount |
Cash Back Amount of Deposit |
decimal number | |
| MarkAsDeposited |
True/False value if user wanted 'Mark Deposited' or not |
boolean | |
| IncludeDepositTicket |
For the auto-created document - option to include the deposit ticket |
boolean | |
| PrintLocationOfCheckingAccountProfitCenter |
For the auto-created document - option to use the location from the checking account profit center |
boolean | |
| PaymentPayMethodDtList |
List of PaymentPayMethodsMY |
Collection of globally unique identifier | |
| JentryDtList |
List of Jentrys "JE" |
Collection of ClsBankDepositJentryDT | |
| ManualDtList |
List of Manual entires |
Collection of ClsBankDepositManualDT |
Request Formats
application/json, text/json
{
"DepositDate": "2025-11-08T16:35:10.4221889+00:00",
"CheckingAccount": "sample string 4",
"CashAccount": "sample string 5",
"Description": "sample string 6",
"CashBackGL": "sample string 7",
"CashBackAmount": 8.1,
"MarkAsDeposited": true,
"IncludeDepositTicket": true,
"PrintLocationOfCheckingAccountProfitCenter": true,
"PaymentPayMethodDtList": [
"1246bddb-3cb3-4c61-b394-e4d57c6c63d7",
"3ce3c0b6-0eb0-4a68-9d23-785d1338151d"
],
"JentryDtList": [
{
"JentryGuid": "f3f0a9a2-b9d9-4b36-8252-e78c28e84176",
"CheckNumber": "sample string 2",
"Comments": "sample string 3"
},
{
"JentryGuid": "f3f0a9a2-b9d9-4b36-8252-e78c28e84176",
"CheckNumber": "sample string 2",
"Comments": "sample string 3"
}
],
"ManualDtList": [
{
"Amount": 1.1,
"CheckNumber": "sample string 2",
"Comments": "sample string 3",
"GLAcct": "sample string 4"
},
{
"Amount": 1.1,
"CheckNumber": "sample string 2",
"Comments": "sample string 3",
"GLAcct": "sample string 4"
}
]
}
application/xml, text/xml
<ClsBankDeposit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI">
<CashAccount>sample string 5</CashAccount>
<CashBackAmount>8.1</CashBackAmount>
<CashBackGL>sample string 7</CashBackGL>
<CheckingAccount>sample string 4</CheckingAccount>
<DepositDate>2025-11-08T16:35:10.4221889+00:00</DepositDate>
<Description>sample string 6</Description>
<IncludeDepositTicket>true</IncludeDepositTicket>
<JentryDtList>
<ClsBankDepositJentryDT>
<CheckNumber>sample string 2</CheckNumber>
<Comments>sample string 3</Comments>
<JentryGuid>f3f0a9a2-b9d9-4b36-8252-e78c28e84176</JentryGuid>
</ClsBankDepositJentryDT>
<ClsBankDepositJentryDT>
<CheckNumber>sample string 2</CheckNumber>
<Comments>sample string 3</Comments>
<JentryGuid>f3f0a9a2-b9d9-4b36-8252-e78c28e84176</JentryGuid>
</ClsBankDepositJentryDT>
</JentryDtList>
<ManualDtList>
<ClsBankDepositManualDT>
<Amount>1.1</Amount>
<CheckNumber>sample string 2</CheckNumber>
<Comments>sample string 3</Comments>
<GLAcct>sample string 4</GLAcct>
</ClsBankDepositManualDT>
<ClsBankDepositManualDT>
<Amount>1.1</Amount>
<CheckNumber>sample string 2</CheckNumber>
<Comments>sample string 3</Comments>
<GLAcct>sample string 4</GLAcct>
</ClsBankDepositManualDT>
</ManualDtList>
<MarkAsDeposited>true</MarkAsDeposited>
<PaymentPayMethodDtList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1246bddb-3cb3-4c61-b394-e4d57c6c63d7</d2p1:guid>
<d2p1:guid>3ce3c0b6-0eb0-4a68-9d23-785d1338151d</d2p1:guid>
</PaymentPayMethodDtList>
<PrintLocationOfCheckingAccountProfitCenter>true</PrintLocationOfCheckingAccountProfitCenter>
</ClsBankDeposit>
application/x-www-form-urlencoded
Response Information
Resource Description
Add a Bank Deposit
AgvBankDeposit| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
| Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
| ErrorList |
List of errors from the API |
Collection of string | |
| WarningList |
List of warnings from the API |
Collection of string | |
| DepositGuid |
The GUID of the deposit that is created |
globally unique identifier | |
| PreSignedUrl |
The PreSigned URL to the deposit document |
string |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"DepositGuid": "0734927c-06de-4d8b-a4cf-ce878cfd6a22",
"PreSignedUrl": "sample string 3"
}
application/xml, text/xml
<AgvBankDeposit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.GL">
<DepositGuid>0734927c-06de-4d8b-a4cf-ce878cfd6a22</DepositGuid>
<ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorList>
<Message>sample string 2</Message>
<PreSignedUrl>sample string 3</PreSignedUrl>
<Status>sample string 1</Status>
<WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningList>
</AgvBankDeposit>