/// <summary> /// Gets a list of web properties based on the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>SocialHttpResponse</code> representing the response.</returns> /// <returns></returns> public SocialHttpResponse GetWebProperties(AnalyticsWebPropertiesOptions options) { // Some input validation if (options == null) throw new ArgumentNullException("options"); // Construct the URL string url = String.Format( "{0}accounts/" + options.AccountId + "/webproperties", ManagementUrl, options.AccountId ); return Client.DoAuthenticatedGetRequest(url, options); }
/// <summary> /// Gets a list of web properties based on the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> public AnalyticsWebPropertiesResponse GetWebProperties(AnalyticsWebPropertiesOptions options) { if (options == null) throw new ArgumentNullException("options"); return AnalyticsWebPropertiesResponse.ParseResponse(Raw.GetWebProperties(options)); }