Request to retrieve a user.
SuBject | URL |
WSDL | |
End Point URL | |
Operation | GetUser |
The following input parameters are available in the request.
Parameter | Mandatory | Description |
SessionID | Y | SessionID returned by the Login Request. |
UserId | Y | The UserId of the user 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"> <soapenv:Header> <ns:SessionId>string</ns:SessionId> </soapenv:Header> <soapenv:Body> <ns:GetUserRequest> <!-Optional:-> <ns:UserId>int</ns:UserId> </ns:GetUserRequest> </soapenv:Body> </soapenv:Envelope>
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <ActivityId CorrelationId="ddbdefe8-0479-425e-8606-48f386c74359" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">da734bec-03a7-4e02-9507-149aa4cfa043</ActivityId> </s:Header> <s:Body> <GetUserResponse xmlns="http://www.saxobank.com/service/cms/2013/08"> <User xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CounterpartId>int</CounterpartId> <UserId>int</UserId> <Login>string</Login> <Name>string</Name> <Tin>string</Tin> <Password>string</Password> <Active>bool</Active> <AccessProfile>int</AccessProfile> <LockedOut>bool</LockedOut> <NationalTins> <Country>string</Country> <Tin>string</Tin> </NationalTins> <Nationality>string</Nationality> </User> </GetUserResponse> </s:Body> </s:Envelope>
Code Examples
Code example 40: GetUser 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:GetUserRequest> <ns:UserId>6602952</ns:UserId> </ns:GetUserRequest> </soapenv:Body> </soapenv:Envelope>
Code example 41: GetUser Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <ActivityId CorrelationId="ddbdefe8-0479-425e-8606-48f386c74359" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">da734bec-03a7-4e02-9507-149aa4cfa043</ActivityId> </s:Header> <s:Body> <GetUserResponse xmlns="http://www.saxobank.com/service/cms/2013/08"> <User xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CounterpartId>6602952</CounterpartId> <UserId>6602952</UserId> <Login>6602952</Login> <Name>6602952</Name> <Tin i:nil="true"/> <Password i:nil="true"/> <Active>true</Active> <AccessProfile>171</AccessProfile> <LockedOut>false</LockedOut> <NationalTins i:nil="true"/> <Nationality>DK</Nationality> </User> </GetUserResponse> </s:Body> </s:Envelope>