Sort
/management/weblogic/{version}/serverRuntime/JMSRuntime/JMSServers/{name}/sessionPoolRuntimes/{name}/JMSServer/destinations/{name}/durableSubscribers/{name}/sort
Sorts the entire message result set managed by the cursor according to the JMS 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. 
- 
            fields(optional): 
            array  Items
            
            Title:ItemsThe JMS 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 JMS header attributes on which to sort.
- 
                        Admin: basic
                        
                        Type:basicDescription:A user in the Admin security role.
Response
- application/json
200 Response
Returns the following fields:
objectReturn- 
            return(optional): 
            integer(int64)
            Returns the action's result.