list_qr_action

This command lists query actions for a specified query definition.

This API is available in Guardium V10.1.4 and later.

REST API syntax

This API is available as a REST service with the GET method. Call this API as follows:
GET https://[Guardium hostname or IP address]:8443/restAPI/qr_action

GuardAPI syntax

list_qr_action parameter=value

Parameters

Parameter Value type Description
actionName String The name of the query rewrite action.
definitionName String Required. The query rewrite definition name.
detail Boolean Valid values:
  • 0: False. Only the name is returned for false
  • 1: True. List all the associated attributes of the actions.

Default = 1 (true)

Examples

grdapi list_qr_action definitionName="case 2"
Output:
<servername>> grdapi list_qr_action definitionName="case 2"
#######################################################################


         QR actions of definition 'case 2' - (id = 1 )

#######################################################################
qr action ID: 1
qr action name: qr action2
qr action description: add where by id

ok
Example:
grdapi list_qr_action definitionName="case 2" detail=false

Output:
<servername>> grdapi list_qr_action definitionName="case 2" detail=false
#################################
         QR actions of definition 'case 2' - (id = 1 )
#################################
qr action2
ok