Client Management Systems API

Request to change a counterpart user's password (WLC's end client password).


The following parameters are available in the request.

Parameter

Mandatory

Description

SessionID

Y

SessionID returned by the Login Request

userID

Y

UserId of the WLC's Client

userLogin

N

Username of the WLC's Client

newPassword

Y

New Password that for the user

expireImmediately

C

"true" = first time password, user will have to change password at first attempt to login into the platform.
"false"= the user will not need to change password after first login.

NewPasswordIsEncrypted

N

"true" = if the newPassword is being sent encrypted.
"false"= if the newPassword is not being sent encrypted. This field can be left out if the new Password is not encrypted.
For more information on the password encryption process please consult Appendix 8.1

EncryptionInfo

C

If PasswordIsEncrypted is true this section has to be filled, if the PasswordIsEncrypted is "false", this section is not read by the system, and can be left out.
See 4.4.1.1 .
For more information on the password encryption process please consult Appendix 8.1

EncryptionInfo Object

Parameter

Mandatory

Description

RSAKeySequenceNumber

Y

Id that Saxo will pass to the WLC and that will identify the WLC's RSA config inside Saxo's systems.
It will be unique for the pair[WLC, PublicKey]

AESKey

N

The encryption key that the WLC uses to AES encrypt the password is also passed to Saxo, and is public-key encrypted.
This field should only be used if the Password is AES Encrypted and not RSA encrypted.

For more information on the password encryption process please consult Appendix 8.1

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:ChangeUserPasswordRequest>
 <!-Optional:->
 <ns:EncryptionInfo>
 <!-Optional:->
 <ns:RSAKeySequenceNumber>int</ns:RSAKeySequenceNumber>
 <!-Optional:->
 <ns:AESKey>string</ns:AESKey>
 </ns:EncryptionInfo>
       <!-Optional:->
       <ns:ExpireImmediately>bool</ns:ExpireImmediately>
       <!-Optional:->
       <ns:NewPassword>string</ns:NewPassword>
 <!-Optional:->
 <ns:NewPasswordIsEncrypted>boolean</ns:NewPasswordIsEncrypted>
       <!-Optional:->
       <ns:UserId>int</ns:UserId>
       <!-Optional:->
       <ns:UserLogin>string</ns:UserLogin>
     </ns:ChangeUserPasswordRequest>
   </soapenv:Body>
 </soapenv:Envelope>


 Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="d2edfc98-8c0d-42ce-b96d-c1b83a0a2218" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">0327564c-ba3f-411d-95cb-29d57d2e2cdb</ActivityId>
   </s:Header>
   <s:Body/>
 </s:Envelope>

Code Examples


Code example 8: ChangeUserPassword 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>J8XLVeW4DLT3TLowpYFGTh81V81/3Ufgs8clS4i/eIo=</ns:SessionId>
   </soapenv:Header>
   <soapenv:Body>
     <ns:ChangeUserPasswordRequest>
       <ns:ExpireImmediately>true</ns:ExpireImmediately>
       <ns:NewPassword>Jil!490Gt</ns:NewPassword>
       <ns:UserId>6453030</ns:UserId>
      <ns:UserLogin>6453030</ns:UserLogin>
     </ns:ChangeUserPasswordRequest>
   </soapenv:Body>
 </soapenv:Envelope> 


Code example 9: ChangeUserPassword Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="d2edfc98-8c0d-42ce-b96d-c1b83a0a2218" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">0327564c-ba3f-411d-95cb-29d57d2e2cdb</ActivityId>
   </s:Header>
   <s:Body/>
 </s:Envelope>