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

Get the Web Employees for an Employer Web Enrolment. 

This is a listing of all Web Employees who are linked to a particular Employer Web Enrolment. 

Each Web Employee is represented by a TWecl. The collection of Web Employees is represented by a List of TWecl

A web enrolment ID (iWebe_ID) is passed as a parameter. iWebe_ID must specify an Employer Web Enrolment. 

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 employees enrolled in an employer web enrolments with the specified web enrolment ID")]
public TAuthWeclList GetWebEmployeesForEmployerEnrolment(string sToken, int iWebe_ID);
Parameters 
Description 
string sToken 
String containing a token. 
int iWebe_ID 
Integer ID of Employer Web Enrolment. 

TAuthWeclList : an authenticated list of all Web Clients (containing web employees) for the Employer Enrolment.

Copyright (c) VETtrak 2022. All rights reserved.