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

Update a configuration setting.

C#
[WebMethod(Description = "Updates a configuration setting")]
public TAuthenticate UpdateConfig(string token, string configName, string configValue);
Parameters 
Description 
string token 
String containing an authentication token. 
string configName 
String name of config setting to set. Note this is case-sensitive. 
string configValue 
String new value of config setting to set it to. 

TAuthenticate : an Authenticate Object containing the result of the update.

Specify the name of a configuration setting and the new value for that configuration setting. Note that these are case-sensitive. 

A token is passed for authentication. If the authentication fails, or other errors occur, the config setting is not updated. The result of the authentication 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.

Copyright (c) VETtrak 2022. All rights reserved.