B2B Integration : Trading Networks Built-In Services Reference : Profile Folder : Summary of Elements in this Folder : wm.tn.profile:addConnections
wm.tn.profile:addConnections
Adds one or more delivery methods to a partner's profile. The service validates the delivery method information before saving it. If errors are found, the service does not save the delivery method information and returns the errors.
Input Parameters
partnerID
String The internal identifier for the trading partner.
connections
Object List The delivery methods to add to the partner's (specified by partnerID) profile. The variable must be an array of com.wm.app.tn.profile.Destination instances.
Output Parameters
ids
String List The unique identifier that Trading Networks created for each delivery method that the service added to the partner's profile.
errors
String List (optional) A string array that contains the errors found in the delivery methods, if any.
Usage Notes
You can associate, at most, one of each of the following types of com.wm.app.tn.profile. Destination instances with a partner:
*Primary HTTP
*Secondary HTTP
*Primary HTTPS
*Secondary HTTPS
*Primary SMTP
*Secondary SMTP
*Primary FTP
*Secondary FTP
*A delivery method that you created using HTTP, FTP, E-mail, and so on
*A custom delivery method that you created and registered using wm.tn.delivery:registerService
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback