Get all/Search lookup lists
POST/v1/lookup-lists/search
Searches for lookup lists by name or ID. Can also be run without a filter to return the full list of existing lookups. Returns a paginated list of results. Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
filter object
Filter by names that contain a term, by lookup ID, or by both. If both properties are sent, they must both be satsified (AND
logic).
Filters for lookup names that contains the search term.
List of lookup IDs.
pagination object
Default pagination is a page of 25 results. Look for the total
field in the response for the number of available results overall, and use the pagination function to page through the results.
Default value: 1
If you overshoot the page number, it will return empty with no results, but it won't fail the request.
Possible values: <= 1000
Default value: 25
Controls the number of results per page. Valid inputs are 1 to 1000.
Responses
- 200
successful operation
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Total number of search results.
results object[]
GUID of the lookup list.
Possible values: non-empty
and <= 40 characters
Name of the lookup list.
Possible values: <= 400 characters
Description of the lookup list.
pagination object
Default pagination is a page of 25 results. Look for the total
field in the response for the number of available results overall, and use the pagination function to page through the results.
Default value: 1
If you overshoot the page number, it will return empty with no results, but it won't fail the request.
Possible values: <= 1000
Default value: 25
Controls the number of results per page. Valid inputs are 1 to 1000.
{
"total": 0,
"results": [
{
"id": "7c985e09-3db6-5dc6-ae33-58403493e13f",
"name": "string",
"description": "string"
}
],
"pagination": {
"pageNumber": 1,
"pageSize": 100
}
}