Upload

{"request": {"file_name": "g.pdf","features": ["av","extraction","te"]}}

Upload Response

{
   "response" : {
      "av" : {
         "status" : {
            "code" : 1004,
            "label" : "NOT_FOUND",
            "message" : "Request could not be found."
         }
      },
      "features" : [ "av", "extraction", "te" ],
      "file_name" : "g.pdf",
      "file_type" : "pdf",
      "md5" : "12e3ff357da550ee2298e9893511399f",
      "sha1" : "8f277dc53744b11518786c358efac5e2c9c87315",
      "sha256" : "b964ba9a08ba11aef294ddf247881309d59038ffccbeb55c5b635f5ed1428326",
      "status" : {
         "code" : 1002,
         "label" : "UPLOAD_SUCCESS",
         "message" : "The file was uploaded successfully"
      },
      "te" : {
         "images" : [
            {
               "id" : "5e5de275-a103-4f67-b55b-47532918fa59",
               "report" : {
                  "verdict" : "unknown"
               },
               "revision" : 1,
               "status" : "not_found"
            },
            {
               "id" : "e50e99f3-5963-4573-af9e-e3f4750b55e2",
               "report" : {
                  "verdict" : "unknown"
               },
               "revision" : 1,
               "status" : "not_found"
            }
         ],
         "status" : {
            "code" : 1002,
            "label" : "UPLOAD_SUCCESS",
            "message" : "The file was uploaded successfully"
         }
      }
   }
}

API QUERY

{
	"request": [
		{
			"sha1" : "8f277dc53744b11518786c358efac5e2c9c87315",
			"features" : ["av","extraction","te"]
		}
	]
}

API RESPONSE

{
   "response" : [
      {
         "av" : {
            "status" : {
               "code" : 1004,
               "label" : "NOT_FOUND",
               "message" : "Request could not be found."
            }
         },
         "features" : [ "av", "extraction", "te" ],
         "file_type" : "pdf",
         "md5" : "12e3ff357da550ee2298e9893511399f",
         "sha1" : "8f277dc53744b11518786c358efac5e2c9c87315",
         "sha256" : "b964ba9a08ba11aef294ddf247881309d59038ff",
         "status" : {
            "code" : 1006,
            "label" : "PARTIALLY_FOUND",
            "message" : "The request has been partially served"
         },
         "te" : {
            "combined_verdict" : "Benign",
            "confidence" : 0,
            "images" : [
               {
                  "id" : "5e5de275-a103-4f67-b55b-47532918fa59",
                  "report" : {
                     "full_report" : "",
                     "verdict" : "Benign",
                     "xml_report" : ""
                  },
                  "revision" : 1,
                  "status" : "found"
               },
               {
                  "id" : "e50e99f3-5963-4573-af9e-e3f4750b55e2",
                  "report" : {
                     "full_report" : "",
                     "verdict" : "Benign",
                     "xml_report" : ""
                  },
                  "revision" : 1,
                  "status" : "found"
               }
            ],
            "score" : -2147483648,
            "severity" : 0,
            "status" : {
               "code" : 1001,
               "label" : "FOUND",
               "message" : "We have found your request"
            }
         }
      }
   ]
}

ted.elg 

{
   "api_name" : "KavRpcScanFile",
   "file_path" : "/opt/CPsuite-R77/fw1/tmp/te/te_tmp_files/{1BA1DC30-6340-6246-9C33-57E77AEF6589}",
   "referance_uid" : "{14614450-9D4B-FD42-B5C4-3C9FA5B2F71D}"
}

[ 15758 4080826112][25 Jun  9:29:41]  [TE_IS_TRACE (TD::All)] te_is::SocketApiClient::SendObject: sending data:
{
   "api_name" : "BDRpcScanFile",
   "file_path" : "/opt/CPsuite-R77/fw1/tmp/te/te_tmp_files/{1BA1DC30-6340-6246-9C33-57E77AEF6589}",
   "referance_uid" : "{14614450-9D4B-FD42-B5C4-3C9FA5B2F71D}"
}

[ 15758 4080826112][25 Jun  9:29:41]  [TE_IS_TRACE (TD::All)] te_is::SocketApiClient::OnListenerCallback: got data:
{
   "api_name" : "KavRpcScanFile",
   "file_path" : "/opt/CPsuite-R77/fw1/tmp/te/te_tmp_files/{1BA1DC30-6340-6246-9C33-57E77AEF6589}",
   "heuristics_level" : "maximum",
   "last_update" : "25.6.2018 3:5:0",
   "referance_uid" : "{14614450-9D4B-FD42-B5C4-3C9FA5B2F71D}",
   "severity_level" : "",
   "status" : 0,
   "status_text" : "CLEAN",
   "threat_name" : "",
   "threat_type" : ""
}

[ 15758 4080826112][25 Jun  9:29:42]  [TE_IS_TRACE (TD::All)] te_is::SocketApiClient::OnListenerCallback: got data:
{
   "api_name" : "BDRpcScanFile",
   "file_path" : "/opt/CPsuite-R77/fw1/tmp/te/te_tmp_files/{1BA1DC30-6340-6246-9C33-57E77AEF6589}",
   "last_update" : "25.06.2018 07:49:28",
   "referance_uid" : "{14614450-9D4B-FD42-B5C4-3C9FA5B2F71D}",
   "status" : 1,
   "status_text" : "CLEAN"
}