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

Gets a list of relationship type definitions.

C#
[WebMethod(Description = "Gets a list of relationship types")]
public TAuthRelationshipTypeList GetRelationshipTypes(string token);
Parameters 
Description 
string token 
String containing an authentication token. 

TAuthRelationshipTypeList containing a list of relationship type definitions.

Each relationship type is represented in a TRelationshipType object. The list of relationship types is in the returned TAuthRelationshipTypeList object. 

A token is passed for authentication. If the authentication fails, or other errors occur, an empty list is 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.

Copyright (c) VETtrak 2022. All rights reserved.