Get a list of items from lookup table
get
/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
Path Parameters
-
orchestratedSystemId(required): string
The unique id for an Orchestrated System. Available values can be found using the ListOrchestratedSystems operation.
Query Parameters
-
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" ]
Header Parameters
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
List of data returned from Look Up table
Headers
-
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.
Root Schema : LookupCollection
Type:
object
The get data from the lookup table
Show Source
-
items(required):
array items
collection of label and value
Nested Schema : items
Type:
array
collection of label and value
Show Source
-
Array of:
object LabelValuePair
The label and value pair
Nested Schema : LabelValuePair
Type:
object
The label and value pair
Show Source
-
label(required):
string
The label
-
value(required):
string
The value
400 Response
Bad Request
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Unauthorized
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Not Found
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Too Many Requests
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Internal Server Error
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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
Unknown Error
Headers
-
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.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
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" } ] }