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

Get a list of clients that are assigned to a division. 

Specify the integer ID of a division. Can also optionally specify a sinceDate, so that only clients added or modified since the specified date are returned. 

This function returns a list of clients that are assigned directly to the division. Each client is represented by a TClie object. 

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

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 clients that are assigned to a division")]
public TAuthClieList GetClientsForDivision(string token, int divisionId, DateTime? sinceDate);
Parameters 
Description 
string token 
String containing a token. 
int divisionId 
Integer division ID to retrieve assigned clients for. 
DateTime? sinceDate 
Optional DateTime. If specified, only clients added or modified since this date are returned. 

TAuthClieList : an Authenticated list of Client items.

Copyright (c) VETtrak 2022. All rights reserved.