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

Get non-contract Enrolments for a Client. 

Returns an Authenticated Enrolment List containing all of the non-contract enrolments for a given client. 

Each Enrolment is represented by a TClieEnro. The collection of Enrolments is represented by a List of TClieEnro

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

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 a list of non-contract enrolments for the client with the specified code")]
public TAuthClieEnroList GetEnrolmentsForClient(string sToken, string sClie_Code);
Parameters 
Description 
string sToken 
String Token. 
string sClie_Code 
String containing the Client Code of the Client. 

TAuthClieEnroList : an Authenticated List of Client non-contract Enrolments.

Copyright (c) VETtrak 2022. All rights reserved.