GetPreferencesModifiedSinceDate

Gets all the preferences that have been modified since a given date

This method returns an array of all preferences and preference categories that have been modified since a given date.

If no preferences or preference categories have been modified, an empty array is returned, otherwise an array, containing an ordered tree structure of preferences and preference categories is returned.

SOAP action: http://apiconnector.com/v2/ApiService/GetPreferencesModifiedSinceDate

📘

Input and output parameters

Input parameters

  • StartDate - required; dateTime

Output parameters

  • GetPreferencesResult - array of Preferences
    • Preference or Preference category
      • ID - integer
      • PublicName - string
      • PrivateName - string
      • IsPreference - boolean
      • Order - integer
      • IsPublic - boolean
      • CategoryID - integer or string ('top' or 'bottom')
      • PreferenceCount - integer
      • Created - DateTime
      • LastModified - DateTime

Example

using (var client = new ApiServiceClient())
{
  client.ClientCredentials.UserName.UserName = "username";
  client.ClientCredentials.UserName.Password = "password";

  var startDate = new DateTime(2018, 1, 1);
  var result = client.GetPreferencesModifiedSinceDate(startDate);
}