Get Employers for a given Parent Employer.
Returns an Authenticated Employer List containing a list of all the employers who have the given employer as the parent employer. This is a list of immediate children of the employer.
Each Employer is represented by a TEmpl. The collection of Employers is represented by a List of TEmpl.
A token is passed for authentication. If the authentication fails, or other errors occur, no employers are returned. The result of the authentication is represented by a TAuthenticate object.
An Employer Identifier is passed as a parameter. Valid Employer Identifiers are string representations of integers which match employers in the database.
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 a list of employers attached to the parent employer with the specified ID")] public TAuthEmplList GetEmployersForParentEmployer(string sToken, string sEmpl_Identifier);
Parameters |
Description |
string sToken |
String Token. |
string sEmpl_Identifier |
String Employer Identifier. |
TAuthEmplList : an authenticated list of Employers.
Copyright (c) VETtrak 2022. All rights reserved.
|