This article explains the required syntax for submitting multi-value attributes using the Task Execution Web Service (TEWS) SOAP interface in Identity Manager. To set multiple values for an attribute, you must use the pipe (|) character as a delimiter.
Identity Manager
To update an attribute with multiple values via a TEWS request, use the pipe symbol (|) to separate each value within the XML payload.
Example XML Syntax In the example below, the attribute %STRING_00% is being updated to contain the values "one" and "two".
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.ca.com/iam/tews/wsdl1"> <soapenv:Header/> <soapenv:Body> <wsdl:ModifyUser> <wsdl:User> <wsdl:Name>%USER_ID%</wsdl:Name> <wsdl:Value>account1</wsdl:Value> </wsdl:User> <wsdl:Values> <wsdl:Attribute> <wsdl:Name>%STRING_00%</wsdl:Name> <wsdl:Value>one|two</wsdl:Value> </wsdl:Attribute> </wsdl:Values> </wsdl:ModifyUser> </soapenv:Body></soapenv:Envelope>
For comprehensive documentation on TEWS and supported SOAP operations, please refer to the official .