CreateSwitchOrders
Inputs (Array of SwitchOrders) inherits from EntityBase
Name | Type | Description | Mandatory | Available from version |
|---|---|---|---|---|
Account | Guid | Id of account where the allocation order should be created | true | 2.32 |
AllocationItems | AllocationItem[] | List of AllocationItem. The list must contain at least one item, instruments that will be bought. | true | 2.32 |
SellOrders | SellOrder[] | List of SellOrder. The list must contain at least one item, instruments that will be sold. | true | 2.32 |
Comment | string | If you want comment text linked to the object |
| 2.32 |
Reseller | Guid | The id of reseller that you want to connect to the switch order |
| 2.32 |
ExternalReference | string | An external reference to the order |
| 2.32 |
DecisionMakerWithinFirm | Guid | The id of the person that represents the decision maker within firm |
| 2.34 |
DecisionMakers | Guid[] | The id of the persons that represents the decision makers |
| 2.34 |
ExchangeAlgorithm | ExchangeAlgorithmEnum? | The exchange algorithm that should be used if currency exchange orders should be produced by the switch order |
| 2.34 |
Outputs
Name | Type | Description | Available from version |
|---|---|---|---|
Entities | Array | All switch orders in the request is returned along with each allocation orders BrickId, and array of Errors per allocation order | 2.32 |
Code example