Accessing Lists
In the Setup part we created two lists, one of all customers and the other of active customers.
Get All Customers
- Hover over the
Domino-REST-API-NewDB
collection name and click on the ellipsis (three dots). Select Add Request. - Name the request
get customers
and click Save. - Set the URL as
{{HOST}}/lists/Customers?dataSource=customers
. - Set the headers for Authorization.
- Click Send.
- Save and close the request.
You will receive a list of entries for all customers, with name, category and address.
Get Active Customers
- Hover over the
Domino-REST-API-NewDB
collection name and click on the ellipsis (three dots). Select Add Request. - Name the request
get active customers
and click Save. - Set the URL as
{{HOST}}/lists/Active%20Customers?dataSource=customers
. - Set the headers for Authorization.
- Click Send.
- Save and close the request.
You will receive a list of entries for active customers, this time with just name and category.
Previous Page Next Page