Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 16.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

POST /scanner/profiles/create

date_range 04-Aug-21

SUMMARY Initiates a request to create a new scanProfile. The request takes one parameter - createScanRequest, which is just a POJO. To create the scan, you will need to build up a JSON object that contains the Scan Profile name and ips to scan e.g. {'name':'New Scan Profile', 'ips':['10.100.85.135']}

Table 1: POST /scanner/profiles/create resource details:

POST /scanner/profiles/create resource details

MIME Type

text/plain

Table 2: POST /scanner/profiles/create request body details:

POST /scanner/profiles/create request body details

Parameter Data Type MIME Type Description Sample

scanProfile

JSON

application/json

null

null

Table 3: POST /scanner/profiles/create response codes:

POST /scanner/profiles/create response codes

HTTP Response Code Unique Code Description

200

The scan has been successfully created

419

9101

Occurs when a parameter is missing or invalid

500

1030

Occurs when an attempt is made to create a scan when certain conditions are not met, or when too many scan requests have been made

Response Description

An indicator of whether the scan has been created successfully or not.

Response Sample

content_copy zoom_out_map
String
footer-navigation