title: bloomberg API - Field Search Request
body: <p>How to make use of “category” according to “A.3.4 Field Search Request” of developers guide? The Bloomberglp.Blpapi.dll is from blpapi_dotnet_3.4.8.1., development by C# .net.</p>
  
  <p>I used the following code in order to get the information but it does not work.</p>
  
  <pre><code>        Service refDataSvc = session.GetService("//blp/refdata");
          Request request = refDataSvc.CreateRequest("ReferenceDataRequest");
          request.Append("securities", "/isin/CNE1000002Q2 HK"); 
          Element element = request.GetElement("include");
          element.SetElement("productType", "Equity");
          element.SetElement("fieldType", "Static");
          Element element1 = element.GetElement("category");
          element1.AppendValue("Ratings");
          element1.AppendValue("Analysis");
          element1.AppendValue("Corporate Actions");
          session.SendRequest(request, null);
  </code></pre>
  
  <p>I also tried other ways</p>
  
  <p>a)</p>
  
  <pre><code>        Service refDataService = session.GetService("//blp/refdata");
          Request request = refDataService.CreateRequest("ReferenceDataRequest");
          Element securities = request.GetElement("securities");
          securities.AppendValue("IBM US Equity");
          Element fields = request.GetElement("fields");
          fields.AppendValue("PX_LAST");
          Element element1 = fields.GetElement("category");
          element1.AppendValue("Corporate Actions");
          session.SendRequest(request, null);
  </code></pre>
  
  <p>b)</p>
  
  <pre><code>        Service refDataService = session.GetService("//blp/refdata");
          Request request = refDataService.CreateRequest("ReferenceDataRequest");
          Element securities = request.GetElement("securities");
          securities.AppendValue("IBM US Equity");
          Element element1 = request.GetElement("category");
          element1.AppendValue("Corporate Actions");
          session.SendRequest(request, null);
  </code></pre>
  
  <p>Both are not successful.
  Could anyone advise me on this?</p>