public string FindCategoryList(int? categoryId, string keyword, string callback)
{
string param = string.Empty;
if (categoryId == null && keyword == string.Empty)
categoryId = 0;
if (categoryId != null)
param = "?categoryId=" + categoryId.ToString();
if (!string.IsNullOrEmpty(keyword))
{
if (param != string.Empty)
param += "&keyword=" + keyword;
else
param = "?keyword=" + keyword;
}
param += (!string.IsNullOrEmpty(callback)) ? "&callback=" + callback : string.Empty;
param += (!string.IsNullOrEmpty(this.sourceId)) ? "&sourceId=" + this.sourceId : string.Empty;
param += this.isJson;
string url = string.Format("http://{0}.buscape.com/service/{1}/{2}/{3}/{4}", this.server, Services.findCategoryList, this.applicationId, this.countryCode, param);
return this.GetContent(url);
}