Beispiel #1
0
        private void btnExistsCollecData_Click(object sender, EventArgs e)
        {
            // Posts the following HTTP Post request with the following data, in order to know if a collection already exists or not
            // Customer name = speedyservices.com (use the customer's domain name: i.e.: topimagesystems.com)
            // eFlow Application Name = CLS
            // 'cln' indicates the 'Collection Name' (field name) on the Supplier Portal
            // '00000323' indicates the value of collection name for which you want to get the data, if it exists or not
            // 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())
            {
                // 'cln' indicates the Collection Name on the Supplier Portal backend
                string res = s.HttpPostCollectionQry("topimagesystems.com", "CLS", "cln", "00000323", 80, false);
            }
        }