The Resource URL is to find the status of bulk number of samples in a single query.
Resource URL
POST https://<TIS_IP>/php/getBulkStatus.php
Input parameters
The following HTTP headers should be specified in the resource URL request:
Accept: application/vnd.ve.v1.0+json
Content-Type: multipart/form-data
VE-SDK-API: Base64 encoded "session:user id" string
Note
Make sure to supply as form-data in body.
Input parameter | Description |
|---|---|
| Contains the below parameter defined in a json string:
Examples:
|
Output parameters
Output parameter | Description |
|---|---|
| Contains json data with following parameters:
JobID/taskID status displays following values:
The score includes the following values:
|
Note
When archive samples are sent for extraction and analysis, the overall verdict of the sample is the highest reported severity for the extracted contents. However, if the highest severity happens to be less than 3 and if one of the files within the archive sample is failed to be analyzed, then the overall verdict of the sample would be Failed (-2).
Example
Status of single jobID:
Input
{'data': '{"bulkrequest":{"numRequest":1,"jobIDs":[4512]}}'}
Output
{"success":true, "results":{"bulkresponse": {"numResponse":1, "status":[{"jobID":4512,"status":5,"score":4}]}}}Note
When a jobID is not present in the database the status and score values in the response are 6 and -2 respectively.
When a jobID of a zip file is passed as input then the least status value among all the samples in the zip file at that moment is returned.
Status of multiple jobIDs:
Input
{'data': '{"bulkrequest":{"numRequest":3,"jobIDs":[41,30,12]}}'}Output
{"success":true, "results":{"bulkresponse": {"numResponse":3, "status":[{"jobID":41,"status":5,"score":5},{"jobID":30,"status":5,"score":0},{"jobID":12,"status":5,"score":5}]}}}
Status of single taskID:
Input
{'data': '{"bulkrequest":{"numRequest":1,"taskIDs":[16090]}}'}Output
{"success":true, "results":{"bulkresponse": {"numResponse":1, "status":[{"taskID":16090,"status":3,"score":-6}]}}}
Note
Status '3' in the above response indicates that the sample with taskID '16090' is in analyzing state.
When a taskID is not present in the database the status and score values are -1 and -2 respectively.
Status of multiple taskIDs:
Input
{'data': '{"bulkrequest":{"numRequest":3,"taskIDs":[100,156,16109]}}'}Output
{"success":true, "results":{"bulkresponse": {"numResponse":3, "status":[{"taskID":100,"status":5,"score":5},{"taskID":156,"status":5,"score":4},{"taskID":16109,"status":2,"score":-6}]}}}
Note
Status '2' in the above response indicates that the sample with taskID '16109' is in waiting state.
numRequest does not match with number of jobIDs/taskIDs:
Input
{'data': '{"bulkrequest":{"numRequest":4,"taskIDs":[80,12,15]}}'}Output
{"success": false, "results": {"desc": "Invalid Request"} }