SOAP API - getAllAttributes

The table summarizes the SOAP API - getAllAttributes.

Request Uses the getAllAttributesRequest element (from the EventCollectorQueryService schema)
Parameter notes
  • getAttributeOptions: (optional) Specifies whether optional data is required. If blank, this defaults to not returning any optional data; this is the same behavior as in earlier versions of TIBCO ActiveMatrix BPM.
  • requiredExtendedData: (optional) Within getAttributeOptions you can specify one of the following values for RequiredExtendedData:
    • requireAllExtendedData: If true, return all the available extended data for the attributes.
    • requiredExtendedData: returns one or more specific items of extended data. This can take the following values:

      IS_SORTABLE - returns whether each attribute is sortable

      IS_FILTERABLE - returns whether each attribute is filterable

Response Returns a getAllAttributesResponse element (from the EventCollectorQueryService schema)
Parameter notes The response includes:
  • isPrimarytrue if the attribute is in the primary events table, false if not. For internal use.

    If you request extended data, the response may include the following for events in the primary events table:

  • isSortabletrue if the attribute is sortable, false if not.
  • isFilterabletrue if the attribute is filterable, false if not.
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.ec.n2.tibco.com" xmlns:base="http://base.api.ec.n2.tibco.com">
   <soapenv:Header/>
   <soapenv:Body>
      <api:getAllAttributesRequest>
         <base:GetAttributeOptions>
            <requiredExtendedData>
            <requiredExtendedData>IS_FILTERABLE</requiredExtendedData>
            </requiredExtendedData>
         </base:GetAttributeOptions>
      </api:getAllAttributesRequest>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <getAllAttributesResponse xmlns="http://api.ec.n2.tibco.com">
         <AttributeDefinition xmlns="http://base.api.ec.n2.tibco.com">
            <category xmlns="">message</category>
            <componentId xmlns="">1</componentId>
            <id xmlns="">1</id>
            <isPrimary xmlns="">true</isPrimary>
            <name xmlns="">messageId</name>
            <type xmlns="">STRING</type>
            <isFilterable xmlns="">true</isFilterable>
         </AttributeDefinition>
         <AttributeDefinition xmlns="http://base.api.ec.n2.tibco.com">
            <category xmlns="">environment</category>
            <componentId xmlns="">1</componentId>
            <id xmlns="">2</id>
            <isPrimary xmlns="">false</isPrimary>
            <name xmlns="">environmentName</name>
            <type xmlns="">STRING</type>
            <isFilterable xmlns="">true</isFilterable>
         </AttributeDefinition>
                   .
                   .
                   .
      </getAllAttributesResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>