ASP.NET VETtrak API web services
ContentsIndexHome
PreviousUpNext
VT_API.GetWebOccurrences Method

Get the List of available Web Occurrences. 

This is a listing of all of the Occurrences, which have available places. 

Web occurrence means an occurrence which is published on the web. 

Available places means that the number of students enroled is less than the maximum number allowed for the occurrence. 

Each Occurrence item is represented by a TOccu. The collection of Occurrence items is represented by a List of TOccu

A token is passed for authentication. If the authentication fails, or other errors occur, no programmes are returned. The result of the authentication is represented by a TAuthenticate object. 

Requires a valid registration key entry for the Short Courses feature. 

This function has security level "Protected", and can only be accessed by users that have explicitly been granted permission to the API.

C#
[WebMethod(Description = "Gets a list of all web-enabled occurrences that have available places")]
public TAuthOccuList GetWebOccurrences(string sToken);
Parameters 
Description 
string sToken 
String containing a token. 

TAuthOccuList : an authenticated list of Occurrences.

Copyright (c) VETtrak 2022. All rights reserved.