public static void TestSellableInventoryAddUpdate(InventoryGuideService.InventoryGuideServiceClient client) { var request = new SellableInventoryAddUpdateRequest(); request.SellableInventory = new SellableInventory(); request.SellableInventory.SellableInventoryHashKey = "95e034fa-5072-41f2-b540-57e37cc996e2"; request.SellableInventory.SellableInventorySqn = 1539057042; request.SellableInventory.StationHashKey = "6d967bcf-c0dd-4713-8b61-07f53018cdee"; request.SellableInventory.StationGroupHashKey = "2d2815bb-b261-4d31-a0ce-9f66ea5ac472"; request.SellableInventory.RateCardHashKey = "c05f6673-4921-497e-8aff-0130397bab9d"; request.SellableInventory.RateCardDaypartHashKey = "f4972519-46e4-4539-8ebd-187e26a9c207"; request.SellableInventory.RateCardTypeHashKey = "1e1ec97a-9437-47e2-8511-3f473bafa2e9"; request.SellableInventory.SellingTitleHashKey = "07035202-c741-460f-a498-51b26b72e22f"; request.SellableInventory.SellingTitleDaysOfWeekHashKey = "5f8527f0-87fb-49bb-b810-02b35611e867"; request.SellableInventory.SellingTitleTimeRangeHashKey = "22885e8a-f0fd-443b-b339-5c0796c6cb6b"; request.SellableInventory.RatePeriodHashKey = "470ea82a-1770-4a1b-8f39-14f8ee474616"; var response = client.SellableInventoryAddUpdate(request); }
public static void TestSellableInventoryAddUpdate(SellableInventoryMartService.SellableInventoryMartServiceClient client) { var request = new SellableInventoryAddUpdateRequest(); request.SellableInventory = new SellableInventory(); request.SellableInventory.SellableInventoryHashKey = "7fae2e9c-f729-4fac-afe3-4f84b65e4169"; request.SellableInventory.SellableInventorySqn = 1037389668; request.SellableInventory.StationHashKey = "00ad11e4-1120-4e71-ac55-1fe5204a195f"; request.SellableInventory.StationGroupHashKey = "6278b830-823f-407f-9925-75e9956a2945"; request.SellableInventory.RateCardHashKey = "6413979e-6cbc-4d63-a5ac-20e085681060"; request.SellableInventory.RateCardDaypartHashKey = "5b86e090-f207-43e5-ab40-402d78287ff6"; request.SellableInventory.RateCardTypeHashKey = "688e9478-f1c3-4a1c-950c-fc8e96efd39d"; request.SellableInventory.SellingTitleHashKey = "ad0f7c97-4000-4987-876b-15075f691a16"; request.SellableInventory.SellingTitleDaysOfWeekHashKey = "aba4e57a-eafa-4f1c-9a9c-9a1a5c89407b"; request.SellableInventory.SellingTitleTimeRangeHashKey = "6a706f3e-4541-432b-add5-47c7a4e9e9b1"; request.SellableInventory.SellableInventoryPeriodHashKey = "cb6fd085-10d4-4207-8799-cf029cc137b7"; var response = client.SellableInventoryAddUpdate(request); }
public override async Task <SellableInventoryAddUpdateResponse> SellableInventoryAddUpdate(SellableInventoryAddUpdateRequest request, ServerCallContext context) { var res = await _executor.ExecuteAsync(new SellableInventoryAddUpdateQuery { SellableInventory = request.SellableInventory.ToEntity() }).ConfigureAwait(false); var returnVal = res; var result = new SellableInventoryAddUpdateResponse { }; return(result); }