Used to get an encryptedToken to make calls to the web service function. A new encryptedToken needs to be obtained prior to any call to the web service.

Returns – A RequestResponse containing the encryptedToken string in the ReturnValue property.  The encryptedToken will be an encrypted value of your token. This will be sent with almost every call to the web service regarding user handling and session creation. (See RequestResponse in Appendix B)


Name type Description
encryptedAPIKey string Required. API Key.
salt string Required. Any combination of text and numbers
used to encrypt the API Key.

Example – C#

[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]ServiceAPIClient ws = new ServiceAPIClient();

string salt = “Z1s6aXNQpjQ75wRX1ulI551sR1uHyg3YsOcPLeL9TaM”;
RequestResponse requestResponse;
string encryptedKey = string.Empty;
string encryptedToken = string.Empty;

requestResponse = ws.EncryptString(“plainText”, salt);
encryptedKey = requestResponse.ReturnValue;

requestResponse = ws.GetToken(encryptedKey, salt);
encryptedToken = requestResponse.ReturnValue;