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

                result.EnsureSuccessStatusCode();
            }
        }
Exemple #2
0
 public async Task <StartExportSessionResponse> StartExportSessionByTransactionAsync(StartExportSessionByTransactionRequest request) => await Task.FromResult(new StartExportSessionResponse());
Exemple #3
0
 public async Task <StartExportSessionResponse> StartExportSessionByTransactionAsync(StartExportSessionByTransactionRequest request) => await ExecuteHttpPostAsync <StartExportSessionResponse>("v1", "startexportsessionbytransaction", request).ConfigureAwait(false);