Get the list of state-based details for a unit or module.
Data such as hours, points and amounts can vary for the same unit or module between different Australian states. This function gets a list of all these details for one unit or module for each state.
Each Unit State detail is represented by a TUnitState. The collection of Unit State details is represented by a List of TUnitState.
A token is passed for authentication. If the authentication fails, or other errors occur, no unit states 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.
[WebMethod(Description = "Gets the state-based details for a unit or module")] public TAuthUnitStateList GetUnitStateDetails(string token, string unitCode);
| 
Parameters  | 
Description  | 
| 
string token  | 
String containing a token.  | 
| 
string unitCode  | 
String of the unit or module code to get details for.  | 
TAuthUnitStateList : an Authenticated list of all Unit State details.
| 
Copyright (c) VETtrak 2022. All rights reserved. |