Client Management Systems API

Request to retrieve data items, such as currencies.


The following input parameters are available in the request.

Parameter

Mandatory

Description

SessionID

Y

SessionID returned by the Login Request

OwnerId

N

The OwnerId to retrieve the data available for.

Types

Y

An array of strings.
Lists which types to retrieve.

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:GetDataItemTypesRequest>
       <!-Optional:->
       <ns:OwnerId>int</ns:OwnerId>
       <!-Optional:->
       <ns:Types>
         <!-Zero or more repetitions:->
         <arr:string>string</arr:string>
       </ns:Types>
     </ns:GetDataItemTypesRequest>
   </soapenv:Body>
 </soapenv:Envelope>


 Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="9a821f08-df6d-49cb-85cb-298d7d335f02" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">2c1ec28a-73c5-4251-822a-7aa057f0bbbc</ActivityId>
   </s:Header>
   <s:Body>
     <GetDataItemTypesResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <DataItemsTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
         <DataItemType>
           <DataItems>
             <DataItem>
               <Value>string</Value>
               <Description>string</Description>
             </DataItem>
           </DataItems>
           <Type>string</Type>
         </DataItemType>
       </DataItemsTypes>
     </GetDataItemTypesResponse>
   </s:Body>
 </s:Envelope>

Code Examples

Code example 26: GetDataItemTypes 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:GetDataItemTypesRequest>
       <ns:Types>
         <arr:string>Currencies</arr:string>        
       </ns:Types>
     </ns:GetDataItemTypesRequest>
   </soapenv:Body>
</soapenv:Envelope> 


 Code example 27: GetDataItemTypes Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <ActivityId CorrelationId="9a821f08-df6d-49cb-85cb-298d7d335f02" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">2c1ec28a-73c5-4251-822a-7aa057f0bbbc</ActivityId>
   </s:Header>
   <s:Body>
     <GetDataItemTypesResponse xmlns="http://www.saxobank.com/service/cms/2013/08">
       <DataItemsTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
         <DataItemType>
           <DataItems>
             <DataItem>
               <Value>SGD</Value>
               <Description>SGD</Description>
             </DataItem>
             <DataItem>
               <Value>USD</Value>
               <Description>USD</Description>
             </DataItem>
           </DataItems>
           <Type>Currencies</Type>
         </DataItemType>
       </DataItemsTypes>
     </GetDataItemTypesResponse>
   </s:Body>
 </s:Envelope>