List Non-Employee Sources
GET {{baseUrl}}/non-employee-sources
This gets a list of non-employee sources. There are two contextual uses for the requested-for path parameter:
1. The user has the role context of idn:nesr:read
, in which case he or
she may request a list sources assigned to a particular account manager by passing in that manager's id.
2. The current user is an account manager, in which case me
should be
provided as the requested-for
value. This will provide the user with a list of the sources that he or she owns.
Body
PARAM
Key | Datatype | Required | Description |
limit
|
number | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | |
offset
|
number | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | |
count
|
boolean | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | |
requested-for
|
string | (Required) The identity for whom the request was made. *me* indicates the current user. | |
non-employee-count
|
boolean | The flag to determine whether return a non-employee count associate with source. | |
sorters
|
string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, sourceId** |
HEADERS
Key | Curl curl -X GET 'https://tenant.api.identitynow.com/v3/non-employee-sources?limit=250&offset=0&count=true&requested-for=me&non-employee-count=true&sorters=name,created' -H 'Accept: application/json' ENDPOINTS |