Hi,
is there any way of setting the execution timeout when making an API call via REST?. I'm currently getting the following error after 30 secs with some longer running queries:
{
"Message": "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.",
"ExceptionType": "System.Data.SqlClient.SqlException",
"FullException": "System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out\r\n at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning............... etc
If I use Get-SwisData via PowerShell, I can get it to work by adding the -TimeOut parameter, but I can't find any way to do the same thing with a REST query (just a basic SWQL query using the GET method).