Unable to see coupon information
Hello Support
I have created some coupons on a site called Beevou. I then connect to the Beevou site using the appery platform where I can access the coupon using my app. I am having a problem where I can successfully connect to the Beevou site but I cannot see the coupons. The services page is configured as
https://beevou.net/api/vouchers/get_u...
when I do a test I get the following result
{
"total_items":0,
"total_pages":0,
"items":[
Code: Select all
],
"user_id":null
}
The results I should be getting should be with more details about the coupons I have created.
According to the Beevou documentation I should add parameters but I don’t know where to add them on the appery platform. Here is the sample cod
public JSONObject getMyVouchers(int orderBy, int searchType,int page){
List params = new ArrayList();
params.add(new BasicNameValuePair("tag", "getMyVouchers"));
params.add(new BasicNameValuePair("orderBy", String.valueOf(orderBy)));
params.add(new BasicNameValuePair("searchPage", String.valueOf(page)));
Log.e("ORDERBY", String.valueOf(orderBy));
Log.e("SEARCHTYPE", String.valueOf(searchType));
params.add(new BasicNameValuePair("searchType", String.valueOf(searchType)));
JSONObject json = jsonParser.getJSONFromUrl(https://beevou.net/api/vouchers/get_u..., params);
return json;}
How do I configure this on the Appery platform?