Get Dynamic Audit Rules Generated
Endpoint Name: URL/access/klearstack/get_dynamic_audit_rules_generated
Request type : POST
Authorization: Bearer token as header
Endpoint Details: The get_dynamic_audit_rules_generated endpoint will be used to fetch the dymanic rules generated for the given anchor document.
Method
URL
POST
URL/access/klearstack/get_dynamic_audit_rules_generated
Request Body
Params
Values
Required
Description
company_name
string
Yes
Name of the company for which the user is logging in
anchor_document_id
string
Yes
document_id received from 'getbatchdocuments' api response
Shell (cURL)
Request Body
curl --location "URL/access/klearstack/get_dynamic_audit_rules_generated" \
--header "Authorization: Bearer your_token_here" \
--form "company_name=Replace_Company_Name_Here" \
--form "anchor_document_id=Replace_anchor_document_id_Here" \
Python
Request Body
Java (OkHttp)
Request Body
Node.js (Axios)
Request Body
JavaScript (XHR)
Request Body
API Response
Status code
Example Response
200
400
{'status': 'fail', 'description': 'No dynamic audit rules found for the provided company and document id'}
500
{'error': error}
Last updated