Rating request data model
This is a JSON object with the following fields:
Name | Type | Description | Required |
---|---|---|---|
contentId | String | The content ID to be the basis of recommendation. | Yes |
dataType | String | The type of content. One of:
| Yes |
entity | String | The type of entity that the rating applies to. One of:
| No |
deviceType | String | The type of device. One of:
| Yes |
rating | Integer | The rating. | Yes |
timestamp | ISO date | The time of the activity. | No |
Example
{
"dataType":"vod",
"deviceType":"SetTopBox",
"contentId":"TDLA0100000088341751",
"rating":"3",
"timestamp":"2017-07-17T12:20:02.000Z"
}
Example
{
"dataType":"btv",
"deviceType":"SetTopBox",
"entity" : "series",
"contentId":"TDLA0100000088342567",
"rating":"2",
"timestamp":"2017-07-16T22:01:03.000Z"
}