B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Profile Folder | Summary of Elements in this Folder | wm.tn.profile:addProfile
 
wm.tn.profile:addProfile
Adds a new partner profile to the trading network. The service validates the profile and saves it with an Inactive status.
Input Parameters
profile
Object The profile to add to the trading network. The variable profile must be an instance of com.wm.app.tn.profile.Profile.
security
Document (optional) Leave null. This field is for internal use only and using this field can result in database errors.
Output Parameters
partnerID
String If the operation was successful, the internal ID created for this partner.
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 the errors found in the profile, if any.
Usage Notes
This service saves the profile regardless of whether errors are returned in errors.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release