Developer Forum [ All Topics | New Topic ]

Thread: How to Delete Lots?

  how to delete lot?
i have following link but i have no idea how to use this link,please help me
   http://technet.rapaport.com/webservices/Upload/DiamondManager.asmx?op=DeleteLots


>> add a comment
Mrugesh
03/29/2014 01:25


1 Replies:

hi, 

see below code sample. I assume that you are familiar with  the DiamondManager web service. if this is not the case, I would take  a look here first http://technet.rapaport.com/Info/LotUpload/SampleCode/webService_Example.aspx.


code sample:


DiamondManager _manag = new DiamondManager();

_manag.Login("Username", "Password");

DeleteLotParameters dl = new DeleteLotParameters();

dl.ByField = ByFieldTypes.RapnetLotID;

dl.FieldValueList = "DiamondID_1,DiamondID_2.....,DiamondID_10";

_manag.DeleteLots(dl);





           


 



>> add a comment
Ephraim
3/30/2014 5:22:00 AM