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

Get a single division by ID. 

Specify the integer ID of a division to retrieve. The Division is returned in a TDivision object. 

A token is passed for authentication. If the authentication fails, or other errors occur, the division is not 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 single division by ID")]
public TAuthDivision GetDivision(string token, int divisionId);
Parameters 
Description 
string token 
String containing a token. 
int divisionId 
Integer ID of division to retrieve. 

TAuthDivision : an Authenticated Division object.

Copyright (c) VETtrak 2022. All rights reserved.