Question

Aurena External Link - Rest API

  • 15 February 2022
  • 3 replies
  • 187 views

Userlevel 2
Badge +5

I’m trying to make REST API call to external system (Novacura) in Aurena - Command Group (External Link)

Error message : IsSuccess":false,"Error":"The authorization header is either empty or isn't Basic

How to add authorization details in REST API link?


This topic has been closed for comments

3 replies

Userlevel 2
Badge +6

External link is for URL navigation if you would like to make e rest api call you can use custom event actions.

Userlevel 2
Badge +5

Yes, but we would like to have this function as button.

is it possible to trigger event through custom button?

Userlevel 2
Badge +6

What you are trying to do can not be fully achieved with just configuration, you have to also have some code development. 

It has a little complicated path. First of all you have to have a API procedure which is calling rest sender. and then you can customize your projection and add this method as action. and finally you can assign that action to your custom button.

But with some minor requirement changes you can achieve the functionality like wise you can add a custom checkbox to your entity and listening on change of that field to trigger rest call. So when you mark it checked and saved the form, event will be triggered and rest API call will be placed and then programmatically update field back to unchecked state.

Hope that help, please inform us about the progress...