- Joined
- Apr 5, 2023
- Messages
- 1
- Reaction score
- 0
We are trying to integrate SelectLine CRM with 3CX. The authentication to SelectLine's API is a two step function: sending 4 Elements as parameter of a POST: username, password, type of login, API-Key. On the return we receive in a JSON two values: AccessToken and TokenType. Having setup this as a Login Scenario, this works. We get bothj fields back. Using the template builder, from these Fields we build Variables and Output. Now, calling the Matching Scenario, we need to use both fieldvalues in the Header of the search-call. The header should look like: <Value Key="Authorization" If="" Passes="0" Type="String">xxxxx yyyyyyyyyyyyyy</Value> where xxxxx is the TokenType, and yyyyyyyyyyyyy is the AccessToken. Question: how do we pass the output from the login scenario to the Matching Scenario? What would be the correct syntax in the String-Value? Many thanks for your Advise.