List Profiles
  • 29 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

List Profiles

  • Dark
    Light
  • PDF

Article summary

/profiles returns a list of profiles. Parent-Child profiles are not supported.

Method: GET

URI: /profiles/

Note: Add any optional parameters to the end of the URI. If you change the order of URI or required parameters, or place optional parameters before them, the call will not work.

Version number

The version number you will use is dependant upon the version of Analytics you have installed. Analytics versions 9.5 and below, use v2_0. Analytics versions 9.5.1 and above will use v2_1.

Example Request
https://myDomain.com/{version}/ReportService/profiles/?format=xml

Example Response

<?xml version="1.0" encoding="utf-8" ?> 
- <list>
  - <ProfileDefinition>
      <string name="ID">BMAJ0muwkO5</string> 
      <string name="name">Sample: Streaming Media (RealServer)</string> 
      <decimal name="AccountID">1</decimal> 
  </ProfileDefinition>
- <ProfileDefinition>
      <string name="ID">K729vc8Qqj5</string> 
      <string name="name">Sample: Zedesco</string> 
      <decimal name="AccountID">1</decimal> 
  </ProfileDefinition>
- <ProfileDefinition>
      <string name="ID">NMQqidaSuf5</string> 
      <string name="name">Sample: Zedesco (with SDC files)</string> 
      <decimal name="AccountID">1</decimal> 
  </ProfileDefinition>
- <ProfileDefinition>
      <string name="ID">Nd57xzsv3o5</string> 
      <string name="name">Sample: Zedesco with logs</string> 
      <decimal name="AccountID">1</decimal> 
    </ProfileDefinition>
  </list>

Parameters:

Format

format = return data format
Example: specifying data formats

Data formatParameter and value
JSONformat=json
XMLformat=xml
XML2 ("XPath-friendly" XML for dynamic applications)format=xml2

For report data requests, all formats are supported. For "list" requests, only XML and JSON formats are supported.

Suppress error codes

Set the suppress_error_codes parameter to true if you do not want to be notified of error conditions for a request (the default is false).

suppress_error_codes = {true|false}
Example: Suppress errors for a request
suppress_error_codes=true


Was this article helpful?

What's Next