Skip to main content

GetUserQueries

Get frequently used lists

Description

Obtains a list of available search criteria stored for each user.

Method

GET

Request URL Format

/api/v0/applications/:app-id/queries

URL Params

app-id      : Application ID(Specify the ID entered from the Hexabase screen)

Query Params

None

Request URL Sample

GET https://api.xxx.com/api/v0/applications/APP_NAME/queries

Response Description

  • Returns a "frequently used list" (list of search criteria) available to the user.

Response Sample

[
{
"q_id": "5c7a323484f4be4ae0b9ae11",
"name": "優先度A",
"desc": "優先度が高い一覧",
"display_order": 0,
"conditions": [
{
"search_value": [
"5c69148a84f4be1f241fedeb"
],
"data_type": "select",
"id": "5c69148384f4be344c2ff0f3"
}
],
"projectId": "5c6363d984f4be7de0350445",
"datastoreId": "5c69148384f4be1f241fedcd"
},
{
"q_id": "5c7bc3e684f4be8478f89069",
"name": "未完了案件",
"desc": "完了されていないアイテム一覧",
"display_order": 0,
"conditions": [
{
"search_value": [
"5c6363ed84f4be7de0350456"
],
"data_type": "status",
"id": "5c6363ed84f4be7de0350453"
}
],
"projectId": "5c6363d984f4be7de0350445",
"datastoreId": "5c6363ed84f4be2550bfe8ff"
},
{
"q_id": "5cbb020784f4bebc88dd5646",
"name": "特定ワードを含む検索",
"desc": "",
"display_order": 0,
"conditions": [
{
"search_value": [
"T"
],
"data_type": "text",
"id": "27955aef-5d15-4762-ae3e-b96a1bf04275"
}
],
"projectId": "5c6363d984f4be7de0350445",
"datastoreId": "5c6a657b84f4be1f241fee2b"
}
]