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

Get the Web Clients for an Occurrence. 

This is a listing of all Web Clients who have made a Client Web Enrolment in a particular Occurrence. 

Each Web Client is represented by a TWecl. The collection of Web Clients is represented by a List of TWecl

An Occurrence ID (iOccu_ID) is passed as a parameter. iOccu_ID must specify a web occurrence (a published Occurrence). 

A token is passed for authentication. If the authentication fails, or other errors occur, Web Clients 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 web clients enrolled in all web enrolments against the specified occurrence ID")]
public TAuthWeclList GetWebClientsForOccurrence(string sToken, int iOccu_ID);
Parameters 
Description 
string sToken 
String containing a token. 
int iOccu_ID 
Integer ID of Web Occurrence. 

TAuthWeclList : an authenticated list of all Web Clients for the Occurrence.

Copyright (c) VETtrak 2022. All rights reserved.