configure UIbuilder with Rest(POST) data resource

BennyL
Tera Contributor

I have a Scripted rest api i want to call from my UIB:
1. i created Rest data resource and configured it like in the pic:

Screenshot 2025-01-15 at 14.35.17.png 
2. in the UIB i see only the query params(company name and solution name).

Screenshot 2025-01-15 at 14.35.44.png

my question is how do i pass the params i configured in Request Body(first pic) is it set on the creation of the data broker record on its passed from the UIB like the query params?

Thanks in advance
1 REPLY 1

Kevin83
ServiceNow Employee
ServiceNow Employee

Not sure I fully understand your question, but the properties you are consuming in the API, can equally be consumed in the Request Body using the same syntax e.g.

{
"apiKey": "{{apiKey}}"
}