BlueLMSWS


Click here for a complete list of operations.

EnrollUserIntoDemoCourses

Enroll user into the demo courses of the client which the user belongs to. The demo courses of which the user is already enrolled into are ignored.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userID:

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 /IsophBlueWS/IsophBlueWS.asmx HTTP/1.1
Host: blue.isoph.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://blue.isoph.com/EnrollUserIntoDemoCourses"

<?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>
    <EnrollUserIntoDemoCourses xmlns="http://blue.isoph.com">
      <userID>int</userID>
    </EnrollUserIntoDemoCourses>
  </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>
    <EnrollUserIntoDemoCoursesResponse xmlns="http://blue.isoph.com">
      <EnrollUserIntoDemoCoursesResult>
        <errorCode>int</errorCode>
        <errorDescription>string</errorDescription>
        <exceptionType>string</exceptionType>
      </EnrollUserIntoDemoCoursesResult>
    </EnrollUserIntoDemoCoursesResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /IsophBlueWS/IsophBlueWS.asmx/EnrollUserIntoDemoCourses?userID=string HTTP/1.1
Host: blue.isoph.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Result xmlns="http://blue.isoph.com">
  <errorCode>int</errorCode>
  <errorDescription>string</errorDescription>
  <exceptionType>string</exceptionType>
</Result>