Recombee API Client
|
Delete rating More...
Public Member Functions | |
DeleteRating (string userId, string itemId, DateTime?timestamp=null) | |
Construct the request More... | |
override string | Path () |
| |
override Dictionary< string, object > | QueryParameters () |
Get query parameters More... | |
override Dictionary< string, object > | BodyParameters () |
Get body parameters More... | |
![]() | |
Request (HttpMethod httpMethod, int timeoutMilliseconds, bool ensureHttps=false) | |
Construct the request More... | |
Properties | |
string | UserId [get] |
ID of the user who rated the item. More... | |
string | ItemId [get] |
ID of the item which was rated. More... | |
DateTime | Timestamp [get] |
Unix timestamp of the rating. If the timestamp is omitted, then all the ratings with given userId and itemId are deleted. More... | |
![]() | |
TimeSpan | Timeout [get, set] |
Timeout for the request in milliseconds More... | |
bool | EnsureHttps [get] |
If true, HTTPS must be chosen over HTTP for this request More... | |
HttpMethod | RequestHttpMehod [get] |
Used HTTP method More... | |
Additional Inherited Members | |
![]() | |
double | ConvertToUnixTimestamp (DateTime date) |
| |
Delete rating
Deletes an existing rating specified by (userId
, itemId
, timestamp
) from the database or all the ratings with given userId
and itemId
if timestamp
is omitted.
|
inline |
Construct the request
userId | ID of the user who rated the item. |
itemId | ID of the item which was rated. |
timestamp | Unix timestamp of the rating. If the timestamp is omitted, then all the ratings with given userId and itemId are deleted. |
|
inlinevirtual |
Get body parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Get query parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
get |
ID of the item which was rated.
|
get |
Unix timestamp of the rating. If the timestamp
is omitted, then all the ratings with given userId
and itemId
are deleted.
|
get |
ID of the user who rated the item.