Sort
/management/weblogic/{version}/serverRuntime/SAFRuntime/agents/{name}/remoteEndpoints/{name}/sort
Sorts the entire message result set managed by the cursor according to the SAF header attributes specified. The cursor position is set to the new position of the message corresponding to the "start" location before the sort is performed. The method returns the new cursor position.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the following fields:
objectArguments-
ascending(optional):
array Items
Title:
ItemsDetermines whether the sort of the corresponding fields element is in ascending or descending order.
-
cursorHandle(optional):
string
The handle of the cursor on which to perform the sort operation
-
fields(optional):
array Items
Title:
ItemsThe SAF header attributes on which to sort.
-
start(optional):
integer(int64)
The location of the message before the sort that will be the first message returned after the sort. A value of -1 will place the cursor start position at the head of the new sort order.
arrayItemsDetermines whether the sort of the corresponding fields element is in ascending or descending order.
arrayItemsThe SAF header attributes on which to sort.
-
Admin: basic
Type:
basicDescription:A user in the Admin security role. -
Monitor: basic
Type:
basicDescription:A user in the Monitor security role. -
Operator: basic
Type:
basicDescription:A user in the Operator security role.
Response
- application/json
200 Response
Returns the following fields:
objectReturn-
return(optional):
integer(int64)
Returns the action's result.