changes.mady.by.user jtel Support
Saved on 2020-12-04
...
Example Configuration
https://myrestservice.example.com/service/GetToken
Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded;charset=UTF-8 Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
grant_type=client_credentials&redirect_uri=https://myrestservice.example.com/service/api/v1/Customers/Contacts
https://myrestservice.example.com/service/api/v1/Customers/Contacts
Cache-Control: no-cache Content-Type: application/json Authorization: Bearer $tokenResponse.body.JSON.access_token
{"CustomerNumber":"$chatConnector.id", "XMLCodedData":"$xmlTemplate.encoded.base64"}
<?xml version="1.0" encoding="utf-8"?> <chatReport> <Size>$report.bytes</Size> <Content>$report.encoded.base64</Content> </chatReport>