Get a list of ancestors for an employer. This is effectively the path to the employer through the employer tree.
Specify the identifier of an employer to get the ancestors for. Returns a list of employers, each one represented by a TEmpl object. The employers are in order from the top-most employer down to the specified employer. Note that the specified division is also included in the return value as the last division in the list.
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 "Protected", and can only be accessed by users that have explicitly been granted permission to the API.
[WebMethod(Description = "Gets the ancestors of an employer by ID")] public TAuthEmplList GetEmployerAncestors(string token, string employerIdentifier);
Parameters |
Description |
string token |
String containing a token. |
string employerIdentifier |
String identifier of employer to retrieve ancestors for. |
TAuthEmplList : an Authenticated list of ancestor Employers.
Copyright (c) VETtrak 2022. All rights reserved.
|