Service Portal Widget REST API Example?

John Reid1
Kilo Contributor

Hi,

Does anyone have any example Service Portal widgets where a data entry is required and then a call to an external 3rd Party API via RESTMessageV2 and then displaying the response?

This is for my own learning, I've tried looking on Share but can't see anything there that does this as an example.

Ideal this as an update set would be good to see/play with!

Many Thanks.

10 REPLIES 10

Hi John, did you require any further assistance in regards to this matter?

 Spotify: Service Portal and Spotify - Integrating Third Party APIs 

Is this link anymore accessible to you , i am not able to access this.

Thanks,

Siva

I am not able to access this site either.

please provide me more info on how to call a rest message from server side script.

 

thanks.

TevinL
Tera Contributor

A great example of a Service Portal widget for this scenario involves creating a form for user input, invoking a third-party API using RESTMessageV2, and displaying the response dynamically. You can script this in the widget's server-side code and use the client-side controller for real-time updates.