since ‎08-09-2017
‎10-12-2019
Mukolajko
Level 1
Re: Size and request limits on 'WriteCollection' method
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Mukolajko,I forgot to mention one more advantage to define your own web service method by extending nms:recipient, instead of using factory write/writeCollection method(actually you write web method XML definition in the extended customer schema, the code being written in the Javascript objects node):Adobe Campaign classic (v6/v7) uses SOAP call with XML syntax for the parameter.Only Adobe Campaign standard version has also a REST API, with parameters content either in XML or JSON.JSON format...

Views

458

Likes

0

Replies

0
Re: pstrSecurityToken missing from LogOn response using node js
Avatar

Mukolajko

Mukolajko
- Adobe Campaign Standard
So apparently i were doing something wrong.So to help other people with this. You don't actually need Security token to run query(on some cases).All what you need to do is to add in request body tag with valid token, and do not specify in HTTP headers X-Security-Token and cookie.Code looks like this in node JS.var body = '' + ''+this.token+'' + '' + '' + '' + '' + '';request({ headers : { "Content-Type" : "text/xml; charset=utf-8", "SOAPAction" : "xtk:queryDef#ExecuteQuery" }, uri: "https://new...

Views

295

Like

1

Replies

0
Likes from