Client Management Systems API

Request to update information on an account.


The following input parameters are available in the request.

Parameter

Mandatory

Description

SessionID

Y

SessionID returned by the Login Request

Account

Y

See Section 4.4.2.1 for details.
When updating, the AccountNumber must be specified. Apart from the AccountNumber, any parameter not to update can be left blank, so only updated values are provided.

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" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header>
     <ns:SessionId>string</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:UpdateAccountRequest>
       <!-Optional:->
       <ns:Account>
         <!-Optional:->
         <ns:CounterpartId>int</ns:CounterpartId>
         <ns:AccountNumber>string</ns:AccountNumber>
         <!-Optional:->
         <ns:Description>string</ns:Description>
        <!-Optional:->
         <ns:Currency>string</ns:Currency>
         <!-Optional:->
         <ns:InternalAccountNumber>string</ns:InternalAccountNumber>
         <!-Optional:->
         <ns:CommissionGroupId>int</ns:CommissionGroupId>
         <!-Optional:->
         <ns:Iban>string</ns:Iban>
         <!-Optional:->
         <ns:AccountRiskProfileId>int</ns:AccountRiskProfileId>
         <!-Optional:->
         <ns:Active>bool</ns:Active>
         <!-Optional:->
         <ns:InterestProfileId>int</ns:InterestProfileId>
         <!-Optional:->
         <ns:CfdInterestProfileId>int</ns:CfdInterestProfileId>
         <!-Optional:->
         <ns:TradableInstrumentIds>
           <!-Zero or more repetitions:->
           <arr:int>int</arr:int>
         </ns:TradableInstrumentIds>
         <!-Optional:->
         <ns:VPAccount>
           <ns:AccountNumber>string</ns:AccountNumber>
           <!-Optional:->
           <ns:CdIdentNumber>string</ns:CdIdentNumber>
           <!-Optional:->
           <ns:RegisterToName>bool</ns:RegisterToName>
           <!-Optional:->
           <ns:DividendTaxStatusId>int</ns:DividendTaxStatusId>
         </ns:VPAccount>
         <!-Optional:->
         <ns:MaxCreditLine>decimal</ns:MaxCreditLine>
         <!-Optional:->
         <ns:WealthManagementEnabled>bool</ns:WealthManagementEnabled>
 <ns:MoneyManagerFeeProfileId>int</ns:MoneyManagerFeeProfileId>
 <ns:CfdFinanceProfileId>int</ns:CfdFinanceProfileId>
 <ns:AccountGroupIds>
 <arr:int>int</arr:int>
 </ns:AccountGroupIds>
       </ns:Account>
     </ns:UpdateAccountRequest>
   </soapenv:Body>
 </soapenv:Envelope>


Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="79b00861-7d42-4c64-83aa-5c001a6736df" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">7494d157-54ac-4d48-8797-816acda8b59d</ActivityId>
   </s:Header>
   <s:Body/>
 </s:Envelope>

Code Examples

Code example 48: UpdateAccount Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header>
     <ns:SessionId>QAs01NW22ajBAsjFZTGM</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:UpdateAccountRequest>
       <ns:Account>
         <ns:AccountNumber>33930/7891123457</ns:AccountNumber>
         <ns:Description>An updated description</ns:Description>
       </ns:Account>
     </ns:UpdateAccountRequest>
   </soapenv:Body>
 </soapenv:Envelope>


Code example 49: UpdateAccount Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="79b00861-7d42-4c64-83aa-5c001a6736df" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">7494d157-54ac-4d48-8797-816acda8b59d</ActivityId>
   </s:Header>
   <s:Body/>
 </s:Envelope>