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
BedrockMission!

Learn More

View all

Sign in to view all badges

Data Warehouse API C# program issue with client.DataWarehouseRequest

Avatar

Avatar
Level 1
dongh10794790
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
dongh10794790
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
dongh10794790
Level 1

11-10-2017

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 );

Replies

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

18-12-2017

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.