Skip to main content
Nintex Community Menu Bar
Solved

How to make a REST Callout without a descriptor?(Swagger?)

  • October 5, 2018
  • 6 replies
  • 24 views
  • Translate

Hello!

 

We need to make a callout to a REST service to retrieve information. However, there is no descriptor. Idealy we would like to just provide the endpoint, the HTTP method (post/get etc) and any applicable headers and parameters. Do you absolutly need to have a descriptor? 

Best answer by Steve11

No API we interact with as a swagger descriptor. Why has K2 overlooked the simple fact that a REST API may not have a swagger doc? 

View original
Did this topic help you find an answer to your question?

6 replies

  • Author
  • 3 replies
  • October 7, 2018

Hello, I am not sure you read the question completly. There is not a swagger descriptor at all. How can we make REST callouts without a swagger descriptor?

Translate

Forum|alt.badge.img+9
  • Apprentice
  • 105 replies
  • October 8, 2018

Hi,

 

You cannot create a service Instance for REST endpoint without a Swagger Descriptor. And you cannot create a smartobject without a service instance. 

 

How are you trying to call the REST endpoint?

 

Regards,

Vijay.

Translate

  • Author
  • 3 replies
  • October 8, 2018

Hello!

 

Thank you for your reply. We are just trying to make a callout from a workflow for example. If you could tell me the steps to create a REST callout without a swagger/descriptor file that would be greate!

Translate

I do not believe it is possible to do that without a descriptor file.
I am running into a similar issue with Jira since Jira does not publish one.
You should checkout restunited.com,
it allows you to create swagger descriptor files and you just provide parameters and response.

Translate

Forum|alt.badge.img+9
  • Apprentice
  • 105 replies
  • October 9, 2018

Its not possible without a swagger descriptor.

 

Please check this link for steps to create a REST Service Instance.

https://vijaydk2guy.wordpress.com/2017/08/31/k2-integration-with-rest-api-services/

Translate

  • Author
  • 3 replies
  • Answer
  • October 9, 2018

No API we interact with as a swagger descriptor. Why has K2 overlooked the simple fact that a REST API may not have a swagger doc? 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings