Skip to main content

Obtain the status of bulk upload on the source

GET 

https://sailpoint.api.identitynow.com/v2024/non-employee-sources/:id/non-employee-bulk-upload/status

The nonEmployeeBulkUploadStatus API returns the status of the newest bulk upload job for the specified source. Requires role context of idn:nesr:read

Request

Path Parameters

    id stringrequired

    Source ID (UUID)

    Example: e136567de87e4d029e60b3c3c55db56d

Responses

Status of the newest bulk-upload job, if any.

Schema
    statusstring

    Returns the following values indicating the progress or result of the bulk upload job. "PENDING" means the job is queued and waiting to be processed. "IN_PROGRESS" means the job is currently being processed. "COMPLETED" means the job has been completed without any errors. "ERROR" means the job failed to process with errors. null means job has been submitted to the source.

    Possible values: [PENDING, IN_PROGRESS, COMPLETED, ERROR]

    Example: PENDING

Authorization: oauth2

type: Personal Access Token
scopes: sp:scopes:all
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/non-employee-sources/:id/non-employee-bulk-upload/status"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v2024
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!