REST - Action Button
The EWActionButton operation runs an action button from a specified record, as an asynchronous call.
- Returns: the record ID and callback ID.
- Supported Content-Type: application/x-www-form-urlencoded
- Compatible with EWAsyncStatus, which can be used to check the status of the call.
- Accepts a URL with URL-encoded parameters and record data. For more information about general URL conventions, see REST Interface.
- Additionally, the URL must contain the table name, the ID of the record, and the name of the field that contains the action button to run.
This operation must use a POST request.
Example
Here is an example using the cUrl utility:
curl -is -X POST "https://your.server.com/ewws/async/EWActionButton?%24KB=Demo&%24login=admin&%24password=****&%24lang=en&%24table=case&name=ab_field&id=82" HTTP/1.1 200 OK Connection: keep-alive Content-Type: charset=UTF-8;charset=UTF-8 Content-Length: 48 Date: Fri, 14 Aug 2020 10:12:53 GMT EWREST_id='82'; EWREST_EWCALLBACK_ID='10100_1';