Get Action Logs
get
/rest/v19/assets/actionLogs
This operation retrieves a list of all action logs.
Request
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
-
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>
The following are the available finder names and corresponding finder variables:
- findOpenQuotes:Find open quotes using asset key.
Finder Variable:- assetKey;string:assetKey
- findOpenOrders:Find open orders using asset key.
Finder Variable:- assetKey;string:assetKey
- findByStatusCodes:Find Assets by status codes.
Finder Variable:- statusCode;string:statusCode
- findOpenQuotes:Find open quotes using asset key.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderby: string
This parameter orders a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "ASC" or "DESC". Specify "ASC" for ascending and "DESC" for descending. The default value is "ASC". For example, ?orderby=field1:ASC,field2:DESC.
-
q: string
Filter (a ???where???clause) to restrict the items returned in the collection. By default, no filtering is applied.
-
totalResults: boolean
The resource collection representation will include the total row count when "?totalResults=true", otherwise the count is not included. The default value is "false".
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : ResponseCollectionModel_actionLogBean
Type:
Show Source
object
-
count:
integer()
Title:
Count
Read Only:true
The number of resource instances returned in the current range. -
hasMore:
boolean()
Title:
HasMore
Read Only:true
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
limit:
integer()
Title:
Limit
Read Only:true
The actual paging size used by the server. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
offset:
integer()
Title:
OffSet
Read Only:true
The offset value used in the current page. -
totalResults:
integer()
Title:
Total Results
Read Only:true
Captures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : actionLogBean
Type:
Show Source
object
-
assetId:
integer()
Title:
Asset Id
Read Only:true
-
assetKey:
string()
Title:
Asset Key
Read Only:true
-
dateAdded:
string()
Title:
Date Added
Read Only:true
Last modified date of Asset Charge Bean. -
dateModified:
string()
Title:
Date Modified
Read Only:true
Creation date of the Asset Charge Bean. -
documentNumber:
integer()
Title:
Document Number
Read Only:true
-
id:
integer()
Title:
Id
Read Only:true
-
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
requestedDate:
string()
Title:
Requested Date
Read Only:true
-
resourceActionType:
string()
Title:
Resource Action Type
Read Only:true
-
transactionId:
integer()
Title:
Transaction Id
Read Only:true
-
transactionStage:
string()
Title:
Transaction Stage
Read Only:true
-
transactionStatus:
string()
Title:
Transaction Status
Read Only:true
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Examples
The following example shows how to retrieve a list of all action logs by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/assets/actionLogs?limit=2&onlyData=true
Response Body Sample
{ "offset": 0, "limit": 2, "count": 2, "hasMore": true, "items": [{ "id": 3023799069, "assetId": 3023799067, "assetKey": "abo_6a05a3e5-58fb-456b-84eb-0b41e48aa624", "resourceActionType": "NEW", "transactionId": 3023752096, "documentNumber": 2, "requestedDate": "2025-05-16T07:00:00Z", "dateAdded": "2025-05-16T08:05:06Z", "dateModified": "2025-05-16T08:05:06Z" }, { "id": 3023990902, "assetId": 3023990900, "assetKey": "abo_1053f976-f61b-4332-8e49-6548a495fadc", "resourceActionType": "NEW", "transactionId": 3023978149, "documentNumber": 2, "requestedDate": "2025-06-02T07:00:00Z", "dateAdded": "2025-06-03T05:20:29Z", "dateModified": "2025-06-03T05:20:29Z" } ] }