Пример #1
0
        private void btnDeleteAllCollecDataInstances_Click(object sender, EventArgs e)
        {
            // Posts the following HTTP Post request in order to DELETE the first found collection instance 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 the first found collection instance
            // 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)

            // HttpPostCollectionDeleteFirstFound does NOT perform any filtering, so it looks to see if any given instance of the collection exists.

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