getRule

This function returns Rule data by id.

Parameters

Parameter name Type Description Possible values Example
_id String Required The ID of the rule.   _id=5cd10e159dc6d62a913c6765

Returns

This API call returns a rule object.
To view the parameters that returned click on Rule Object.

Example

jetapi backupmc -F getRule -D '_id=5cd10e159dc6d62a913c6765' -O json
https://1.1.1.1:3031/API/getRule/?_id=5cd10e159dc6d62a913c6765