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

Deletes a 'Loose' Employer. Will fail if the employer is in use by a web client or invoice. 

A Web Employer ID (webEmployerId) is passed as a parameter. This should be the ID returned by the AddLooseWebEmployer function. 

Requires a valid registration key entry for the Short Courses feature. 

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 = "Deletes a 'Loose' employer with the specified ID")]
public TAuthenticate DeleteLooseWebEmployer(string token, int webEmployerId);
Parameters 
Description 
string token 
String Token. 
int webEmployerId 
Identifier for the web employer to delete. 

TAuthenticate : an Authenticate Object containing the result of the deletion. The StatusMessage property of the result advises details of records deleted, or of any errors.

Copyright (c) VETtrak 2022. All rights reserved.