Updates an existing client relationship.
[WebMethod(Description = "Updates a relationship for a client")] public TAuthenticate UpdateClientRelationship(string token, TClieRelationship clieRelationship);
|
Parameters |
Description |
|
string token |
String containing an authentication token. |
|
TClieRelationship clieRelationship |
TClieRelationship containing the client relationship details to update. |
TAuthenticate indicating the result.
The clieRelationship parameter is a TClieRelationship containing updated details of the relationship. Properties are:
The optional ToClient property is a TRelationshipToClient object with the following properties, that can be specified if you wish to update the "to" client:
Note this function cannot create a new client for the "to" client. If you want to update the "to" client to a new client, create the client first using a function such as AddClient, then call this function and specify the new client's client code as the ToClient.ClientCode
A token is passed for authentication. 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.
|