API Endpoint: Root

The Wisenet API root endpoint is the ‘homepage’ of the Wisenet API.

Ideally, from this API call, you should be able to reach all other API endpoints and all resources by simply following the hypertext links provided in each following response.

Supported Methods: GET

List all Endpoints


Returns the list of all accessible endpoints.

Sample request:

 curl -X GET \
   -H 'Accept: application/vnd.mywisenet.api.v1+xml' \

Sample response:

  <ApiRoot xmlns="http://api.mywisenet.com.au/v1/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <Title>API Root</Title>
        <Title>All Course Offers</Title>
        <Title>All Students</Title>
        <Title>All Unit Offers</Title>

C# Code Sample

public static void GetCourseOffersSample()
    var request = HttpWebRequest.Create("https://tst-api.wisenet.co/") as HttpWebRequest;
    request.Accept = "application/vnd.mywisenet.api.v1+xml";
    request.Method = "GET";
    request.UserAgent = "C# Sample Client";
        // Get response  
        using (var response = request.GetResponse() as HttpWebResponse)
            // Get the response stream  
            using (var responseReader = new StreamReader(response.GetResponseStream()))
                string responseBody = responseReader.ReadToEnd();
                // Console application output  
    catch (WebException ex)
        Console.WriteLine("Error: {0}", ex.Message);

Was this Resource helpful?