Client Management Systems API

Request to retrieve amount available for securities trading on an account.


The following input parameters are available in the request.

Parameter

Mandatory

Description

SessionID

Y

SessionID returned by the Login Request

AccountNumber

Y

AccountNumber of the account to retrieve the information from.

SOAP 1.2 Definition

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
     <ns:SessionId>string</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:GetAvailableAmountForSecuritiesTradingRequest>
       <!-Optional:->
       <ns:AccountNumber>string</ns:AccountNumber>
     </ns:GetAvailableAmountForSecuritiesTradingRequest>
   </soapenv:Body>
 </soapenv:Envelope>


Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="479f2be2-2b3c-4c95-8ba2-1e90833a3233" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">4a253af9-52a7-4117-8be3-21b2a6ac2848</ActivityId>
   </s:Header>
   <s:Body>
     <GetAvailableAmountForSecuritiesTradingResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <Amount>decimal</Amount>
       <Currency>string</Currency>
     </GetAvailableAmountForSecuritiesTradingResponse>
   </s:Body>
 </s:Envelope>

Code Examples

Code example 24: GetAvailableAmountForSecuritiesTrading Request

Error rendering macro 'code': Invalid value specified for parameter 'com.atlassian.confluence.ext.code.render.InvalidValueException'
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
     <ns:SessionId>QAs01NW22ajBAsjFZTGM</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:GetAvailableAmountForSecuritiesTradingRequest>
       <ns:AccountNumber>33930/Test125</ns:AccountNumber>
     </ns:GetAvailableAmountForSecuritiesTradingRequest>
   </soapenv:Body>
 </soapenv:Envelope>


Code example 25: GetAvailableAmountForSecuritiesTrading Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="479f2be2-2b3c-4c95-8ba2-1e90833a3233" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">4a253af9-52a7-4117-8be3-21b2a6ac2848</ActivityId>
   </s:Header>
   <s:Body>
     <GetAvailableAmountForSecuritiesTradingResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <Amount>0</Amount>
       <Currency>USD</Currency>
     </GetAvailableAmountForSecuritiesTradingResponse>
   </s:Body>
 </s:Envelope>