ASP.NET VETtrak API web services
VT_API.UpdateClientAdditionalFields Method

Updates various additional data fields for a client.

[WebMethod(Description = "Updates additional fields for a client")]
public TAuthenticate UpdateClientAdditionalFields(string token, string clientCode, string additionalFieldData);
string token 
String containing a token. 
string clientCode 
String of the client code to update the additional fields for. Maximum length 10 characters. 
string additionalFieldData 
XML string to update the additional fields from. 

TAuthenticate indicating whether the update was successful

This function can be used to update a range of additional data fields on an existing client. 

The clientCode parameter must be the code of an existing client to update the data for. 

The additionalFieldData parameter must be a valid XML string in the format: 


    <fieldname>fieldvalue</fieldname> ... etc


The available fieldnames are those that are valid for the Client entity. Use the GetAdditionalDataFieldsForEntity function with an entityName of "Client" to get a list of fields that are valid to use for this function, or refer to the additional data documentation at 

Please ensure that you use standard XML entities if you wish to use special XML characters in any field value - for example, instead of <, > or &, use &lt;, &gt; or &amp;, respectively. 

A token is passed for authentication. If the authentication fails, or other errors occur, the custom data field is not updated. The result of the authentication is represented by a TAuthenticate object.

Copyright (c) OzSoft Solutions 2016. All rights reserved.