public async Task GetLagTime() { //var items = await itemApi.GetAllItems(1,10); //var sku = items.Items[0].Sku; LagTime result = await lagtimeApi.GetLagTime("NETSDK_TEST"); Assert.IsType <LagTime>(result); }
public async Task <LagTime> GetLagTime(string merchantSku) { Base.Http.Request request = CreateRequest(); request.EndpointUri = string.Format("/v2/lagtime?sku={0}", merchantSku); Base.Http.IResponse response = await client.GetAsync(request); LagTime result = await ProcessResponse <LagTime>(response); return(result); }
public async Task GetLagTime() { LagTime result = await lagtimeApi.GetLagTime("test"); Assert.IsType <LagTime>(result); }