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:
![*](bullet.gif)
Primary HTTP
![*](bullet.gif)
Secondary HTTP
![*](bullet.gif)
Primary HTTPS
![*](bullet.gif)
Secondary HTTPS
![*](bullet.gif)
Primary SMTP
![*](bullet.gif)
Secondary SMTP
![*](bullet.gif)
Primary FTP
![*](bullet.gif)
Secondary FTP
![*](bullet.gif)
A delivery method that you created using HTTP, FTP, E-mail, and so on