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

Get Contracts for a Client. 

Returns an Authenticated Contract List containing all of the contracts for a given client. 

Each Contract is represented by a TCont. The collection of Contracts is represented by a List of TCont

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

Requires a valid registration key entry for the Trainee Management 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 a list of contracts for the client with the specified code")]
public TAuthContList GetContractsForClient(string sToken, string sClie_Code);
Parameters 
Description 
string sToken 
String Token. 
string sClie_Code 
String containing the Client Code of the Client. 

TAuthContList : an Authenticated List of Contracts.

Copyright (c) VETtrak 2022. All rights reserved.