Description
Return an array of user data.
Output is a list of user profile characteristics.
In case of error, error number (<faultcode>) and error description (<faultstring>) are returned.
For a list of fault codes, see XML Faults.
Interface
<InterfaceName> |
SWGetCCUserData |
Name of interface |
<sessionid> |
Id |
Id of active session |
Parameters
<InterfaceName> |
Name |
Name of interface |
<ccuser> |
User |
Name of user - unique identifier |
<sessionId> |
Id |
Id of active session |
Return Values
<success> |
Description |
Success description |
<Name> <Company> <WPhone> <email> <Address> |
name Company name Phone number Address |
Profile name of user being queried Company name of user Work phone number of user email of user Address of user |
<Address1> <Address2> <City> <Zip> <RegionCode> <Region> <CountryCode> |
Additional address line Additional address line City Zip code Region abbreviation code Region name Country abbreviation code |
Additional address of user Additional address of user City name of user Zip code of user Region abbreviation code of user Region name of user Country abbreviation code of user |
Fault Values
<faultcode> |
ErrorNumber |
Error code |
Remarks
REQUEST to http://www.3dpublisher.net/swservice/3dpublishingservice.asp
Sample Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <InterfaceName>SWGETCCUSERDATA</InterfaceName> <ccuser>pname</ccuser> <SessionId>2044352766-382976</SessionId> </SOAP-ENV:Header> <SOAP-ENV:Body> <InterfaceParameters> </InterfaceParameters> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Sample Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <InterfaceName>SWGETCCUSERDATA</InterfaceName> <interfacename>SWGETCCUSERDATA</interfacename> </SOAP-ENV:Header> <SOAP-ENV:Body> <SessionId>2044352766-382976</SessionId> <sessionid>2044352766-382976</sessionid> <ReturnDataMode></ReturnDataMode> <returndatamode></returndatamode> <returnVal> </returnVal> <returnval> <ccprofiledata><ccprofiles xmlns:ps="http://206.34.34.250/TWUserAccess/"><ccuser> <NAME>P Name</NAME> <ID>187086</ID> <COMPANY>SolidWorks Corporation (Internal Access)</COMPANY> <WPHONE>9783185000</WPHONE> <email>pname@solidworks.com</email> <ADDRESS>300 Baker Avenue</ADDRESS> <ADDRESS1>2nd Floor</ADDRESS1> <ADDRESS2>Suite 500</ADDRESS2> <CITY>Chennai </CITY> <ZIP>01742</ZIP> <REGIONCODE>MA </REGIONCODE> <REGION>Massachusetts</REGION> <COUNTRYCODE>US </COUNTRYCODE><COUNTRY>United States</COUNTRY> <SUBID>102078</SUBID> </ccuser></ccprofiles></ccprofiledata></returnval> <success>Success Description</success> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |