public async Task EndExportSessionV1_ShouldReturn()
        {
            using (var httpClient = new HttpClient())
            {
                var requestData = new EndExportSessionRequest();
                var content     = new StringContent(JsonConvert.SerializeObject(requestData), Encoding.UTF8, "application/json");
                var result      = await httpClient.PostAsync(new Uri(_url + "/v1/endexportsession"), content);

                result.EnsureSuccessStatusCode();
            }
        }
Example #2
0
 public async Task <EndExportSessionResponse> EndExportSessionAsync(EndExportSessionRequest request) => await Task.FromResult(new EndExportSessionResponse());
Example #3
0
 public async Task <EndExportSessionResponse> EndExportSessionAsync(EndExportSessionRequest request) => await ExecuteHttpPostAsync <EndExportSessionResponse>("v1", "endexportsession", request).ConfigureAwait(false);