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

Get the Web Employees for an Occurrence. 

This is a listing of all Web Employees who are linked to Web Employers who have made an Employer Web Enrolment in a particular Occurrence. 

Each Web Employee is represented by a TWecl. The collection of Web Employees 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 Bookings 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 employees enrolled in all employer web enrolments against the specified occurrence ID")]
public TAuthWeclList GetWebEmployeesForOccurrence(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 (containing web employees) for the Occurrence.

Copyright (c) VETtrak 2022. All rights reserved.