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

Get the List of Enrolments for an Occurrence or Booking. 

This is a listing of all Client and Employee Occurrence Enrolments which are linked to a particular Occurrence. The list does not include cancelled enrolments. 

Each Enrolment is represented by a TClieEnro. The collection of Enrolments is represented by a List of TClieEnro

A token is passed for authentication. If the authentication fails, or other errors occur, no enrolments 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 client enrolments in the occurrence with the specified ID")]
public TAuthClieEnroList GetEnrolmentsForOccurrence(string sToken, int iID);
Parameters 
Description 
string sToken 
String containing a token. 
int iID 
Integer containing the ID of the Occurrence or Booking. 

TAuthClieEnroList : an authenticated list of Client Enrolments.

Copyright (c) VETtrak 2022. All rights reserved.