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

Get the List of available Web Programme Types. 

This is a listing of all of the Programme Type items, for which there is a web occurrence with 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 Programme Type item is represented by a TPrgt. The collection of Programme Type items is represented by a List of TPrgt

A token is passed for authentication. If the authentication fails, or other errors occur, no programme types 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 programme types with a web-enabled occurrence that has available places")]
public TAuthPrgtList GetWebProgrammeTypes(string sToken);
Parameters 
Description 
string sToken 
String containing a token. 

TAuthPrgtList : an Authenticated list of Programme Type items.

Copyright (c) VETtrak 2022. All rights reserved.