-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEW] Show department field on Livechat visitor panel #13530
Conversation
packages/rocketchat-livechat/client/views/app/tabbar/visitorInfo.js
Outdated
Show resolved
Hide resolved
packages/rocketchat-livechat/client/views/app/tabbar/visitorInfo.js
Outdated
Show resolved
Hide resolved
Hi @rodrigok , How can I get the department information on REST API or, better, on Real-time API? |
@juliomac, please take a look at our Livechat Docs: https://rocket.chat/docs/developer-guides/rest-api/livechat/ |
Dear @renatobecker, thanks for so quick response! Before finding this merge and you, I did a bit of homework and went looking through all options in rest-api/livechat. There's call for listing departments, there's calls for retrieving department info, but I could not find any call retrieving what is the exact department this particular visitor came from. Can you give me a light? What is the call that retrieves the department defined by the below function on the target website?
|
Examples of calls that didn't work for me:
|
@juliomac, I suggest you create a new issue describing your use case, what do you think? |
Thanks, done it through: #13766 |
Closes #13371
This PR adds the
![screen shot 2019-02-20 at 15 17 42](https://user-images.githubusercontent.com/2067649/53115419-e8a91280-3524-11e9-9b9d-ac15eed87da3.png)
department
field of the current Livechat room on Visitor info painel, like the image below: