ASP.NET VETtrak API web services
VT_API.GetEventsForEmployer Method

Get the Event List for an Employer. 

This is a listing of all Events for the Employer which start within a date range. 

A date range is passed as two parameters, xsdStart and xsdEnd, which define the end points of the date range. These are DateTime objects where the time component is significant. They must be populated with sensible dates (Start > End), otherwise, an input error results. 

Each Employer Event item is represented by a TEven. The collection of Employer Event items is represented by a List of TEven

A token is passed for authentication. If the authentication fails, or other errors occur, no event items are returned. The result of the authentication is represented by a TAuthenticate object. 

Requires a valid registration key entry for the Event Management feature.

[WebMethod(Description = "Gets a list of events for the employer with the specified ID in a date range")]
public TAuthEvenList GetEventsForEmployer(string sToken, string sEmpl_Identifier, DateTime xsdStart, DateTime xsdEnd);
string sToken 
String Token. 
string sEmpl_Identifier 
String Employer Identifier. 
DateTime xsdStart 
DateTime, start of date range in which to find Events. 
DateTime xsdEnd 
DateTime, end of date range in which to find Events. 

TAuthEvenList : an authenticated list of all Event items for the Employer.

Copyright (c) OzSoft Solutions 2016. All rights reserved.