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

Remove a contact from an employer. This does not delete the client, it removes the link between the client and the employer, so the client is no longer a contact for the employer. 

A token is passed for authentication. If the authentication fails, or other errors occur, the contact is not removed. The result of the authentication and update 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.

C#
[WebMethod(Description = "Removes a contact from an employer")]
public TAuthenticate RemoveContactFromEmployer(string token, string clientCode, string employerIdentifier);
Parameters 
Description 
string token 
String Token. 
string clientCode 
String - Identifier for Client to remove as a contact for the employer. Maximum length 10 characters. 
string employerIdentifier 
Identifier of Employer to remove the contact from. 

TAuthenticate : a TAuthenticate Object containing the result of the update.

Copyright (c) VETtrak 2022. All rights reserved.