Create a REST message request and send it to a custom API endpoint to fetch the
latest supplier news.
Before you begin
- Install the News Integration for Supplier Lifecycle Operations plugin
(com.snc.sn_supplier_news).
- Set the application scope to News Integration for Supplier Lifecycle Operations using the
application picker.
Role required: admin
Procedure
-
Navigate to .
-
Select New.
-
On the form, fill in the fields.
Table 1. REST Message form
| Field |
Description |
| Name |
Name for this message. |
| Endpoint |
Endpoint that this REST message is sent to. |
| Authentication type |
Authentication to use, if any, and the profile record
that contains the user credentials. |
-
Right-click the form header and select Save.
After creating the REST message, a GET HTTP method is created automatically
using the values from the REST message record.
-
In the HTTP Methods related list, select Default
GET.
-
In the Name field, specify a name for the GET HTTP
method.
-
Select the HTTP Request tab.
-
In the HTTP Headers embedded list, select Insert a new
row.
-
In the Name field, enter the name of the header.
Supported headers depend on the REST web service provider that you want to
connect to.
-
Double-click the Value field for the new row and enter
the value that you want to assign to this header.
You can use a variable in the format ${variable} instead of a static value.
You can assign a value to the variable when sending a REST request.
-
In the HTTP Query Parameters embedded list, select Insert a new
row.
-
In the Name field, enter the name of the query
parameter.
-
Double-click the Value field for the new row and enter
the value that you want to assign to this query parameter.
You can use a variable in the format ${variable} instead of a static value.
You can assign a value to the variable when sending a REST request.
-
Select Update.