Get Documents of 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/klearstack/getdocumentsforset

Request Body

Params

Values

Description

company_name

string

Name of the company for which the user is logging in

username

string

User Name

set_reference_number

string

set_reference_number for which documents are required

role

string

user role, e.g:Approver

API Response

Status code

Example Response

200

{
    "all_result": [
        {
            "batch_id": "f383919b-8efe-4014-a725",
            "status": "complete",
            "file_name": "test.pdf",
            "ondisk_encrypted_file_name": "",
            "result": []
            }
   ]
}

Last updated