• Tan Hong Zhou

    I keep getting this error when trying to fetch products : “Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature”. Any idea what could go wrong?

  • Tan Hong Zhou

    I keep getting this error when trying to fetch products : “Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature”. Any idea what could go wrong?

  • Tan Hong Zhou

    Where can we find our AID? Affiliate ID?

    • omg007

      Take a look at any of your Optimise Tracking links – there will be a parameter called &AID= – this is your AffiliateID

      • Nikhil B

        Hi, i am not able to find it, can u be more specific.

  • Hemanta Chakladar

    Is there any option to get coupon/deal feed through API ?

  • OM
  • OM

    And what are the response parameters for Reports / Affiliate / TransactionsOverview

    • OM

      Hello?

      • omg007

        Thanks for your question. Apologies for the delay in replying. This article has been updated with the information requested.

  • Hemanta Chakladar

    In ‘Reports / Affiliate / TransactionsOverview – Request parameter’, what are the possible values of ‘status’ ?

    • omg007

      Thanks for your question. This article has been updated with the information requested.

      • Hemanta Chakladar

        Thanks for updating

    • Anoop Kumar

      Hi Hemant,

      The possible value of ‘status’ are: (-1 -> All, 0 -> Validated, 1 -> Rejected, 2 -> Pending)

      • Hemanta Chakladar

        Thanks 🙂

  • Parveen Dutt kaushik

    Hi, I have a website(wordpress) & Optimise(OMGPM) account, Now i want to integrate api with my site. Anyone can do this job if you are interested please drop me a mail with your amount and time.

    Email Id: parveenkaushik.in@gmail.com

    Website anyshopdeal.com

  • ANKIT KATIYAR

    What format dates in response like ActivationDate are using. It’s giving dates as

    “ActivationDate”: “/Date(1462230000000+0100)/”
    “Addedon”: “/Date(1462266547230+0100)/”

    Using java to convert. any suggestion?

    • Samith N

      dd/mm/yyyy

  • Manas Kumar Sahoo

    Hi,

    I was consuming rest api, where I was trying to get json response using by setting the request property as

    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod(“GET”);
    con.setRequestProperty(“Content-Type”, “application/json; charset=utf-8”);

    I am not able to get json response instead of I am getting xml response where as when accessing via postman rest client I was able to get the json response.

    Please let me know where I missed to add anything.

    Thanks.

    • Anoop Kumar

      Hi Manas,

      Have you tried the code without “charset=utf-8”, It works:

      con.setRequestProperty(“Content-Type”, “application/json”);

      Thanks

      • Manas Kumar Sahoo

        Thanks Anoop for reply. I tried the way you suggested, below is the sample code and response,

        private String sendGet(String url) {
        StringBuffer response = new StringBuffer();
        try {
        URL obj = new URL(url);
        HttpURLConnection con = (HttpURLConnection) obj.openConnection();
        //con.setRequestMethod(“GET”);
        //con.setRequestProperty(“Content-Type”, “application/json; charset=UTF-8”);
        con.setRequestProperty(“Content-Type”, “application/json”);
        con.connect();
        int responseCode = con.getResponseCode();
        System.out.println(“Response Code : ” + responseCode);
        BufferedReader in = new BufferedReader(new InputStreamReader(
        con.getInputStream()));
        String inputLine;

        while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
        }
        in.close();
        // print result
        System.out.println(response.toString());
        } catch (Exception ex) {
        ex.printStackTrace();
        }
        return response.toString();
        }

        Response:


        Manas Sahoo (Affiliate)
        12345

        • Anoop Kumar

          Hi Manas,

          Can you please check now, the API gives response in JSON format for your Java code.

          Thanks

    • Harsh Sharma

      manas i want to talk with you regarding api of my site…. so pls. mail me your no . in harsh.suncity@gmail.com

  • Harsh Sharma

    Sir, i have a website called http://www.sweetclues.com and i want to integrate api key of optimise data i dont have any technical knowledge so pls. guide me how should i do..

    • bbirajdar

      Your website is awesome. How are you getting that coupon codes?

    • Are you using a WordPress plugin on your current site? If so which one?

  • info mediaz

    Sir, We are working on e commerce site (PHP) …were in we had displayed each merchants products. but…… got stuck in price comparison of products for different merchants and display…need help what to be done to proceed….

  • Prashant Srivatsava

    hello sir i am using your api in asp.net (C#) platform i create a page where member click and open the links but how it tracks to show data in my software i am using your tracking api -Reports / Affiliate / TransactionsOverview but could not understand where it call when member click on advertisement /or on admin reports time please help me because api gives null records, if you have any contact number for tech support please mail me on my mail id- prashantamitoos@gmail.com i

  • SolidCoupon.com

    We offer great deal & discount on shopping & recharge on our website http://www.solidcoupon.com, we want to integrate voucher api, can you please email list of active store on contact@solidcoupon.com.

  • Khagesh Patel

    aa

  • Kumar Kk

    Can anyone suggest free plugins that can support to have automated feed (product feed or voucher codes feed) into the portal? Based on the plugin, i would select the platform like
    wordpress, any ecommerce. Kindly suggest.

  • SuggestBuddy Inc.

    GetVoucherCodes returning 404 resource not found with the same hit which was working fine earlier. what should be the start-end date and category name for returning all active vouchers.

  • Demo

    How to implement pagination for Reports transaction records….I can pass NumberOfRecords but not able to pass offset…Thanks

Translate »