Hello,
For some of our processes, we utilize a 3rd party that will make API calls to Smartsheet. Occasionally, the 3rd party claims that they don't receive a response back from Smartsheet, and the request will then timeout. They claim that when this timeout happens, they send a "cancellation request" to Smartsheet, and then re-submit the API call that timed out. Their assumption seems to be that when they send this cancellation request, Smartsheet should no longer process the timed-out call.
One of the issues, is that the first call actually seems to have processed fine on Smartsheet's end. So if the failing call is to add a row, the row is added, the 3rd party "cancels" the request, but then a second row is added when they resubmit the "failing" command. Obviously, duplicate rows can create a problem.
We've been going back and forth with the third party and Smartsheet on this for months, but my question on this post is this: Is there a method to cancel an API call that was made? The third party is using the C# SDK, and claims the timeout they're referring to is set by the "HttpClient Timeout via SmartSheetBuilder.SetHttpClient". I can't find anything in the API documentation to document a process to cancel a sent API call, but I also don't write in C#, so I'm not entirely sure how the SDK is functioning. My assumption is that it's not cancelling the sent API call, but just that the program using the SDK should stop waiting for a response once a timeout is reached.
Any insight that I can pass along to the third party support would be greatly appreciated.
Thank you!