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

Delete a Web Waitlist. 

A Web Waitlist ID (webWaitlistId) is passed as a parameter. This should be the ID returned by the AddClientWebWaitlist function used to create the web waitlist. 

Successful execution of this function removes applicatable records from the WEBWAITLIST, WEBCLIENT, WEBCLIENTAVETMISS, WCAVDISA and WCAVPRED tables. 

A token is passed for authentication. If the authentication fails, or other errors occur, nothing is deleted. The result of the authentication is represented by a TAuthenticate object. 

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, or users with access to the "API Functions" feature in the VETtrak application.

C#
[WebMethod(Description = "Deletes the web waitlist with the specified ID")]
public TAuthenticate DeleteClientWebWaitlist(string token, int webWaitlistId);
Parameters 
Description 
string token 
String containing a token. 
int webWaitlistId 
Integer ID of Web Waitlist. 

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.