Newer Version Available
Search Contract Document Action
This action is available in API version 64.0 and later.
Special Access Rules
To use this action, Contracts AI User permission set is required.
Supported REST HTTP Methods
- URI
- /services/data/v65.0/actions/standard/searchContractDocument
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
| Input | Details |
|---|---|
| contractId |
|
| searchQuery |
|
| resultLimit |
|
Outputs
| Output | Details |
|---|---|
| searchResult |
|
Example
- POST
-
This sample request is for the Search Contract Document action.
1{ 2 "inputs": [ 3 { 4 "contractId": "800VW000006142vYAA", 5 "searchQuery": "Show me the contract for paper packaging deliveries.", 6 "resultLimit": "1000" 7 } 8 ] 9} -
This sample response is for the Search Contract Document action.
1{ 2 "actionName": "searchContractDocument", 3 "errors": null, 4 "invocationId": null, 5 "isSuccess": true, 6 "outcome": null, 7 "outputValues": { 8 "searchResult": "AGREEMENT FOR DELIVERY OF PAPER PACKAGING MATERIALS\n\nThis Agreement...." 9 }, 10 "sortOrder": -1, 11 "version": 1 12}