Get Extracted Results For Invoices In a Set
Endpoint Name: URL/access/klearstack/getdocumentsforset
Request type : POST
Authorization : Bearer token as header
Endpoint Details : The getdocumentsforsetendpoint will be used to fetch all the documents belonging to a certain set based on the Set Reference Number.
Method
URL
POST
URL/access/klearstack/getdocumentsforset
Request Body
Params
Values
Required
Description
company_name
string
Yes
Name of the company for which the user is logging in
set_reference_number
string
Yes
set_reference_number for which documents are required
userid
string
No
User ID
role
string
No
user role, e.g:Approver
Request Code Samples
Shell
Request body
curl --location "URL/access/klearstack/getdocumentsforset" \
--header "Authorization: Bearer your_token_here" \
--form "company_name=Replace_Company_Name_Here" \
--form "userid=Replace_User_ID_Here" \
--form "set_reference_number=Replace_Set_Reference_Number_Here" \
--form "role=Replace_Role_Here"Python
Request body
Java (OkHttp)
Request body
Node.js (Axios)
Request body
JavaScript (XHR)
Request body
API Response
Status code
Example Response
200
PreviousGet Extracted Results For Invoices In Between Date RangeNextGet Results of Invoices Accessible By A Specific User
Last updated