Retrieve filterable data by model.
GET
/filtersLast modified: 9 days ago
Maintainer:
This endpoint allows retrieving filterable data such as cities, regions, agencies, tender activities, and other related entities. The returned data includes identifiers and names that can be used in other API endpoints to filter results effectively. This endpoint is designed to provide necessary reference data for constructing meaningful queries in the API.
Request
Query Params
model
enum<string>
required
The type of model to filter by.
Allowed values:
cityregiontender_activitiessub_tender_activitiesagencytypes
Example:
city
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Successful response with filterable data.
Data Schema
data
array[object (FilterItem) {2}]
optional
text
string
optional
The name of the filterable item.
Example:
الخفجي
id
integer
optional
The unique identifier for the item.
Example:
1
Example
Not configured
Last modified: 9 days ago