Create new scan

KEY REQUIRED POST/api/new/{key}

Parameter:

The parameter "file" is required in post command to upload your file

Example in c#

Example in vb.NET

Example with HTTPIE

Status report:

The status can return 8 type of error all listed above:

0 => "Scan created.",
1 => "The uploaded file exceeds the upload_max_filesize.",
2 => "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.",
3 => "The uploaded file was only partially uploaded.",
4 => "Invalid API key.",
5 => "This API key is expired.",
6 => "This key can't be used for API.",
7 => "Max authorized IP for this API.",
8 => "Maintenance mode.",
9 => "Error occured during the upload to our webservice.",
10 => "You've reached the maximum scan per day."

Example of successful result:
{
"status": 0,
"status_strg": "Scan created",
"scan_id": "0b612e18289cfe27cf5237d221a5a4ac908da337f3bf123979f0ff4331c25bfa"
}

Get the status

Get the result data

Get versions of antivirus

© scanmybin.net - 2017-2018, All rights reserved.