elapi
Click here for a complete list of operations.
UpdateUser2
DEPRECATED - Update a user account including permissions.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/elapi.asmx HTTP/1.1
Host: training.reliaslearning.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "WebServices/elapi.asmx/UpdateUser2"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateUser2 xmlns="WebServices/elapi.asmx">
<authorizationID>string</authorizationID>
<passcode>string</passcode>
<organizationId>int</organizationId>
<studentId>string</studentId>
<globalUniqueId>string</globalUniqueId>
<firstName>string</firstName>
<lastName>string</lastName>
<userName>string</userName>
<password>string</password>
<email>string</email>
<HierarchyID>string</HierarchyID>
<HireDate>string</HireDate>
<studentProfileId>string</studentProfileId>
<organization>string</organization>
<jobTitle>string</jobTitle>
<department>string</department>
<phone>string</phone>
<fax>string</fax>
<address>string</address>
<address2>string</address2>
<city>string</city>
<state>string</state>
<country>string</country>
<zip>string</zip>
<comments>string</comments>
<clientDrive>string</clientDrive>
<nickname>string</nickname>
<photoIcon>string</photoIcon>
<cellPhone>string</cellPhone>
<blogUniformResourceLocator>string</blogUniformResourceLocator>
<userResume>string</userResume>
<resumeAttach>string</resumeAttach>
<education>string</education>
<experience>string</experience>
<reflections>string</reflections>
<languagePreference>string</languagePreference>
<Active>string</Active>
<location>string</location>
<udf1>string</udf1>
<udf2>string</udf2>
<udf3>string</udf3>
<manager>int</manager>
<instructor>int</instructor>
<student>int</student>
<supervisor>int</supervisor>
</UpdateUser2>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateUser2Response xmlns="WebServices/elapi.asmx">
<UpdateUser2Result>int</UpdateUser2Result>
</UpdateUser2Response>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/elapi.asmx HTTP/1.1
Host: training.reliaslearning.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateUser2 xmlns="WebServices/elapi.asmx">
<authorizationID>string</authorizationID>
<passcode>string</passcode>
<organizationId>int</organizationId>
<studentId>string</studentId>
<globalUniqueId>string</globalUniqueId>
<firstName>string</firstName>
<lastName>string</lastName>
<userName>string</userName>
<password>string</password>
<email>string</email>
<HierarchyID>string</HierarchyID>
<HireDate>string</HireDate>
<studentProfileId>string</studentProfileId>
<organization>string</organization>
<jobTitle>string</jobTitle>
<department>string</department>
<phone>string</phone>
<fax>string</fax>
<address>string</address>
<address2>string</address2>
<city>string</city>
<state>string</state>
<country>string</country>
<zip>string</zip>
<comments>string</comments>
<clientDrive>string</clientDrive>
<nickname>string</nickname>
<photoIcon>string</photoIcon>
<cellPhone>string</cellPhone>
<blogUniformResourceLocator>string</blogUniformResourceLocator>
<userResume>string</userResume>
<resumeAttach>string</resumeAttach>
<education>string</education>
<experience>string</experience>
<reflections>string</reflections>
<languagePreference>string</languagePreference>
<Active>string</Active>
<location>string</location>
<udf1>string</udf1>
<udf2>string</udf2>
<udf3>string</udf3>
<manager>int</manager>
<instructor>int</instructor>
<student>int</student>
<supervisor>int</supervisor>
</UpdateUser2>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateUser2Response xmlns="WebServices/elapi.asmx">
<UpdateUser2Result>int</UpdateUser2Result>
</UpdateUser2Response>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webservices/elapi.asmx/UpdateUser2?authorizationID=string&passcode=string&organizationId=string&studentId=string&globalUniqueId=string&firstName=string&lastName=string&userName=string&password=string&email=string&HierarchyID=string&HireDate=string&studentProfileId=string&organization=string&jobTitle=string&department=string&phone=string&fax=string&address=string&address2=string&city=string&state=string&country=string&zip=string&comments=string&clientDrive=string&nickname=string&photoIcon=string&cellPhone=string&blogUniformResourceLocator=string&userResume=string&resumeAttach=string&education=string&experience=string&reflections=string&languagePreference=string&Active=string&location=string&udf1=string&udf2=string&udf3=string&manager=string&instructor=string&student=string&supervisor=string HTTP/1.1 Host: training.reliaslearning.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="WebServices/elapi.asmx">int</int>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/elapi.asmx/UpdateUser2 HTTP/1.1 Host: training.reliaslearning.com Content-Type: application/x-www-form-urlencoded Content-Length: length authorizationID=string&passcode=string&organizationId=string&studentId=string&globalUniqueId=string&firstName=string&lastName=string&userName=string&password=string&email=string&HierarchyID=string&HireDate=string&studentProfileId=string&organization=string&jobTitle=string&department=string&phone=string&fax=string&address=string&address2=string&city=string&state=string&country=string&zip=string&comments=string&clientDrive=string&nickname=string&photoIcon=string&cellPhone=string&blogUniformResourceLocator=string&userResume=string&resumeAttach=string&education=string&experience=string&reflections=string&languagePreference=string&Active=string&location=string&udf1=string&udf2=string&udf3=string&manager=string&instructor=string&student=string&supervisor=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="WebServices/elapi.asmx">int</int>