Create a scripted REST API resource

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Create a scripted REST API resource to define the HTTP method, the processing script, and to override settings from the parent service.

    Antes de Iniciar

    Create a scripted REST API. For more information, see Create a scripted REST API.

    Role required: web_service_admin

    Procedimento

    1. Navigate to All > System Web Services > Scripted REST APIs.
    2. Select a scripted REST API record.
    3. In the Resources related list, click New.
    4. Enter a Name.
      The resource name affects the URI for sending requests to the API.
    5. Select the HTTP method this resource implements, such as GET.
    6. In the Script field, define how the operation parses and responds to requests.
    7. Opcional: Override settings from the parent REST API as needed, such as by specifying different security settings or valid content types.
    8. Opcional: On the Documentation tab, provide a Short description explaining how to access the resource.
      This information appears when exploring this resource using the REST API Explorer.
    9. Click Submit.

    O que Fazer Depois

    After creating the resource, you can associate headers and query parameters. For details, see Define scripted REST API headers and Define available query parameters.