Dieser Inhalt liegt nicht in Ihrer Sprache vor. Hier ist die englische Version.
Setting up the tHTTPClient_1 component
The tHTTPClient_1 component retrieves the data of first ten
schemaExtensions entities from Microsoft Azure and passes the data to the
subsequent component. It uses an OAuth 2.0 token for authentication.
Procedure
Double-click tHTTPClient_1 to open its
Basic settings view.
Click the [...] button next to
Edit schema to open the schema editor, add four columns
that are of String type in the schema editor (that is,
id, description,
status, and owner), and click
OK.
Enter the base URL of the Microsoft Graph API to be called in the Base
URL field (https://graph.microsoft.com/v1.0/ in this example).
Select OAuth 2.0 from the
Authentication type drop-down list and:
Select Client credentials from the
Flow drop-down list.
Select Form from the Authentication
mode drop-down list.
Enter the token endpoint in the Token endpoint
field.
Enter your client ID and client secret in the Client
ID and Client secret fields.
To enter the client secret, click the [...] button
next to the Client secret field to bring out the Enter a new
password dialog box, enter the client secret in the text field, and click
OK. Note that you can enter the client secret either in a JSON string
in the pure password mode or as a Java expression in the Java
mode. You can toggle between the two modes by clicking switch to
Java mode or switch to pure password mode on the top
of the text field.
Add a row in the Scopes table and enter the scope in
table.
Type GET in the HTTP
method field.
You can also set the HTTP method by clicking the [...]
button next to the HTTP method field and selecting
GET from the dialog box that appears.
Type in the API path in the Path field
(schemaExtensions in this example).
Select the Query parameters option, add a
row in the table under the option, and type "$top" in the
Name column and "10" in the
Value column in the table.
Select JSON from the Response
body format drop-down list and:
Type .value in the Extract a sub-part of
the response field.
Select Body from the Returned
content drop-down list.
Leave the other options as they are.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!