Associate query parameters with a resource
On this page
Associate query parameters with a resource
Associate scripted REST API query parameters with a resource.
Before you begin
Role required: web_service_admin
About this task
The following procedure describes the process for manually associating a query parameter with a resource. For details about automatically generating query parameters for requests in non-production instances, see Automatically generate API request definitions.
Procedure
-
Navigate to All > System Web Services > Scripted REST APIs.
-
Select a scripted REST API record.
-
In the Resources related list, select New
-
In the API query parameter, select or enter the query parameter to associate with the resource.
-
In the API resource, select or enter the scripted REST API resource to associate with the query parameter.
-
Select Submit.
What to do next
After associating the parameters with a scripted REST resource, configure any required ACLs for the API or endpoint. For details, see Configure a scripted REST API resource to require an ACL.
Parent Topic:Create a scripted REST API
Keep exploring.
Find another answer, or bring this documentation into your own tools.