POST api/Accounting/ReturnChequeToSource
Request Information
URI Parameters
None.
Body Parameters
Collection of DepositChequeCriteriaViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChequeId | integer |
None. |
|
| DebitAccountID | integer |
None. |
|
| ChequeEndersomeDetails | string |
None. |
|
| NeedVoucher | boolean |
None. |
|
| PersonAccountIdCheckEndersom | integer |
None. |
|
| PersonId | integer |
None. |
|
| TransactionDefId | integer |
None. |
|
| BankId | integer |
None. |
|
| Transaction_Bank_Name | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ChequeId": 1,
"DebitAccountID": 2,
"ChequeEndersomeDetails": "sample string 3",
"NeedVoucher": true,
"PersonAccountIdCheckEndersom": 5,
"PersonId": 6,
"TransactionDefId": 7,
"BankId": 8,
"Transaction_Bank_Name": "sample string 9"
},
{
"ChequeId": 1,
"DebitAccountID": 2,
"ChequeEndersomeDetails": "sample string 3",
"NeedVoucher": true,
"PersonAccountIdCheckEndersom": 5,
"PersonId": 6,
"TransactionDefId": 7,
"BankId": 8,
"Transaction_Bank_Name": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfDepositChequeCriteriaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels">
<DepositChequeCriteriaViewModel>
<BankId>8</BankId>
<ChequeEndersomeDetails>sample string 3</ChequeEndersomeDetails>
<ChequeId>1</ChequeId>
<DebitAccountID>2</DebitAccountID>
<NeedVoucher>true</NeedVoucher>
<PersonAccountIdCheckEndersom>5</PersonAccountIdCheckEndersom>
<PersonId>6</PersonId>
<TransactionDefId>7</TransactionDefId>
<Transaction_Bank_Name>sample string 9</Transaction_Bank_Name>
</DepositChequeCriteriaViewModel>
<DepositChequeCriteriaViewModel>
<BankId>8</BankId>
<ChequeEndersomeDetails>sample string 3</ChequeEndersomeDetails>
<ChequeId>1</ChequeId>
<DebitAccountID>2</DebitAccountID>
<NeedVoucher>true</NeedVoucher>
<PersonAccountIdCheckEndersom>5</PersonAccountIdCheckEndersom>
<PersonId>6</PersonId>
<TransactionDefId>7</TransactionDefId>
<Transaction_Bank_Name>sample string 9</Transaction_Bank_Name>
</DepositChequeCriteriaViewModel>
</ArrayOfDepositChequeCriteriaViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | string |
None. |
|
| ErrorText | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": "sample string 1",
"ErrorText": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models"> <Data /> <ErrorText>sample string 2</ErrorText> <Success>sample string 1</Success> </ResultModel>