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

Modify XML code from API explorer

Avatar

Avatar
Give Back
Level 2
kasper_rasmusse
Level 2

Likes

7 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile

Avatar
Give Back
Level 2
kasper_rasmusse
Level 2

Likes

7 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile
kasper_rasmusse
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

Avatar

Avatar
Level 1
sultand94328235
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
sultand94328235
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
sultand94328235
Level 1

12-05-2019

thanks