Update Group
The Update Group
operation updates the data of the group with the specified ID. The data is defined in the input XML expected by the adapter.
Input XML
<?xml version="1.0" encoding="UTF-8"?>
<Group>
<Id></Id>
<Name></Name>
<Attributes>
<Attribute>
<Name></Name>
<Values>
<Value></Value>
</Values>
</Attribute>
</Attributes>
</Group>
Group
Element | Description | Possible values |
---|---|---|
Group | Group definition | The element contains the following elements:
|
Id | UUID of the group | UUID |
Name | Name of the group | Any string |
Attributes | Personalized, configurable attributes | The element contains the following elements:
|
Attributes
Element | Description | |
---|---|---|
Attributes | Personalized, configurable attributes | The element contains the following elements:
|
Attribute | Personalized, configurable attribute | The element contains the following elements:
|
Name | Attribute name | Any string |
Values | Attribute values | The element contains the following elements:
|
Value | Attribute value | Any string |
XSD
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="Group">
<xs:complexType>
<xs:sequence>
<xs:element ref="Id"/>
<xs:element ref="Name"/>
<xs:element ref="Path"/>
<xs:element ref="Attributes"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Id" type="xs:string"/>
<xs:element name="Path" type="xs:string"/>
<xs:element name="Attributes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="Attribute"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Attribute">
<xs:complexType>
<xs:sequence>
<xs:element ref="Name"/>
<xs:element ref="Values"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="Value"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Value" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
</xs:schema>
Example
Input
<?xml version="1.0" encoding="UTF-8"?>
<Group>
<Id>e8863a97-771d-4c34-90e8-4698d06928a5</Id>
<Name>Customer</Name>
<Path>/Customer</Path>
<Attributes>
<Attribute>
<Name>Company</Name>
<Values>
<Value>SoftProject</Value>
</Values>
</Attribute>
</Attributes>
</Group>