Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Profile Folder | Summary of Elements in this Folder | wm.tn.profile:addIDs
 
wm.tn.profile:addIDs
Adds one or more external IDs to a partner's profile. An external ID is an ID type within a document that identifies a corporation, for example, a D-U-N-S® number. The service validates the external IDs before saving them. If errors are found, the service does not save the external IDs and returns the errors.
Input Parameters
partnerID
String The internal identifier for the trading partner.
ids
Object List The external IDs to add to the partner's (specified by partnerID) profile. The variable ids must be an array of com.wm.app.tn.profile.ID instances.
Output Parameters
idIDs
String List A java.util.Vector that holds the internal identifier for each external ID that was added. This is the primary key to the partnerID table in the Trading Networks database.
username
String (optional) If Trading Networks created an Integration Server user account, this is the user name for the user account.
password
String (optional) If Trading Networks created an Integration Server user account, this is the password of the user account.
errors
String List (optional) A string array that contains errors found in the external IDs, if any.