Get a list of items from lookup table
/access-governance/service-administration/20250331/orchestratedSystems/{orchestratedSystemId}/lookupAttributes
Returns a list of key-value pairs for a given attribute associated with an orchestrated system. These lookup values can be used for performing inbound/outbound transformation or defining permission levels in an access bundle.
Request
-
orchestratedSystemId(required): string
The unique id for an Orchestrated System. Available values can be found using the ListOrchestratedSystems operation.
-
keywordContains: string
Keyword to filter on from the following fields: label. Only one keyword may be provided.
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
lookupType(required): string
The lookup Id of the resource we want to request
-
page: string
Minimum Length:
1
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. -
sortBy: string
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.Default Value:
timeCreated
Allowed Values:[ "timeCreated", "displayName" ]
-
sortOrder: string
The sort order to use, either 'ASC' or 'DESC'.Allowed Values:
[ "ASC", "DESC" ]
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
- application/json
200 Response
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
items(required):
array items
collection of label and value
array
-
Array of:
object LabelValuePair
The label and value pair
object
-
label(required):
string
The label
-
value(required):
string
The value
400 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
401 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
404 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
429 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Default Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Examples
The following example shows how to retrieve a list of items from lookup table by submitting a GET request.
cURL Example - Without Query Parameters
curl -i -X GET \ -H "Authorization:Bearer <your access token>" \ '${service-instance-url}/access-governance/service-administration/20250331/orchestratedSystems/${orchestratedSystemId}/lookupAttributes?lookupType=withAdminOption'
Sample GET command using REST Client
curl -i -X GET \ -H "Authorization:Bearer <your access token> \ '${service-instance-url}/access-governance/service-administration/20250331/orchestratedSystems/da7efca4-8c7a-4d4f-8ad3-c55ac9362de6/lookupAttributes?lookupType=withAdminOption'
Example of the Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "label": "No", "value": "NO" }, { "label": "Yes", "value": "YES" } ] }