This module enables you to manage reviews and ratings for App items. The item can be anything having an id e.g. App on an App store/ marketplace, items in a catalogue, articles, blogs etc. It manages the review comments and their respective ratings. It also provides various methods to find average, highest and lowest reviews. Reviews can be also be muted or un-muted if they reflect any objectionable content.
In order to use various functions available in a specific API, a developer has to create an instance of ServiceAPI by passing the apiKey and secretKey which will be created after the app creation from AppHQ dashboard.
Required Parameters
apiKey - The Application key given when the application was created.
secretKey - The secret key corresponding to the application key given when the application was created.
ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");ServiceAPI *serviceAPIObj = [[api alloc]init]; api.apiKey = @"<API_KEY>"; api.secretKey = @"<SECRET_KEY>";ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");App42.initialize("API_KEY","SECRET_KEY");ServiceAPI api = new ServiceAPI("API_KEY","SECRET_KEY");$api = new ServiceAPI("API_KEY","SECRET_KEY");Coming Soonapi = App42::ServiceAPI.new("<API_KEY>","<SECRET_KEY>")Coming SoonComing Soon
After initialization, developer needs to call the buildXXXService method on ServiceAPI instance to get the instance of the particular API that you wish to build. For example, To build an instance of ReviewService, buildReviewService() method needs to be called.
ReviewService reviewService = api.buildReviewService();ReviewService reviewService = api.BuildReviewService();ReviewService *reviewService = [api buildReviewService];ReviewService reviewService = api.buildReviewService();ReviewService reviewService = api.buildReviewService();ReviewService reviewService = api.BuildReviewService();var reviewService = new App42Review();ReviewService reviewService = api.BuildReviewService();$reviewService = $api->buildReviewService();Coming SoonreviewService = api.buildReviewService();Coming SoonComing Soon
import com.shephertz.app42.paas.sdk.android.ServiceAPI; import com.shephertz.app42.paas.sdk.android.App42Response; import com.shephertz.app42.paas.sdk.android.App42Exception; import com.shephertz.app42.paas.sdk.android.App42BadParameterException; import com.shephertz.app42.paas.sdk.android.App42NotFoundException; import com.shephertz.app42.paas.sdk.android.review.Review; import com.shephertz.app42.paas.sdk.android.review.ReviewService;using com.shephertz.app42.paas.sdk.windows; using com.shephertz.app42.paas.sdk.windows.review;#import "Shephertz_App42_iOS_API/Shephertz_App42_iOS_API.h"import com.shephertz.app42.paas.sdk.jme.ServiceAPI; import com.shephertz.app42.paas.sdk.jme.App42Response; import com.shephertz.app42.paas.sdk.jme.App42Exception; import com.shephertz.app42.paas.sdk.jme.App42BadParameterException; import com.shephertz.app42.paas.sdk.jme.App42NotFoundException; import com.shephertz.app42.paas.sdk.jme.review.Review; import com.shephertz.app42.paas.sdk.jme.review.ReviewService;import com.shephertz.app42.paas.sdk.java.ServiceAPI; import com.shephertz.app42.paas.sdk.java.App42Response; import com.shephertz.app42.paas.sdk.java.App42Exception; import com.shephertz.app42.paas.sdk.java.App42BadParameterException; import com.shephertz.app42.paas.sdk.java.App42NotFoundException; import com.shephertz.app42.paas.sdk.java.review.Review; import com.shephertz.app42.paas.sdk.java.review.ReviewService;using com.shephertz.app42.paas.sdk.csharp; using com.shephertz.app42.paas.sdk.csharp.review;<script type="text/javascript" src="App42-all-x.x.x.min.js"></script>using com.shephertz.app42.paas.sdk.csharp; using com.shephertz.app42.paas.sdk.csharp.review;use com\shephertz\app42\paas\sdk\php\ServiceAPI; use com\shephertz\app42\paas\sdk\php\App42Response; use com\shephertz\app42\paas\sdk\php\App42Exception; use com\shephertz\app42\paas\sdk\php\App42BadParameterException; use com\shephertz\app42\paas\sdk\php\App42NotFoundException; use com\shephertz\app42\paas\sdk\php\review\ReviewService; include_once '../ServiceAPI.php'; include_once '../App42Response.php'; include_once '../App42Exception.php'; include_once '../App42BadParameterException.php'; include_once '../App42NotFoundException.php'; include_once '../ReviewService.php';Coming Soonrequire 'App42_Ruby_API'Coming SoonComing Soon
Creates review for the specified item on the cloud.
Required Parameters
userID - The user who has created the review.
itemID - The item for which the review has to be created.
reviewComment - The review comment.
reviewRating - Review rating in double.
String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; Review review = reviewService.createReview(userID,itemID,reviewComment,reviewRating); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();public class Callback : App42Callback { String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; reviewService.CreateReview(userID,itemID,reviewComment,reviewRating,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { Review review = (Review) response; Console.WriteLine("userId is " + review.GetUserId()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString(); } }NSString NSString *userID = @"Nick"; NSString *itemID = @"itemID"; NSString *reviewComment = @"reviewComment"; double reviewRating = 3; Review *review = [reviewService createReview:userId itemID:itemId reviewComment:reviewComment reviewRating:reviewRating]; NSLog(@"userId =%@", review.userId); NSLog(@"itemId =%@", review.itemId); NSString *jsonResponse = [review toString];String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; Review review = reviewService.createReview(userID,itemID,reviewComment,reviewRating); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; Review review = reviewService.createReview(userID,itemID,reviewComment,reviewRating); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; reviewService.CreateReview(userID, itemID, reviewComment, reviewRating, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { Review review = (Review) response; App42Log.Console("userId is " + review.GetUserId()); App42Log.Console("itemId is " + review.GetItemId()); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var userID = "Nick", itemID = "itemID", reviewComment = "reviewComment", reviewRating = 3, response ; reviewService.createReview(userID,itemID,reviewComment,reviewRating,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews.review; console.log("userId is " + response.userId) console.log("itemId is " + response.itemId) }, error: function(error) { } });String userID = "Nick"; String itemID = "itemID"; String reviewComment = "reviewComment"; double reviewRating = 3; Review review = reviewService.CreateReview(userID,itemID,reviewComment,reviewRating); Console.WriteLine("userId is " + review.GetUserId()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString();$userID = "Nick"; $itemID = "itemID"; $reviewComment = "reviewComment"; $reviewRating = 3; $review = $reviewService->createReview($userID, $itemID, $reviewComment,$reviewRating); print_r("userId is " . $review->getUserId()); print_r("itemId is " . $review->getItemId()); $jsonResponse = $review->toString();Coming Soonuser_id = "Nick"; item_id = "itemID"; review_comment = "reviewComment"; review_rating = 3; review = review_service.create_review(user_id, item_id, review_comment, review_rating); puts "userId is #{review.user_id}"; puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; json_response = review.to_s();Coming SoonComing Soon
Fetches all reviews for the App.
ArrayList<Review> review = reviewService.getAllReviews(); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }public class Callback : App42Callback { reviewService.GetAllReviews(this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); } } }NSArray *review = [reviewService getAllReviews]; NSLog(@"userId =%@", [[review objectAtIndex:0] userId]); NSLog(@"itemId =%@", [[review objectAtIndex:0] itemId); NSString *jsonResponse = [review toString]; }Vector reviewList = reviewService.getAllReviews(); for(int i=0;i < reviewList.size();i++) { Review review = (Review)reviewList.elementAt(i); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); }ArrayList<Review> review = reviewService.getAllReviews(); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }reviewService.GetAllReviews(new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ App42Log.Console("userId is " + review[i].GetUserId()); App42Log.Console("itemId is " + review[i].GetItemId()); } } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var response ; reviewService.getAllReviews({ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews; console.log("response is " + response) }, error: function(error) { } });IList<Review> review = reviewService.GetAllReviews(); for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); }$review = $reviewService->getAllReviews(); print_r("userId is " . $review[0]->getUserId()); print_r("itemId is " . $review[0]->getItemId()); $jsonResponse = $review->toString();Coming Soonreview_list = Array.new(); review_list = review_service.get_all_reviews(); for review in review_list do puts "userId is #{review.user_id}"; puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; end json_response = review_list.to_s();Coming SoonComing Soon
Fetches count of all reviews for the App.
App42Response response = reviewService.getAllReviewsCount(); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();public class Callback : App42Callback { reviewService.GetAllReviewsCount(this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } }App42Response *response = [reviewService getAllReviewsCount]; NSString *success = response.isResponseSuccess; NSString *jsonResponse = [response toString];App42Response response = reviewService.getAllReviewsCount(); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();App42Response response = reviewService.getAllReviewsCount(); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();reviewService.GetAllReviewsCount(new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var response ; reviewService.getAllReviewsCount({ success: function(object) { var review = JSON.parse(object); response = review.app42.response; console.log("success is " + response.success) }, error: function(error) { } });App42Response response = reviewService.GetAllReviewsCount(); Boolean success = response.IsResponseSuccess(); String jsonResponse = response.ToString();$response = $reviewService->getAllReviewsCount(); $success = $respons->isResponseSuccess(); $jsonResponse = $respons->toString();Coming Soonresponse = review_service.get_all_reviews_count(); success = response.is_response_success(); total_records = response.total_records(); json_response = response.to_s();Coming SoonComing Soon
Fetches all reviews for the App by Paging.
Required Parameters
max - Maximum number of records to be fetched.
offset - From where the records are to be fetched.
int max = 1; int offset = 0 ; ArrayList<Review> review = reviewService.getAllReviews(max,offset); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }public class Callback : App42Callback { int max = 1; int offset = 0 ; reviewService.GetAllReviews(max,offset,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); } } }int max = 1; int offset = 0 ; NSArray *review = [reviewService getAllReviews:max offset:offset]; NSLog(@"userId =%@", [[review objectAtIndex:0] userId]); NSLog(@"itemId =%@", [[review objectAtIndex:0] itemId); NSString *jsonResponse = [review toString]; }Integer max = new Integer(1); Integer offset = new Integer(0); Vector reviewList = reviewService.getAllReviews(max,offset); for(int i=0;i < reviewList.size();i++) { Review review = (Review)reviewList.elementAt(i); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); }int max = 1; int offset = 0 ; ArrayList<Review> review = reviewService.getAllReviews(max,offset); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }int max = 1; int offset = 0 ; reviewService.GetAllReviews(max, offset,new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ App42Log.Console("userId is " + review[i].GetUserId()); App42Log.Console("itemId is " + review[i].GetItemId()); } } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var max = 1; var offset = 0 ; var response ; reviewService.getAllReviewsWithPaging(max,offset,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews; console.log("response is " + response) }, error: function(error) { } });int max = 1; int offset = 0 ; IList<Review> review = reviewService.GetAllReviews(max,offset); for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); }$max = 1; $offset = 0 ; $review = $reviewService->getAllReviews($max,$offset); print_r("userId is " . $review[0]->getUserId()); print_r("itemId is " . $review[0]->getItemId()); $jsonResponse = $review->toString();Coming Soonmax = 1; offset = 0; review_list = Array.new(); review_list = review_service.get_all_reviews_by_paging(max, offset); for review in review_list do puts "userId is #{review.user_id}"; puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; end json_response = review_list.to_s();Coming SoonComing Soon
Fetches All Reviews based on the itemId.
Required Parameters
itemId - The item for which reviews have to be fetched.
String itemId = "itemId"; ArrayList<Review> review = reviewService.getReviewByItem(itemId); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetReviewByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); } } }NSString *itemId = @"itemId"; NSArray *review = [reviewService getReviewByItem:itemId]; NSLog(@"userId =%@", [[review objectAtIndex:0] userId]); NSLog(@"itemId =%@", [[review objectAtIndex:0] itemId); NSString *jsonResponse = [review toString]; }String itemId = "itemId"; Vector reviewList = reviewService.getReviewByItem(itemId); for(int i=0;i < reviewList.size();i++) { Review review = (Review)reviewList.elementAt(i); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); }String itemId = "itemId"; ArrayList<Review> review = reviewService.getReviewByItem(itemId); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }String itemId = "itemId"; reviewService.GetReviewByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { IList<Review> review = (IList<Review>)response; for(int i=0;i<review.Count;i++){ App42Log.Console("userId is " + review[i].GetUserId()); App42Log.Console("itemId is " + review[i].GetItemId()); } } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getReviewByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews; console.log("response is " + response) }, error: function(error) { } });String itemId = "itemId"; IList<Review> review = reviewService.GetReviewByItem(itemId); for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); }$itemId = "itemId"; $review = $reviewService->getReviewByItem($itemId); print_r("userId is " . $review[0]->getUserId()); print_r("itemId is " . $review[0]->getItemId()); $jsonResponse = $review->toString();Coming Soonitem_id = "itemID"; review_list = Array.new(); review_list = review_service.get_reviews_by_item(item_id); for review in review_list do puts "userId is #{review.user_id}"; puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; end json_response = review_list.to_s();Coming SoonComing Soon
Fetches count of All Reviews based on the itemId.
Required Parameters
itemId - The item for which count of reviews have to be fetched.
String itemId = "itemId"; App42Response response = reviewService.getReviewsCountByItem(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetReviewsCountByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } }NSString *itemId = @"itemId"; App42Response *response = [reviewService getReviewsCountByItem:itemId]; NSString *success = response.isResponseSuccess; NSString *jsonResponse = [response toString];String itemId = "itemId"; App42Response response = reviewService.getReviewsCountByItem(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; App42Response response = reviewService.getReviewsCountByItem(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; reviewService.GetReviewsCountByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getReviewsCountByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response; console.log("totalRecords is " + response.totalRecords) }, error: function(error) { } });String itemId = "itemId"; App42Response response = reviewService.GetReviewsCountByItem(itemId); Boolean success = response.IsResponseSuccess(); String jsonResponse = response.ToString();$itemId = "itemId"; $response = $reviewService->getReviewsCountByItem(itemId); $success = $respons->isResponseSuccess(); $jsonResponse = $respons->toString();Coming Soonitem_id = "ItemID"; response = review_service.get_reviews_count_by_item(item_id); success = response.is_response_success(); total_records = response.total_records(); json_response = response.to_s();Coming SoonComing Soon
This function allows you to create a User session for the specified User.
Required Parameters
itemId - The item for which reviews have to be fetched.
max - Maximum number of records to be fetched.
offset - From where the records are to be fetched.
String itemId = "itemId"; int max = 1; int offset= 0; ArrayList<Review> review = reviewService.getReviewByItem(itemId,max,offset); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }public class Callback : App42Callback { String itemId = "itemId"; int max = 1; int offset= 0; reviewService.GetReviewByItem(itemId,max,offset,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); } } }NSString *itemId = @"itemId"; int max = 1; int offset= 0; NSArray *review = [reviewService getReviewByItem:itemId max:max offset:offset]; NSLog(@"userId =%@", [[review objectAtIndex:0] userId]); NSLog(@"itemId =%@", [[review objectAtIndex:0] itemId); NSString *jsonResponse = [review toString]; }String itemId = "itemId"; Integer max = new Integer(1); Integer offset = new Integer(0); Vector reviewList = reviewService.getReviewByItem(itemId,max,offset); for(int i=0;i < reviewList.size();i++) { Review review = (Review)reviewList.elementAt(i); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); }String itemId = "itemId"; int max = 1; int offset= 0; ArrayList<Review> review = reviewService.getReviewByItem(itemId,max,offset); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("itemId is " + review.get(i).getItemId()); }String itemId = "itemId"; int max = 1; int offset= 0; reviewService.GetReviewByItem(itemId,max,offset, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { IList<Review> review = (IList<Review>)response; for(int i=0;i<review.Count;i++){ App42Log.Console("userId is " + review[i].GetUserId()); App42Log.Console("itemId is " + review[i].GetItemId()); } } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId", max = 1, offset= 0, response ; reviewService.getReviewsByItemByPaging(itemId,max,offset,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews; console.log("response is " + response) }, error: function(error) { } });String itemId = "itemId"; int max = 1; int offset= 0; IList<Review> review = reviewService.GetReviewByItem(itemId,max,offset); for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("itemId is " + review[i].GetItemId()); }$itemId = "itemId"; $max = 1; $offset= 0; $review = $reviewService->getReviewByItem($itemId,$max,$offset); print_r("userId is " . $review[0]->getUserId()); print_r("itemId is " . $review[0]->getItemId()); $jsonResponse = $review->toString();Coming Soonitem_id = "ItemID"; max = 1; offset = 0; review_list = Array.new(); review_list = review_service.get_review_by_item_by_paging(itemId, max, offset); for review in review_list do puts "userId is #{review.user_id}"; puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; end json_response = review_list.to_s();Coming SoonComing Soon
Fetches the highest review for the specified itemId.
Required Parameters
itemId - The item for which the highest review has to be fetched.
String itemId = "itemId"; Review review = reviewService.getHighestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetHighestReviewByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { Review review = (Review) response; Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString(); } }NSString *itemId = @"itemId"; Review *review = [reviewService getHighestReviewByItem:itemId]; NSLog(@"rating is =%@", review.rating]); NSLog(@"itemId is =%@", review.itemId); NSString *jsonResponse = [review toString]; }String itemId = "itemId"; Review review = reviewService.getHighestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; Review review = reviewService.getHighestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; reviewService.GetHighestReviewByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { Review review = (Review) response; App42Log.Console("rating is " + review.GetRating()); App42Log.Console("itemId is " + review.GetItemId()); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getHighestReviewByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews.review; console.log("rating is " + response.rating) console.log("itemId is " + response.itemId) }, error: function(error) { } });String itemId = "itemId"; Review review = reviewService.GetHighestReviewByItem(itemId); Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString();$itemId = "itemId"; $review = $reviewService->getHighestReviewByItem($itemId); print_r("rating is " . $review->getRating()); print_r("itemId is " . $review->getItemId()); $jsonResponse = $review->toString();Coming SoonitemId = "itemID"; review = reviewService.get_highest_review_by_item(itemId); /* returns the Review object. */ puts "userId is #{review.userId}"; puts "rating is #{review.rating}"; jsonResponse = review.to_s();Coming SoonComing Soon
Fetches the lowest review for the specified itemId.
Required Parameters
itemId - The item for which the highest review has to be fetched.
String itemId = "itemId"; Review review = reviewService.getLowestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetLowestReviewByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { Review review = (Review) response; Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString(); } }NSString *itemId = @"itemId"; Review *review = [reviewService getLowestReviewByItem:itemId]; NSLog(@"rating is =%@", review.rating]); NSLog(@"itemId is =%@", review.itemId); NSString *jsonResponse = [review toString]; }String itemId = "itemId"; Review review = reviewService.getLowestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; Review review = reviewService.getLowestReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; reviewService.GetLowestReviewByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { Review review = (Review) response; App42Log.Console("rating is " + review.GetRating()); App42Log.Console("itemId is " + review.GetItemId()); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getLowestReviewByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews.review; console.log("rating is " + response.rating) console.log("itemId is " + response.itemId) }, error: function(error) { } });String itemId = "itemId"; Review review = reviewService.GetLowestReviewByItem(itemId); Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString();$itemId = "itemId"; $review = $reviewService->getLowestReviewByItem($itemId); print_r("rating is " . $review->getRating()); print_r("itemId is " . $review->getItemId()); $jsonResponse = $review->toString();Coming Soonitem_id = "itemID"; review = review_service.get_lowest_review_by_item(item_id); puts "itemId is #{review.item_id}"; puts "comment #{review.comment}"; puts "rating #{review.rating}"; json_response = review.to_s();Coming SoonComing Soon
Fetches Average Reviews by itemId.
Required Parameters
itemId - The item for which the average review has to be fetched.
String itemId = "itemId"; Review review = reviewService.getAverageReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetAverageReviewByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { Review review = (Review) response; Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString(); } }NSString *itemId = @"itemId"; Review *review = [reviewService getAverageReviewByItem:itemId]; NSLog(@"rating is =%@", review.rating]); NSLog(@"itemId is =%@", review.itemId); NSString *jsonResponse = [review toString]; }String itemId = "itemId"; Review review = reviewService.getAverageReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; Review review = reviewService.getAverageReviewByItem(itemId); System.out.println("rating is " + review.getRating()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String itemId = "itemId"; reviewService.GetAverageReviewByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { Review review = (Review) response; App42Log.Console("rating is " + review.GetRating()); App42Log.Console("itemId is " + review.GetItemId()); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getAverageReviewByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews.review; console.log("rating is " + response.rating) console.log("itemId is " + response.itemId) }, error: function(error) { } });String itemId = "itemId"; Review review = reviewService.GetAverageReviewByItem(itemId); Console.WriteLine("rating is " + review.GetRating()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString();$itemId = "itemId"; $review = $reviewService->getAverageReviewByItem($itemId); print_r("rating is " . $review->getRating()); print_r("itemId is " . $review->getItemId()); $jsonResponse = $review->toString();Coming Soonitem_id = "itemID"; review = review_service.get_average_review_by_item(item_id); puts "userId is #{review.user_id}"; puts "rating is #{review.rating}"; json_response = review.to_s();Coming SoonComing Soon
Fetches count of All Reviews based on the itemId and rating.
Required Parameters
itemId - The item for which count of reviews have to be fetched.
rating - Rating for which count of reviews have to be fetched.
String itemId = "itemId"; double rating = 4; App42Response response = reviewService.getReviewsCountByItemAndRating(itemId,rating); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();public class Callback : App42Callback { String itemId = "itemId"; double rating = 4; reviewService.GetReviewsCountByItemAndRating(itemId,rating,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } }Coming SoonString itemId = "itemId"; double rating = 4; App42Response response = reviewService.getReviewsCountByItemAndRating(itemId,rating); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; double rating = 4; App42Response response = reviewService.getReviewsCountByItemAndRating(itemId,rating); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; double rating = 4; reviewService.GetReviewsCountByItemAndRating(itemId,rating, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var rating = 4; var response ; reviewService.getReviewsCountByItemAndRating(itemId,rating,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response; console.log("totalRecords is " + response.totalRecords) }, error: function(error) { } });String itemId = "itemId"; double rating = 4; App42Response response = reviewService.GetReviewsCountByItemAndRating(itemId,rating); Boolean success = response.IsResponseSuccess(); String jsonResponse = response.ToString();Coming SoonComing SoonComing SoonComing SoonComing Soon
Add a review comment for the existing itemId of the user.
Required Parameters
userId - The user who want to add the comment.
itemId - The item for which the comment has to be add.
comment - Comment for the review.
String userID = "userID"; String itemId = "itemId"; String comment = "comment"; Review review = reviewService.addComment(userID,itemId,comment); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();public class Callback : App42Callback { String userID = "userID"; String itemId = "itemId"; String comment = "comment"; reviewService.AddComment(userID,itemId,comment,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { Review review = (Review) response; Console.WriteLine("userId is " + review.GetUserId()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString(); } }Coming SoonString userID = "userID"; String itemId = "itemId"; String comment = "comment"; Review review = reviewService.addComment(userID,itemId,comment); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String userID = "userID"; String itemId = "itemId"; String comment = "comment"; Review review = reviewService.addComment(userID,itemId,comment); System.out.println("userId is " + review.getUserId()); System.out.println("itemId is " + review.getItemId()); String jsonResponse = review.toString();String userID = "userID"; String itemId = "itemId"; String comment = "comment"; reviewService.AddComment(userID,itemId,comment, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { Review review = (Review) response; App42Log.Console("userId is " + review.GetUserId()); App42Log.Console("comment is " + review.GetComment()); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var userID = "userID", itemId = "itemId", comment = "comment", response ; reviewService.addComment(userID,itemId,comment,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews.review; console.log("userId is " + response.userId) console.log("itemId is " + response.itemId) }, error: function(error) { } });String userID = "userID"; String itemId = "itemId"; String comment = "comment"; Review review = reviewService.AddComment(userID,itemId,comment); Console.WriteLine("userId is " + review.GetUserId()); Console.WriteLine("itemId is " + review.GetItemId()); String jsonResponse = review.ToString();Coming SoonComing SoonComing SoonComing SoonComing Soon
Fetch the review comment for the item.
Required Parameters
itemId - The item for which the comment has to be fetched.
String itemId = "itemId"; ArrayList<Review> review = reviewService.getCommentsByItem(itemId); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("comment is " + review.get(i).getComment()); }public class Callback : App42Callback { String itemId = "itemId"; reviewService.GetCommentsByItem(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { IList<Review> review = (List<Review>) response; for(int i=0;i<review.Count;i++){ Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("comment is " + review[i].GetComment()); } } }Coming SoonString itemId = "itemId"; Vector reviewList = reviewService.getCommentsByItem(itemId); for(int i=0;i < reviewList.size();i++) { Review review = (Review)reviewList.elementAt(i); System.out.println("userId is " + review.getUserId()); System.out.println("comment is " + review.getComment()); }String itemId = "itemId"; ArrayList<Review> review = reviewService.getCommentsByItem(itemId); for(int i=0;i<review.size();i++) { System.out.println("userId is " + review.get(i).getUserId()); System.out.println("comment is " + review.get(i).getComment()); }String itemId = "itemId"; reviewService.GetCommentsByItem(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { IList<Review> review = (IList<Review>)response; for(int i=0;i<review.Count;i++){ App42Log.Console("userId is " + review[i].GetUserId()); App42Log.Console("comment is " + review[i].GetComment()); } } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.getCommentsByItem(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response.reviews; console.log("response is " + response) }, error: function(error) { } });String itemId = "itemId"; IList<Review> review = reviewService.GetCommentsByItem(itemId); for(int i=0;i<review.Count;i++) { Console.WriteLine("userId is " + review[i].GetUserId()); Console.WriteLine("comment is " + review[i].GetComment()); }Coming SoonComing SoonComing SoonComing SoonComing Soon
Mutes the specified review.
Required Parameters
reviewId - The Id of the review which has to be muted.
String itemId = "itemId"; App42Response response = reviewService.mute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.Mute(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } }NSString *itemId = @"itemId"; App42Response *response = [reviewService mute:itemId]; NSString *success = response.isResponseSuccess; NSString *jsonResponse = [response toString];String itemId = "itemId"; App42Response response = reviewService.mute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; App42Response response = reviewService.mute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; reviewService.Mute(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.mute(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response; console.log("totalRecords is " + response.totalRecords) }, error: function(error) { } });String itemId = "itemId"; App42Response response = reviewService.Mute(itemId); Boolean success = response.IsResponseSuccess(); String jsonResponse = response.ToString();$itemId = "itemId"; $response = $reviewService->mute(itemId); $success = $respons->isResponseSuccess(); $jsonResponse = $respons->toString();Coming Soonreview_id = "430cc684-de35-4595-aa38-23c99bda18fc"; response = review_service.mute(review_id); success = response.is_response_success(); json_response = response.to_s();Coming SoonComing Soon
Unmutes the specified review.
Required Parameters
reviewId - The Id of the review which has to be unmuted.
String itemId = "itemId"; App42Response response = reviewService.unmute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();public class Callback : App42Callback { String itemId = "itemId"; reviewService.Unmute(itemId,this); void App42Callback.OnException(App42Exception exception) { Console.WriteLine("Exception Message"); } void App42Callback.OnSuccess(Object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } }NSString *itemId = @"itemId"; App42Response *response = [reviewService unmute:itemId]; NSString *success = response.isResponseSuccess; NSString *jsonResponse = [response toString];String itemId = "itemId"; App42Response response = reviewService.unmute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; App42Response response = reviewService.unmute(itemId); boolean success = response.isResponseSuccess(); String jsonResponse = response.toString();String itemId = "itemId"; reviewService.Unmute(itemId, new UnityCallBack()); public class UnityCallBack : App42CallBack { public void OnSuccess(object response) { App42Response success = (App42Response) response; String jsonResponse = success.ToString(); } public void OnException(Exception e) { App42Log.Console("Exception : " + e); } }var itemId = "itemId"; var response ; reviewService.unmute(itemId,{ success: function(object) { var review = JSON.parse(object); response = review.app42.response; console.log("totalRecords is " + response.totalRecords) }, error: function(error) { } });String itemId = "itemId"; App42Response response = reviewService.Unmute(itemId); Boolean success = response.IsResponseSuccess(); String jsonResponse = response.ToString();$itemId = "itemId"; $response = $reviewService->unmute(itemId); $success = $respons->isResponseSuccess(); $jsonResponse = $respons->toString();Coming Soonreview_id = "430cc684-de35-4595-aa38-23c99bda18fc"; response = review_service.unmute(review_id); success = response.is_response_success(); json_response = response.to_s();Coming SoonComing Soon
The functions available under Session Management API can throw some exceptions in abnormal conditions. Example of the same has been given below. E.g. If App developer is trying to invalidate a Session which is already in invalidated, the function will throw the App42Exception (as shown below) with message as “Not Found” and the appErrorCode as “2202” and the details as “Session with the id ‘48dacb76-7f5e-4011-ac24-e09623bdc70f’ does not exist”.
String itemId = "itemID"; try { Review review = reviewService.getReviewsByItem(itemId); } catch(App42Exception ex) { int appErrorCode = ex.getAppErrorCode(); int httpErrorCode = ex.getHttpErrorCode(); if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } String jsonText = ex.getMessage(); }public class Callback : App42Callback { String itemId = "itemID"; reviewService.GetReviewsByItem(itemId, this); void App42Callback.OnException(App42Exception exception) { int appErrorCode = exception.GetAppErrorCode(); int httpErrorCode = exception.GetHttpErrorCode(); if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } String jsonText = exception.GetMessage(); } void App42Callback.OnSuccess(Object response) { Session session = (Session) response; String jsonResponse = session.ToString(); } }NSString *itemId = @"itemID"; @try { Review *review = [reviewService getReviewsByItem:itemId]; } @catch(App42Exception *ex) { int appErrorCode = ex.appErrorCode; int httpErrorCode = ex.httpErrorCode; if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } NSString *jsonText = ex.reason; }String itemId = "itemID"; try { Review review = reviewService.getReviewsByItem(itemId); } catch(App42Exception ex) { int appErrorCode = ex.getAppErrorCode(); int httpErrorCode = ex.getHttpErrorCode(); if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } String jsonText = ex.getMessage(); }String itemId = "itemID"; try { Review review = reviewService.getReviewsByItem(itemId); } catch(App42Exception ex) { int appErrorCode = ex.getAppErrorCode(); int httpErrorCode = ex.getHttpErrorCode(); if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } String jsonText = ex.getMessage(); }Coming Soonvar itemId = "itemId"; var appErrorCode ; reviewService.getReviewsByItem(itemId,{ success: function(object) { }, error: function(error) { var reviewObj = JSON.parse(error); appErrorCode = reviewObj.app42Fault.appErrorCode; if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } } });String itemId = "itemID"; try { Review review = reviewService.GetReviewsByItem(itemId); } catch(App42Exception ex) { int appErrorCode = ex.GetAppErrorCode(); int httpErrorCode = ex.GetHttpErrorCode(); if(appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if(appErrorCode == 1401) { // handle here for Client is not authorized } else if(appErrorCode == 1500) { // handle here for Internal Server Error } String jsonText = ex.GetMessage(); }$itemId = "itemId"; try { $review = $reviewService->getReviewsByItem($itemId); } catch(App42Exception $ex) { $appErrorCode = $ex->getAppErrorCode(); $httpErrorCode = $ex->getHttpErrorCode(); if($appErrorCode == 3100) { // Handle here for Not Found (Reviews for the Item with Id '@itemid' do not exist.) } else if($appErrorCode == 1401) { // handle here for Client is not authorized } else if($appErrorCode == 1500) { // handle here for Internal Server Error } $jsonText = $ex->getMessage(); }Coming SoonComing SoonComing SoonComing Soon
Functions in Session API might throw exceptions with following HTTP and Application Error Codes (along with their descriptions):
1400 - BAD REQUEST - The Request parameters are invalid
1401 - UNAUTHORIZED - Client is not authorized
1500 - INTERNAL SERVER ERROR - Internal Server Error. Please try again
3100 - NOT FOUND - Reviews for the Item with Id '@itemId' do not exist.
3101 - NOT FOUND - Review with the Id '@reviewId' does not exist.
3102 - BAD REQUEST - Reviews for the User with Id '@userId' and Item with Id '@itemId' already exists.
3103 - NOT FOUND - Reviews do not exist.
3104 - NOT FOUND - The number of reviews are less than the specified offset : <offset>.
3105 - NOT FOUND - The number of reviews for the Item with Id '@itemId' are less than the specified offset : <offset>.