---
sourceDocument: Australia Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/source-to-pay-operations

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Creator


---

# Create a REST message for a custom API

# Create a REST message for a custom API {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Create a REST message request and send it to a custom API endpoint to fetch the
latest supplier news.

## Antes de Iniciar

* 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.
{#create-custom-api-rest__ul_ydf_w1f_ytb}

Role required: admin

## Procedimento

1. Navigate to AllSystem Web ServicesOutboundREST Message.
2. Select New.
3. On the form, fill in the fields.  
   {#create-custom-api-rest__table_ep4_42f_ytb__entry__2}

   | 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. |
   [Tabela 1. REST Message form]

   {#create-custom-api-rest__table_ep4_42f_ytb}
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.

## O que Fazer Depois

[Add and configure the Get News data resource in UI Builder](https://servicenow-prod.fluidtopics.net/K9_qdcguaC0vR4MlFi~7nw "Add and configure the Get News - Composite data resource in UI Builder to dynamically retrieve supplier news in the News and Activity section of the Source-to-Pay Workspace.").
**Tópico anterior:** [Configuring a custom API to dynamically fetch supplier news](https://servicenow-prod.fluidtopics.net/DSsTMjy4HMoxx574lXTgdQ "By default, News Integration for Supplier Lifecycle Operations retrieves the supplier news and activities using the Microsoft Bing News Search API.")  
**Próximo tópico:** [Add and configure the Get News data resource in UI Builder](https://servicenow-prod.fluidtopics.net/K9_qdcguaC0vR4MlFi~7nw "Add and configure the Get News - Composite data resource in UI Builder to dynamically retrieve supplier news in the News and Activity section of the Source-to-Pay Workspace.")  
**Tarefas relacionadas**   

* [Add and configure the Get News data resource in UI Builder](https://servicenow-prod.fluidtopics.net/K9_qdcguaC0vR4MlFi~7nw "Add and configure the Get News - Composite data resource in UI Builder to dynamically retrieve supplier news in the News and Activity section of the Source-to-Pay Workspace.")
* [Update the field names in the UX client script](https://servicenow-prod.fluidtopics.net/fjRnBUzytGIZBydh~huQ_Q "Update the field names in the UX client script to match the custom field names in the custom API response.")

