(in development) CreateDepositCashOrder 2.0

Allocation specs

Only allowed to have one of the:

  • InstrumentId

  • AllocationProfileId

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.

Inputs (Array of DepositCashOrders) inherits from EntityBase

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

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

  • Manual

  • OneOffAdmission

True



TransferReceiverId

Guid

Only allows TransferReceiverType of:

  • TransferReceiverTypeDirectBankDomestic

  • TransferReceiverTypeDirectBankForeign

  • TransferReceiverTypeBicIban

  • NorwegianBankAccount





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



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

Name

Type

Description



GUID



Code examples

 

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>



 

Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved