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

Get the Web Employers for an Occurrence. 

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

Each Web Employer is represented by a TWeco. The collection of Web Employees is represented by a List of TWeco

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 Employers 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 employers enrolled in all web enrolments against the specified occurrence ID")]
public TAuthWecoList GetWebEmployersForOccurrence(string sToken, int iOccu_ID);
Parameters 
Description 
string sToken 
String containing a token. 
int iOccu_ID 
Integer ID of Web Occurrence. 

TAuthWecoList : an authenticated list of all Web Companies for the Occurrence.

Copyright (c) VETtrak 2022. All rights reserved.