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

Get the List of available Web Programmes for a Programme Type. 

This is a listing of all of the Programmes of a given Programme Type, for which there is a web occurrence having 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. 

A Programme Type Name is passed as a parameter: sPrgt_Name. See GetProgrammeTypeList for a listing of all Programme Types. 

Each Programme item is represented by a TProg. The collection of Programme items is represented by a List of TProg

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 programmes of the specified programme type with a web-enabled occurrence that has available places")]
public TAuthProgList GetWebProgrammesForProgType(string sToken, string sPrgt_Name);
Parameters 
Description 
string sToken 
String containing a token. 
string sPrgt_Name 
String, name of Programme Type. 

TAuthProgList : an Authenticated list of Programme items.

Copyright (c) VETtrak 2022. All rights reserved.