Get the details of a single unit by unit code.
Specify the code of a unit to get the details for. The unit details are returned in a TUnit object.
A token is passed for authentication. If the authentication fails, or other errors occur, the employers are not 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 details of a single unit by code")] public TAuthUnit GetUnitDetails(string token, string unitCode);
Parameters |
Description |
string token |
String containing a token. |
string unitCode |
String code of unit to get details for. Maximum length 12 characters. |
TAuthUnit : an Authenticated unit.
Copyright (c) VETtrak 2022. All rights reserved.
|