eventCollectorGetAllAttributes

This request returns a list of all event collector attributes.

Also see eventCollectorGetAttributes to return event collector attributes for a specified component.

Syntax

com.tibco.wcc.base.Requests.eventCollectorGetAllAttributes(requestId);

Parameters

Returns

Returns an <ap:AttributeDefinition> element for each attribute returned. Each <ap:AttributeDefinition> element contains the following elements:

  • <ap:Id> - The ID of the attribute.
  • <ap:Name> - The name of the attribute.
  • <ap:Category> - The category in which the attribute was placed when it was defined.
  • <ap:Type> - The type of data stored in the attribute.
  • <ap:IsPrimary> - Indicates whether or not the attribute is in the primary Events table. For internal use.
  • <ap:ComponentId> - The ID of the component in which the attribute was defined. (Components can write to attributes defined in their own component, as well as attributes defined in components higher in the component hierarchical structure.)
  • <ap:IsSortable> - true = the attribute is sortable; false = the attribute is not sortable.
  • <ap:IsFilterable> - true = the attribute is filterable; false = the attribute is not filterable.

For example:

<ap:Requests>
  <ap:EventCollectorGetAllAttributes Id="ApiSample.eventCollectorGetAllAttributes">
    <ap:AttributeDefinitions Id="ApiSample.eventCollectorGetAllAttributes">
      <ap:AttributeDefinition>
        <ap:Id>1</ap:Id>
        <ap:Name>messageId</ap:Name>
        <ap:Category>message</ap:Category>
        <ap:Type>STRING</ap:Type>
        <ap:IsPrimary>true</ap:IsPrimary>
        <ap:ComponentId>1</ap:ComponentId>
        <ap:IsSortable>true</ap:IsSortable>
        <ap:IsFilterable>true</ap:IsFilterable>
      </ap:AttributeDefinition>
               .
               .
               .
    </ap:AttributeDefinitions>
  </ap:EventCollectorGetAllAttributes>
</ap:Requests>