Home > Forum > Data sources > Data Source REST Web Service Connection (Basic / Token Authentication)

Data Source REST Web Service Connection (Basic / Token Authentication)
0

Hello all,

We have implemented a new ticket system called Jitbit and I would like to connect it to WEBCON via REST web service. Unfortunately, I don't understand how to configure a "Basic authentication" or "Token authentication" in WEBCON. Using Postman, the authentication including the queries already worked.

Enclosed you can find the documentation from Jitbit: https://www.jitbit.com/helpdesk/helpdesk-api/#/?id=helpdesk-api

Could you please help me with the configuration?

Many thanks in advance for your help!
Marc

MVP

Hi Marc,
Based on the docs it seems, that you could just use Basic Auth, to do so:
1. Configure Connection with credentials under which Webcon will have access to jitbit. -> https://docs.webcon.com/docs/2023R2/Studio/ConnectionsAndDataSource/Connections/DataConnection_RestWebService
* Authentication Type - should be set to Basic
* Username, password - according to your credentials
* Base service instance url - seems like it should be https://helpdesk-url/api

This though requires some probably technical user in jitbit, as it shouldn't act under a specific person account - if it should, then default way of handling it might not be enough.

2. After configuring connection, you should be able to choose it in REST Data Source configuration - for example if you would like to show in a dropdown list of articles published on the helpdesk (https://www.jitbit.com/helpdesk/helpdesk-api/#/?id=articles), or in an Invoke REST action, to use it for creating a new article (https://www.jitbit.com/helpdesk/helpdesk-api/#/?id=article-post)

In reply to: Maksymilian Stachowiak

Hi Marc,
Based on the docs it seems, that you could just use Basic Auth, to do so:
1. Configure Connection with credentials under which Webcon will have access to jitbit. ->
https://docs.webcon.com/docs/2023R2/Studio/ConnectionsAndDataSource/Connections/DataConnection_RestWebService
* Authentication Type - should be set to Basic
* Username, password - according to your credentials
* Base service instance url - seems like it should be https://helpdesk-url/api

This though requires some probably technical user in jitbit, as it shouldn't act under a specific person account - if it should, then default way of handling it might not be enough.

2. After configuring connection, you should be able to choose it in REST Data Source configuration - for example if you would like to show in a dropdown list of articles published on the helpdesk (https://www.jitbit.com/helpdesk/helpdesk-api/#/?id=articles), or in an Invoke REST action, to use it for creating a new article (https://www.jitbit.com/helpdesk/helpdesk-api/#/?id=article-post)

Hi Maksymilian,

thank you very much for your quick support! That was very helpful. I was not aware that "NT" means "Basic".

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.