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

Get the Attendance details for a Client in a Training Class. 

Returns an Authenticated Attendance containing the details of the matching Attendance. 

The Attendance is represented by a TAtte

An Instance ID (iInst_ID) and client code (sClie_Code) are passed as parameters. iInst_ID must specify a valid training class, and sClie_Code to a valid client, otherwise, no Attendance is returned. 

A token is passed for authentication. If the authentication fails, or other errors occur, no Attendance is 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 "Restricted". Users that have explicitly been granted permission to the API can use it with any parameters, otherwise, the logged-in client can only access their own data.

C#
[WebMethod(Description = "Gets the attendance details for a client in a class (instance)")]
public TAuthAtte GetAttendanceForClientClass(string sToken, string sClie_Code, int iInst_ID);
Parameters 
Description 
string sToken 
String containing a token. 
string sClie_Code 
String containing the Client code of the Student. 
int iInst_ID 
Integer ID of the training Class. 

TAuthAtte : an Authenticated Attendance.

Copyright (c) VETtrak 2022. All rights reserved.