Virima API Specification - PreprocessorService Services
The requests documented in this section are directed to
PreprocessorService resources, which represent User addPreprocessor, archivePreprocessor, editPreprocessor,getAllPreprocessor -- as called by a partner or directly by a webapp using the API..
addPreprocessor POST Interface
addPreprocessorService(POST) is called when user is trying to add risk using user credential.
Method: POST
Relative URL: preprocessor/add
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
preprocessor | Preprocessor | |
Response Structure:
Field Name | Type | Description |
---|
response | Preprocessor | |
Example Request:
ADDPREPROCESSOR
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"name":"?",
"description":"?",
"scriptText":"?",
"archive":?,
"probeId":?,
"uniqueId":"?"
}
Example Response:
{
"id":94244202,
"name":"?",
"description":"?",
"scriptText":"?",
"archive":?,
"probeId":?,
"uniqueId":"?"
}