POST: Submit a Bulk Work From Home Request

https://api.bitsighttech.com/ratings/v1/findings/wfh/bulk

Upload IP addresses in bulk via CSV file for Work From Home (WFH). Each user can upload up to 10 CSV files.

Parameters

* Required.

file

* Required.

[formData] Provide the location of the CSV file containing a single column of IP addresses for your WFH request.

Value: [String] File directory path and the file name.

Example: path/WFH%20IPs.csv
filename

* Required.

[formData] Identify the file.

Value: [String]

Example: WFH%20IPs.csv

Example Request

cURL Example

curl -X POST https://api.bitsighttech.com/ratings/v1/findings/wfh/bulk -u api_token: -F "filename=WFH%20IPs.csv" -F "file=@path/WFH IPs.csv"

Example Response

{
  "created_time":"2020-08-27T16:55:21.078465Z",
  "filename":"WFH IPs.csv",
  "guid":"f518aa14-a755-4c96-acb7-ae35e79098a6",
  "updated_time":"2020-08-27T16:55:21.078505Z",
  "length":31,
  "status":"not_started"
}

Response Attributes

Field Description
created_time

String [YYYY‑MM‑DDTHH:MM:SSZ]

The datetime when the CSV of IP addresses for this WFH request was uploaded to the Bitsight platform.
filename

String

The name of the uploaded file for this WFH request.
guid

String [wfh_guid]

The unique identifier of this WFH request.
updated_time

String [YYYY‑MM‑DDTHH:MM:SSZ]

The most recent datetime when this WFH request was last modified (creation or rescan date).
length

Integer

The number of IP addresses in this WFH request.
status

String

The processing status of this WFH request.
  • August 27, 2020: Published.
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.