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

Get the Staff Type List. 

This is a listing of all of the Staff Type items. A staff member may be assigned to an enrolment or contract as a staff type, and a staff member may have multiple staff types directly assigned to them. 

Each Staff Type item is represented by a TStaffType. The collection of Staff Type items is represented by a List of TStaffType

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

This function has security level "Unrestricted", and can be accessed by any authenticated user.

C#
[WebMethod(Description = "Gets a list of all staff types")]
public TAuthStaffTypeList GetStaffTypes(string token);
Parameters 
Description 
string token 
String containing a token. 

TAuthStaffTypeList : an Authenticated list of all Staff Type items.

Copyright (c) VETtrak 2022. All rights reserved.