POST api/cashaccounts/{cashAccountID}/transfers
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cashAccountID | integer |
Required |
Body Parameters
CashTransferRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CashAccountID | integer |
None. |
|
| TransferType | CashTransferType |
None. |
|
| Sum | decimal number |
None. |
|
| BankNoteContainer | string |
None. |
|
| Notes | string |
None. |
|
| BankNotes | Collection of CurrencyBankNoteQuantity |
None. |
Request Formats
application/json, text/json
Sample:
{
"CashAccountID": 1,
"TransferType": 0,
"Sum": 2.0,
"BankNoteContainer": "sample string 3",
"Notes": "sample string 4",
"BankNotes": [
{
"CurrencyBankNoteID": 1,
"Quantity": 2
},
{
"CurrencyBankNoteID": 1,
"Quantity": 2
}
]
}
application/xml, text/xml
Sample:
<CashTransferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<BankNoteContainer>sample string 3</BankNoteContainer>
<BankNotes>
<CurrencyBankNoteQuantity>
<CurrencyBankNoteID>1</CurrencyBankNoteID>
<Quantity>2</Quantity>
</CurrencyBankNoteQuantity>
<CurrencyBankNoteQuantity>
<CurrencyBankNoteID>1</CurrencyBankNoteID>
<Quantity>2</Quantity>
</CurrencyBankNoteQuantity>
</BankNotes>
<CashAccountID>1</CashAccountID>
<Notes>sample string 4</Notes>
<Sum>2</Sum>
<TransferType>Auto</TransferType>
</CashTransferRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.