CreateDepositCashOrders 2.0
Replaces CreateDepositCashOrder(Old)
Inputs (Array of DepositCashOrder) inherits from EntityBase
Name | Type | Description | Mandatory | Comment | Available from version |
---|---|---|---|---|---|
AccountId | Guid | Id of Account for the order | True | Â | |
CashAmount | decimal | Amount in the Currency Account's base currency | True | Â | |
PaymentServiceType | String |
| True | Â | |
TransferReceiverId | Guid | Only allows TransferReceiverType of:
| True | Â | |
Comment | String | Comment on the order | False | Â | |
InstrumentId | Guid | If specified, an order for the instrument will be created when the external transfer cash order is executed. | False | Only allowed to have one of the:
if it has more than one of them, it will return error. If it has none of these, no trade orders will be created and the cash will stay at the Account. | |
AllocationProfileId | Guid | If specified, the orders for the allocation profile will be created when the external transfer cash order is executed. | False |
Outputs
Name | Type | Description |
---|---|---|
GUID |
Code examples
Â
Blog Posts
-
How to manage cash deposits from an external system
created by
Apr 14, 2016
XML request example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://tempuri.org/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/">
<soap:Body>
<CreateDepositCashOrders xmlns="http://tempuri.org/">
<req>
<Credentials>
<UserName>{{username}}</UserName>
<Password>{{password}}</Password>
</Credentials>
<identify>{{identify}}</identify>
<Entities>
<DepositCashOrder>
<CashAmount>20000</CashAmount>
<AccountId>bd80c079-15fd-49d3-993e-673d4507813e</AccountId>
<TransferReceiverId>7f51ece8-5d25-4310-a8eb-8055ef9ee36d</TransferReceiverId>
<Comment>test</Comment>
<PaymentServiceType>OneOffAdmission</PaymentServiceType>
<AllocationProfileId></AllocationProfileId>
<InstrumentId></InstrumentId>
</DepositCashOrder>
</Entities>
</req>
</CreateDepositCashOrders>
</soap:Body>
</soap:Envelope>
Â
Related pages
Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved