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

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

Modify XML code from API explorer

Avatar

Level 2

13-06-2013

Using the API explorer in order to retrieve a list of available elements can be long and tiresome. The API explorer can be found at https://developer.omniture.com/en_US/get-started/api-explorer

 

The API requires a Username and Shared secret obtained from the Omniture interface. Then one should select the following:

     API: ReportSuite

     Method: GetAvailableElements

     Environment: Select appropriate according to the RS

 

Using SOAP, the following XML code is generated (skipping the headers):

 

 

   

     

     

   

 

 

In many situations, however, this will not work, resulting in various error responses.

 

A fix is to update the generated XML, so the result is somehow similar to the following code. Here the properties 'ns1:', 'xsi_nil="true"' and 'xsi:type="ns1:string_array"' are omitted, and the tag's <return_datawarehouse_elements> and <rsid_list> are updated with content.

 

 

   

     

        1

     

     

        **INSERT RS NAME**

     

   

 

 

This should give the correct result and can be used as breakdowns in a DW request

1 Comment