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

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.

C#
[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) OzSoft Solutions 2016. All rights reserved.