Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Data Warehouse API C# program issue with client.DataWarehouseRequest

dongh10794790
Level 1
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
Gigazelle
Employee
Employee

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.