Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 14
Next »
| | | Mandatory | Available from version |
---|
BrickIds | Guid[] | Filter by array of BrickIds. BrickId is the internal id of a trade order. |
|
|
States | String[] | Filter by array of states. A subscription order has the following states: |
|
|
OrderNos | String[] | Filter by array of OrderNos |
|
|
Response rows (Array)
| | | |
---|
BrickId | Guid | The BrickId of the trade order |
|
CreatedDate | DateTime | The date when the subscription order was created |
|
LimitPrice | Decimal | The limit price of the subscription order |
|
OverrideCommissionAmount | Bool | True if the default commission amount should be overriden |
|
CommissionAmount | Decimal | If the OverrideCommissionAmount is true this value must be provided |
|
CashAmount | Decimal | The amount in cash |
|
InstrumentAmount | Decimal | The amount in units |
|
OrderNo | String | The order number of the trade order |
|
OrderTypeKey | String | The type of the order |
|
InstrumentId | Guid | The associated Instrument brickid |
|
CashId | Guid | The associated Cash brickid |
|
AccountId | Guid | The associated AccountID brickid |
|
IsUnitOrder | Bool | True if the order is traded in units |
|
ExecutionInterfaceId | Guid | The BrickId of the execution interface |
|
State | String | The current state of the subscription order. A subscription order has the following states: |
|
LastPaymentDate | DateTime | The last payment date for the subscription |
|
LegalEntityId | Guid | The associated LegalEntity brickid |
|
IsDVP | Bool | If the settlement process is DVP or not |
|
TransferReceiverId | Guid | The associated TransferReceiver brickid |
|
DispalayPercentagePrice | Bool | If price is in persentage of MinimumLotSize |
|
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetSubscriptionOrders xmlns="http://tempuri.org/">
<req>
<Credentials>
<UserName>yourusername</UserName>
<Password>yourpassword</Password>
</Credentials>
<identify>youridentifier</identify>
<Args>
<OrderNos>
<string>2508</string>
</OrderNos>
</Args>
<Fields>
<BrickId>true</BrickId>
<CreatedDate>true</CreatedDate>
<LimitPrice>true</LimitPrice>
<OverrideCommissionAmount>true</OverrideCommissionAmount>
<CommissionAmount>true</CommissionAmount>
<CashAmount>true</CashAmount>
<InstrumentAmount>true</InstrumentAmount>
<OrderNo>true</OrderNo>
<OrderTypeKey>true</OrderTypeKey>
<InstrumentId>true</InstrumentId>
<CashId>true</CashId>
<AccountId>true</AccountId>
<IsUnitOrder>true</IsUnitOrder>
<ExecutionInterfaceId>true</ExecutionInterfaceId>
<State>true</State>
<LastPaymentDate>true</LastPaymentDate>
<LegalEntityId>true</LegalEntityId>
<IsDVP>true</IsDVP>
<TransferReceiverId>true</TransferReceiverId>
</Fields>
</req>
</GetSubscriptionOrders>
</s:Body>
</s:Envelope>
Code examples
var client = new bfsapiSoapClient();
var request = new GetSubscriptionOrderRequest
{
identify = bfsidentifier,
Credentials = new Credentials
{
UserName = bfsudername,
Password = bfspassword,
},
Args = new GetSubscriptionOrderArgs
{
OrderNos = new[] {"1234"}
},
Fields = new GetSubscriptionOrderFields
{
AccountId = true,
ExecutionInterfaceId = true,
BrickId = true,
CashAmount = true,
CashId = true,
CommissionAmount = true,
InstrumentAmount = true,
InstrumentId = true,
IsUnitOrder = true,
LastPaymentDate = true,
LimitPrice = true,
OrderNo = true,
OrderTypeKey = true,
OverrideCommissionAmount = true,
State = true,
CreatedDate = true,
LegalEntityId = true,
IsDVP = true,
TransferReceiverId = true
}
};
var response = client.GetSubscriptionOrders(request);