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.create:newContact
 
wm.tn.profile.create:newContact
Creates an empty Contact component for a profile.
Input Parameters
None.
Output Parameters
contact
Document An uninitialized contact; that is, all fields in the contact are null. For the structure of contact, see wm.tn.rec:Contact. For Java developers, this is an instance of a com.wm.app.tn.profile.Contact.
Usage Notes
After using this service to create an empty Contact component, map or hardcode values into it before saving the contact to the Trading Networks database.
*If you are adding the contact to a new profile, leave the internal ID fields (PartnerID and ContactID) empty. Trading Networks generates these internal IDs for you when you save the profile to the Trading Networks database.
*If you are adding the contact to an existing profile, you must specify the internal ID field, PartnerID, to identify the profile to which to add the contact. Leave the internal ID, ContactID empty; Trading Networks generates this internal ID for you.