Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

Data Warehouse API C# program issue with client.DataWarehouseRequest

Avatar

Level 1

Hi,

I tried to send my data warehouse request using C# program below attached, but I got an error "the name client does not exist ... ".

Does anyone have an idea what may cause this problem? Is it because I missed to include any Omniture DW API C# references? If so, what it should be?

Thanks for your help!

------------------------------------------------------------------------------------------

/* Send the Data Warehouse request */
  int reportID = client.DataWarehouseRequest(
  breakdown_List, /* Breakdown List */
  "<your contact name>", /* Contact Name */
  "<your contact phone number>", /* Contact Phone */
  "01/01/11", /* Date From */
  "day", /* Date Granularity */
  "", /* Date Preset */
  "01/18/11", /* Date To */
  "range", /* Date Type */
  "DW API test (subject) Did not use ftp host", /* Email Subject */
  "<your email address here>", /* Email To */
  "", /* FTP Dir */
  "send_via_api", /* FTP Host */
  "", /* Contact Phone */
  22, /* FTP Port */
  "", /* FTP Username */
  "jjesquire_dw_report", /* File Name */
  metric_List, /* Metric List */
  "DW API JJEsquire (description)", /* Report Desc */
  "DW API JJEsquire (name)", /* Report Name */
  segment_id[0].id, /* Segment Id */
  "<your report suite ID here>" jjesquire_dw_report );

1 Reply

Avatar

Employee Advisor

Did you use the example exactly as it appears, or did you replace each field with your own value? In order to properly troubleshoot the request, we will want to see the exact request you used.