Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<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">
    <CreateTradeOrders xmlns="http://tempuri.org/">
      <req>
        <Credentials>
          <UserName>yourusername</UserName>
          <Password>yourpassword</Password>
        </Credentials>
        <identify>youridentifier</identify>
        <Entities>
          <TradeOrder>
            <BrickId>00000000-0000-0000-0000-000000000000</BrickId>
            <TradeOrderDirectionKey>Buy</TradeOrderDirectionKey>
            <Account>9b07cfc6-7374-4e34-95e8-1d50d091cf67</Account>
            <Instrument>e9044d53-778a-4522-a0b5-399eb01429ac</Instrument>
            <Cash xsi:nil="true" />
            <CashCurrencyCode>SEK</CashCurrencyCode>
            <InstrumentAmount>10</InstrumentAmount>
            <CashAmount xsi:nil="true" />
            <CommissionAmount>0</CommissionAmount>
            <OverrideCommissionAmount>false</OverrideCommissionAmount>
            <IsUnitOrder>true</IsUnitOrder>
            <LimitPrice>0</LimitPrice>
            <ExternalReference>Testing2</ExternalReference>
			<OrderSettlementType>PAYMENT</OrderSettlementType>
			<BusinessEventId>00000000-0000-0000-0000-000000000000</BusinessEventId>
          </TradeOrder>
        </Entities>
      </req>
    </CreateTradeOrders>
  </s:Body>
</s:Envelope>

...