REST - Async Status
The EWAsyncStatus operation checks the execution status of an asynchronous call, such as EWActionButton, EWUpdate, or EWCreate.
- Returns: the response code for the call's execution status:
- 200: Operation completed successfully.
- 201: The request is queued for execution.
- 202: Operation in progress.
- 501: Operation failed.
- 523: No information about the given callback ID.
- Supported Content-Type: application/x-www-form-urlencoded
- Accepts a URL with URL-encoded parameters and record data. For more information about general URL conventions, see REST Interface.
- Additionally, the URL must include the table name and the callback ID for the asynchronous operation being checked.
This operation must use a POST or GET request.
Example
Here is an example of getting the execution status:
curl -is -X GET "https://example.agiloft.com/ewws/EWAsyncStatus?%24KB=Demo&%24login=admin&%24password=****&%24lang=en&%24table=case&callback_id=76406_9" HTTP/2 200 server: nginx date: Sat, 15 Aug 2020 10:58:48 GMT content-type: charset=UTF-8 content-length: 0 strict-transport-security: max-age=31536000; includeSubDomains