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

Get a list of waitlistable Programmes of a particular type. 

This is an authenticated listing of active Programmes that are of the specified programme type and are allowed to have a waitlist. 

A Programme Type Name is passed as a parameter: programmeTypeName. See GetWaitlistProgrammeTypes for a listing of all Programme Types that contain waitlistable programmes. Get the name from a TPrgt from the Prgt_Name property. 

Each Programme is represented by a TProg. The collection of Programmes 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 "Unrestricted", and can be accessed by any authenticated user.

C#
[WebMethod(Description = "Gets a list of waitlistable programmes of a particular programme type")]
public TAuthProgList GetWaitlistProgrammesForType(string token, string programmeTypeName);
Parameters 
Description 
string token 
String containing a token. 
string programmeTypeName 
String containing the name of the programme type. 

TAuthProgList : an Authenticated list of Programmes.

Copyright (c) VETtrak 2022. All rights reserved.