Hi All,
This is Amar, I am very new to this API. I am trying to create & update a review by using an API. But I am unable to do that and I am getting an error like "Missing entity" and "Missing required fields." Here are the sample requests and responses.
Request:
{
"entity": {
"review_id": <Review ID>,
"rating": 3,
"title": "Pizzas are good Updated.",
"body": "Good"
}
}
Response:
{
"request": {
"resource": "/api/v1/branded_profile/review_update",
"rate": {
"current": 21,
"allowed": 10000
},
"format": "json",
"expects": [
"POST"
],
"params": {
"timestamp": "1456128101637",
"api_key": <API_KEY>,
"signature": <SIGNATURE>
},
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36",
"query_string": "api_key=
<API_KEY>×tamp=1456128101637&signature=<SIGNATURE>",
"protocol": "https",
"ip_address": "183.83.40.17",
"method": "POST"
},
"response": {
"status": 500,
"seconds": 0.3834,
"errors": [
{
"msg": "Missing entity",
"code": 600
},
{
"msg": "Missing required parameter(s).",
"code": 14
}
]
}
}
Is it the proper way to send a request.? Can any one please help me on this. I stuck over here.
Note: I am using "Postman"(Rest Client) to test this API.
Thanks & Regards,
Amar.T