Exemplo n.º 1
0
        private void btnDeleteAllCollecDataInstances_Click_1(object sender, EventArgs e)
        {
            // Posts the following HTTP Post request in order to DELETE ALL collection instances with 'cln' as collectionName
            // Customer name = topimagesystems.com (use the customer's domain name: i.e.: topimagesystems.com)
            // eFlow Application Name = CLS
            // '00000323' indicates the value of collection name for which you want to DELETE all collections instances
            // Port (where the HTTP server runs) = 80 (change port if the Supplier Portal sites runs on a different HTTP port)
            // SSL connection = false (use true if SSL is used)

            using (Sp s = new Sp())
            {
                s.HttpPostCollectionDeleteAll("topimagesystems.com", "CLS", "00000323", 80, false);
            }
        }