POST api/theatres/{theatreID}/cashaccounts/{cashAccountID}/collections
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cashAccountID | integer |
Required |
|
| theatreID | string |
None. |
Body Parameters
CashCollectionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CashAccountID | integer |
None. |
|
| CashTransferIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CashAccountID": 1,
"CashTransferIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<CashCollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<CashAccountID>1</CashAccountID>
<CashTransferIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</CashTransferIDs>
</CashCollectionRequest>
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.