Search approval by user and by search text
You can use the searchApprovalsByUserAndSearchText method to get all the approvals that contain the specified users who are approvers and the search text. The search is performed only on the character fields. This method does not support search on date fields and integer fields.
URL
The following URL is the syntax for the searchApprovalsByUserAndSearchText method:
Parameters
The following parameters are supported by the searchApprovalsByUserAndSearchText method:
Parameter | Description | Example |
---|---|---|
userId | Specifies the user ID of the approver user | GET rx/application/approval/search?userId=Allen |
searchText | (Required) Specifies the text that you want to search. | GET rx/application/approval/search?userId=Allen&searchText=Where Is My Approval |
searchBy | Specifies the attributes from the Signature domain object on which you want to search. You can provide attributes such as justification, process, and application. You can use the following searchBy attributes to search the AP:Detail-Signature fields:
Note: If you do not specify the searchBy attribute, the search is performed on all the character fields of the Signature objects. |
|
Related topics