API POST request giving 0 as status code

Old topic, but I had the same issue and the information here was very helpful. I used the SAP sandbox mentioned - thanks for that!

I found that using a CookieContainer in Invoke Code activity worked to return the Cookie for TimeSheetEntryCollection. Once I had that figured out we were able to get it working for the

Dim client As RestSharp.RestClient = New RestSharp.RestClient(inEndpoint)
client.Timeout = 10000
client.CookieContainer = New System.Net.CookieContainer

Dim request As RestSharp.RestRequest = New RestRequest(RestSharp.Method.GET)
request.AddHeader("APIKey",AccessToken)

Dim response As IRestResponse = client.Execute(request)
responsecode=response.StatusCode
responsecontent=response.Content

Dim cookies =client.CookieContainer.GetCookieHeader(response.ResponseUri)
cookiecontainer=cookies.ToString

Console.WriteLine("cookieJar "+ cookies.ToString)
Console.WriteLine("response Uri "+response.ResponseUri.ToString)