/// <summary> /// Тест переноса составов на отправление на УЗ по данным КИС /// </summary> //public void IDSTransfer_InsertOutgoingSostavOfKis() //{ // IDSTransfer ids = new IDSTransfer(service.Test); // ids.InsertOutgoingSostavOfKis(); //} public void IDSTransfer_IncomingArrivalSostav() { IDSTransfer ids = new IDSTransfer(service.Test); int res = ids.IncomingArrivalSostav(42407, new List <int> { 63664767 }, @"EUROPE\ealevchenko"); }
public IHttpActionResult PostIncomingArrivalSostav([FromBody] TransferObject value) { try { IDSTransfer ids_tr = new IDSTransfer(service.WebAPI_IDS); int result = ids_tr.IncomingArrivalSostav(value.id, null, value.user); return(Ok(result)); } catch (Exception e) { return(BadRequest(e.Message)); } }
public void IDSTransfer_IncomingArrivalSostav_All() { IDSTransfer ids = new IDSTransfer(service.Test); int res = ids.IncomingArrivalSostav(); }