getVersion
The getVersion method returns the version of the current implementation of the Unica Interact runtime server.
function callGetVersion(commandsToExecute, callback) {
InteractAPI.getVersion(callback);
}
Best practice is to use this method when you initialize the touchpoint with the Unica Interact API.
- callback - If the method was successful, the callback function calls onSuccess. If the method failed, the callback function calls onError.
Return value
The runtime server responds to the getVersion with a Response object with the following attributes populated:
- AdvisoryMessages
- ApiVersion
- OfferList
- Profile
- SessionID
- StatusCode