Loading...

Online Enrolment GetCourses Web Service / Deep Link

The Online Enrolment Web Services are designed to allow you to show published Courses within your website. There are a number of filter options to help group Published Courses by Location, Program or Date.

DISCLAIMER

It is the customer’s responsibility to keep the authentication details including the “key” value secure from malicious use. Wisenet will not be responsible for any damage caused by misuse of the web services.

GETCOURSES Web Service

The GetCourses web service allows a Training Provider to automatically display published Wisenet Courses on their website. The GetCourses web service returns all courses that are marked as ‘Publish to Web’ in Wisenet.

All the details that are shown for a course in the Online Enrolment application are available through the web service.

Deep Link

The web service also returns two hyperlink fields that allows the end user to skip the Online Enrolment search process. Instead you can provide an “Apply Now” button. This would then take the interested Learner directly to the start of the Application Process for the selected Course.  These links are also available from within Wisenet itself.

Here is how to obtain the links from Wisenet:

  1. Navigate to LRM > Sales > Online Enrolment
  2. Select to view Published Offers by clicking on Published Offers – Here you will see the list of courses you are offering in Online Enrolment
  3. At the end of the course name you will see 3 icons. Click the middle icon. This will open a pop-up window that shows two hyperlinks
    • The first will take you to the course description within Online Enrolment
    • The second will take you to the first step of the enrolment wizard
  4. Copy the desired link and put it in your website

Note: To ensure that your prospective students don’t see other published courses, please switch on the Private Course Mode setting in your portal settings. This will hide all Course Search functionality so that all published courses are private. Access to courses will be available only via direct links.

Web Service Result

The GetCourses web service provides the same search capability as the course search section in the Online Enrolment interface. The available filter options are:

  • Location
  • Program
  • Date

The web service will then return data based on this filtering. It is returned as XML and you can choose which fields you choose to display in your website.

<?xml version="1.0" ?>
<courses>
<course>
<CourseID>2S146</CourseID>
<OfferCode>CPPDSM4001A</OfferCode>
<Name>ACT AS A BUYER&#39;S AGENT</Name>
<Description></Description>
<Location>Sydney</Location>
<Fees>200.00</Fees>
<Concessions>100.00</Concessions>
<StartDate>01/01/2010</StartDate>
<StartTime></StartTime>
<EndDate>31/12/2011</EndDate>
<EndTime></EndTime>
<DetailURL>https://wiseweb2.mywisenet.com.au/wiseweb/login.aspx?key=key&CourseID=2S146</DetailURL>
<EnrolURL>https://wiseweb2.mywisenet.com.au/wiseweb/login.aspx?key=key&CourseID=2S146&Enrol=True</EnrolURL>
</course>
<course>
<CourseID>2S147</CourseID>
<OfferCode>BSBEBUS508A</OfferCode>
<Name>BUILD A VIRTUAL COMMUNITY</Name>
<Description></Description>
<Location>Melbourne</Location>
<Fees>300.00</Fees>
<Concessions>200.00</Concessions>
<StartDate>01/07/2010</StartDate>
<StartTime></StartTime>
<EndDate>01/07/2011</EndDate>
<EndTime></EndTime>
<DetailURL>https://wiseweb2.mywisenet.com.au/wiseweb/login.aspx?key=key&CourseID=2S147</DetailURL>
<EnrolURL>https://wiseweb2.mywisenet.com.au/wiseweb/login.aspx?key=key&CourseID=2S147&Enrol=True</EnrolURL>
</course>
</courses>
How to Access Web Services

The web service can only be accessed using a specific url. This requires specific parameters to be added for the url to work.

Web Service URL: https://lrm.wisenet.co/pub/online-enrolment-links.ashx?key=[encryptedKey]&location=[courseLocation]&program=[programName]&dateType=[dateType]&criteria=[criteria]

Parameters:

Example Usage

This is a technical example of how the web service can be used.

Use Case

Return all Published Courses that:

  • Location = Melbourne
  • Program = Hospitality
  • Date = This Year

Note: Key is not supplied in this example.

https://lrm.wisenet.co/pub/online-enrolment-links.ashx?key=[encryptedKey]&location=melbourne&program=hospitality&dateType=5

USAGE: The .NET below is the syntax required to run the Wisenet GetCourses Web Service.

    Private Sub GetCoursesTest()
        Dim request As System.Net.HttpWebRequest
        Dim URI As New Uri("https://lrm.wisenet.co/pub/online-enrolment-links.ashx?key=[key]&location=melbourne&program=hospitality")

        ' create a HttpWebRequest
        request = DirectCast(System.Net.HttpWebRequest.Create(URI), System.Net.HttpWebRequest)
        ' If response has content, print out to console screen
        If request.GetResponse().ContentLength > 0 Then
            Dim sr As New System.IO.StreamReader(request.GetResponse().GetResponseStream())
            Dim responseString As String = sr.ReadToEnd()
            Console.WriteLine(responseString)
            Console.ReadKey()
        End If
    End Sub
Related Articles

Online Enrolment

Was this Resource helpful?