ASP.NET VETtrak API web services
ContentsIndexHome
PreviousUpNext
TSMSRecipient Class

Specifies an SMS Message to send. This is the code of the client to send the SMS message to, and/or the mobile phone number to use. 

The behaviour will depend on which properties are set:

  • ClientCode set and MobilePhone not set: The SMS will be sent to the mobile phone number set for the client in VETtrak, and sent SMS history will be recorded against the client in VETtrak. If the client does not have a mobile number in VETtrak, the message will not be sent and the resulting TSMSResult Status will be -1. If the client code cannot be found in VETtrak, the message will not be sent and the resulting TSMSResult Status will be -2.
  • ClientCode not set and MobilePhone set: The SMS will be sent to the specified mobile phone number. No sent SMS history will be recorded in VETtrak.
  • ClientCode set and MobilePhone set: The SMS will be sent to specified mobile phone number (not the mobile phone number set for the client in VETtrak), and sent SMS history will be recorded against the client in VETtrak. If the client code cannot be found in VETtrak, the message will not be sent and the resulting TSMSResult Status will be -2.
  • ClientCode not set and MobilePhone not set: No SMS message will be sent and the resulting TSMSResult Status will be -1.

C#
[Serializable]
public class TSMSRecipient;
Copyright (c) VETtrak 2022. All rights reserved.