Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Message Center-Create dynamic session token

Avatar

Level 4

Hi team,

We have a requirement from client that the session token cannot be hardcoded in the SOAP call as the SOAP call will be triggered by another team (not AC team).

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:rtEvent">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:PushEvent>

         <urn:sessiontoken>?</urn:sessiontoken>

         <urn:domEvent>

            <!--You may enter ANY elements at this point-->

         </urn:domEvent>

      </urn:PushEvent>

   </soapenv:Body>

</soapenv:Envelope>

Is there any way that this session token can be created dynamically by using any API's?

Regards,

Priyanka

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Use xtk:session#Logon to get a session token, as needed (not every call).

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

Use xtk:session#Logon to get a session token, as needed (not every call).

Thanks,

-Jon