Retrieve Quotes for a Summarised Features
Summarised feature provides quotes for a specific feature based on the language provided i.e. English, French, German, Spanish.
GET /summarised-features/{featureId}/quotes
curl -X 'GET' \
'http://[stg.]api.bazaarvoice.com/sentiment/v1/summarised-features/111108/quotes?productId=29366&language=en&limit=10' \
--header ‘Authorization: passKey’ \
-H 'accept: application/json'
http://[stg.]api.bazaarvoice.com/sentiment/v1/summarised-features/111108/quotes?productId=29366&language=en&limit=10' \
--header ‘Authorization: passKey’
Header | Description |
---|---|
Authorization | Passkey (API key) provided to client for authentication |
Query Parameters
Request Parameter | Description | Required |
---|---|---|
featureId | Unique identifier of the featureId for which you want to retrieve features | Yes |
productId | Unique identifier of the product for which you want to retrieve features | Yes |
limit | Number of quotes for featureId. Default value: 10 | No |
language | Supported Languages – English (en), French (fr), German (de) and Spanish(es). You cannot pass multiple languages. Locales (ex- en_US, en_CA, fr_CA) are not supported. | Yes |
Sample Response
{
"quotes": [
{
"quoteId": "EoA591P2Xi3/khB9osEG5l6cMtD5biVJ+r9FYMLG9KBIh8JmHqlSxRU4yP1ghuH9eXpFovA5uhI=",
"text": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
"emotion": "joy",
"reviewRating": 5,
"reviewId": "59902a9d-a6d8-5798-aa46-cde93d80e666",
"reviewedAt": "2021-05-03",
"translatedText": "Lovely fitting look nice and the quality of the leggings is lovely they wash well too!",
"nativeLanguage": "en-US",
"incentivised": false,
"reviewType": "NATIVE"
}
]
},
{. . .} //9 items
Response Parameters
Response Field Name | Data Type | Description |
---|---|---|
quotes | Array | Contains all the quotes associated to a particular feature. Please refer to quote for attributes type and description of the attributes. |
quote
Response Field Name | Data Type | Description |
---|---|---|
quoteId | String | Unique identifier of the quote |
text | String | Gives the text |
emotion | String | Gives the emotion of a quote |
reviewRating | float | Gives the rating of quote review |
reviewId | String | Unique identifier of the review |
reviewedAt | Date | Gives the date at which review was done |
translatedText | String | Gives the translated quote text based upon language provided i.e. “en, fr, de, es" |
nativeLanguage | String | Gives the language selected in BCP47 code |
incentivised | Boolean | Tells if quote is incentivised returns true or false |
reviewType | Enum | ENUM can be native ,family and syndicated |
Updated 4 months ago