I have a question around Storing Data in Adobe Campaign Classic using Web Service.
I am receiving data from REST API Call in the form of JSON Request(that contains multiple fields such as First Name, Last Name, Email Address, etc). I am able to consume the same into my ACC Instance in the form of Object after Parsing, and I am able to access the individual fields as well.
Now My question here is, How to store that data into the Recipient table?
Apologies in case of any misunderstanding, I am currently discovering how extensively we can use the product in terms of Web Services.(I have limited knowledge about webservices too , Kindly excuse me for that)
Considering the above post, I was able to consume the data, coming from a REST call into my system in the form on JSON Object, to which I further converted them to string individually, the pain point I am stuck on writing into Recipient schema.
I will consider the information you and davidl14970702 have provided and will update you guys shortly with my findings with what exactly I am doing incorrect.
Also, I'd recommend you ask support for the JSAPI file. This will give you access and examples of the OutOf the Box methods ACC uses. It should be downloadable in the same place you place tickets to ACC support. Oryou can just ask them.
xtk.session.Write(rcpxml); this method will write to any source schema you want. Recipient table is most common. But you may want to create a product table or a formSubmission table that holds other recipient data.
nms.subscription.Subscribe(svc,rcp,create) - this method will write to the recipient table and the subscription table.
Check the JSAPI doc for more info on how to use these.
This is a small sample to play with in a JS activity. Be sure to declare a recipient folder when you are writing people to the DB. It's very easy to write dup emails if you not using the root recipient folder.
ACC (classic v6/v7) only supports SOAP Web Service calls, not REST WS. But ACS supports REST WS, not SOAP WS.
So I am not sure what version you mean? Well, I guess it is ACC indeed.
Have you implemented a web method for nms:recipient schema extension?