GET: Bulk Work From Home Requests

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%20IPs.csv"

Example Response

{
  "created_time":"2020-08-27T16:55:21.078465Z",
  "filename":"WFH%20IPs.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 date and time 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 date and time 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

1 comment
Date Votes
  • This seems to be a copy of the "POST Submit a Bulk Work From Home Request" and does not include the GET information.

    0

Please sign in to leave a comment.