You can use the Configuration Web Service to create and list attribute groups, obtain detailed information on each group, and also import and export them.
Each of these operations requires specifying configTransaction as the top-level element, followed by one of the group operations.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.endeca.com/MDEX/config/services/types/2/0" xmlns:ns1="http://www.endeca.com/MDEX/config/XQuery/2009/09"> <soapenv:Header/> <soapenv:Body> <ns:configTransaction> <ns:putGroups> <ns1:group key="Ratings" displayName="Ratings"> <mdex-property_Key>PriceRange</mdex-property_Key> <mdex-property_Key>ReviewScore</mdex-property_Key> <mdex-property_Key>Designation</mdex-property_Key> </ns1:group> </ns:putGroups> </ns:configTransaction> </soapenv:Body> </soapenv:Envelope>This group includes three attributes.
To create an attribute group in the Endeca data domain:
<soapenv:Body> <config-types:results xmlns:config-types="http://www.endeca.com/MDEX/config/services/types/2/0"/> </soapenv:Body>
<ns:configTransaction> xmlns:ns="http://www.endeca.com/MDEX/config/services/types/1/0" xmlns:ns1="http://www.endeca.com/MDEX/config/XQuery/2009/09"> <ns:listGroups/> </ns:configTransaction>
The response should include a Ratings group.