DELETE
/prime/webui/userQuery
Delete Query
Delete Query. Use this to delete data.
curl example
curl -X DELETE 'https://<host>/prime/webui/userQuery' \
-H 'Authorization: Bearer <token>'/prime/webui/userQuery
Delete Query. Use this to delete data.
curl -X DELETE 'https://<host>/prime/webui/userQuery' \
-H 'Authorization: Bearer <token>'/prime/webui/userQuery
Get all queries. Use this to fetch data.
curl -X GET 'https://<host>/prime/webui/userQuery' \
-H 'Authorization: Bearer <token>'"get": {
"tags": [
"UserQuery"
],
"summary": "Get all queries",
"parameters": [
{
"name": "Filters",
"in": "query",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"nullable": true
}
},
{
"name": "SortBy",
"in": "query",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "PageNumber",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
260
{
"name": "PageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "GlobalSearch",
"in": "query",
"schema": {
"type": "string",
"nullable": true
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserQueriesTableWrapper"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserQueriesTableWrapper"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserQueriesTableWrapper"
}
}
}
}
}
},/prime/webui/userQuery/GetQuery
Get queries by id. Use this to fetch data.
curl -X GET 'https://<host>/prime/webui/userQuery/GetQuery' \
-H 'Authorization: Bearer <token>'"get": {
"tags": [
"UserQuery"
],
"summary": "Get queries by id",
"parameters": [
{
"name": "id",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
261
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
}
}
}
}
}/prime/webui/userQuery
Add Query. Use this to create data.
curl -X POST 'https://<host>/prime/webui/userQuery' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"$ref":"#/components/schemas/UserQueries"}'"post": {
"tags": [
"UserQuery"
],
"summary": "Add Query",
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UserQueries"
}
}
}
},
"responses": {
262
"200": {
"description": "Success"
}
}
},/prime/webui/userQuery/SetPublic
Set Query Public. Use this to create data.
curl -X POST 'https://<host>/prime/webui/userQuery/SetPublic' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{}'"post": {
"tags": [
"UserQuery"
],
"summary": "Set Query Public",
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"type": "integer",
"format": "int32"
}
},
"application/json": {
"schema": {
"type": "integer",
"format": "int32"
}
},
"text/json": {
"schema": {
"type": "integer",
"format": "int32"
}
},
"application/*+json": {
"schema": {
"type": "integer",
"format": "int32"
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}/prime/webui/userQuery
Update Query. Use this to update data.