web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create REST API reques...
Power Automate
Unanswered

Create REST API request using Html component

(0) ShareShare
ReportReport
Posted on by 331

Hello all,

Sorry if my question is silly but I'm very new to the Power automate world and REST API requests, too 🙂

So, I work for a school and I need to retrieve informations about classes, timetables, etc from an external application.

According to the documentation I got, the general request is the following :

 

Service-URL: http(s)://<SERVER>/WebUntis/jsonrpc.do
requests must use POST
Content-Type should be set to text/plain or application/json
An API request has the general format
{"id":"ID","method":"METHOD NAME","params":{PARAMS},"jsonrpc":"2.0"}

 The first thing I've  to make is the authentication which schould be like this :

1) Authentication
Authenticate the given user and start a session
method name authenticate
right -
mandatory parameter: ?school=SCHULNAME
{"id":"ID","method":"authenticate","params":{"user":"ANDROID",
"password":"PASSWORD", "client":"CLIENT"},"jsonrpc":"2.0"}
The parameter CLIENT is a unique identifier for the client app. The parameter client will be
mandatory in the future

 

The problem I've creating the request using the html component is where do have I to introducte these differents informations. In other words, how can I know what is considered as part of the header, requests, etc ..

 

I made the following but I'm absolutely not sure if it's correct ...

 

forstera_0-1686989820475.png

Thanks to all for your help

Kind Regards

 

Categories:
I have the same question (0)
  • Verified answer
    schwibach Profile Picture
    2 Moderator on at

    You need a few things first.
    Have them give you a platform application with the endpoints you need.

    Once you set up the platform application you get a client id and secret to make the API-call to the authentication server with.

    That gives you a bearer token to call the endpoint you actually want.

  • Verified answer
    forstera Profile Picture
    331 on at

    Ok I take good note of it 🙂 

    Thanks for your help an have a nice day

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard