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

  1. Navigate to All > System Web Services > Outbound > REST Message.
  2. Select New.
  3. 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.
  4. 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.
  5. In the HTTP Methods related list, select Default GET.
  6. In the Name field, specify a name for the GET HTTP method.
  7. Select the HTTP Request tab.
  8. In the HTTP Headers embedded list, select Insert a new row.
  9. 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.
  10. 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.
  11. In the HTTP Query Parameters embedded list, select Insert a new row.
  12. In the Name field, enter the name of the query parameter.
  13. 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.
  14. Select Update.

What to do next

Add and configure the Get News data resource in UI Builder.