Recombee API Client
|
Insert to group More...
Public Member Functions | |
InsertToGroup (string groupId, string itemType, string itemId, bool? cascadeCreate=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 | GroupId [get] |
ID of the group to be inserted into. More... | |
string | ItemType [get] |
item iff the regular item from the catalog is to be inserted, group iff group is inserted as the item. More... | |
string | ItemId [get] |
ID of the item iff itemType is item . ID of the group iff itemType is group . More... | |
bool? | CascadeCreate [get] |
Indicates that any non-existing entity specified within the request should be created (as is corresponding PUT requests were invoked). This concerns both the groupId and the groupId . If cascadeCreate is set true, the behavior also depends on the itemType . Either items or group may be created if not present in the database. 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) |
| |
Insert to group
Inserts an existing item/group into group of given groupId
.
|
inline |
Construct the request
groupId | ID of the group to be inserted into. |
itemType | item iff the regular item from the catalog is to be inserted, group iff group is inserted as the item. |
itemId | ID of the item iff itemType is item . ID of the group iff itemType is group . |
cascadeCreate | Indicates that any non-existing entity specified within the request should be created (as is corresponding PUT requests were invoked). This concerns both the groupId and the groupId . If cascadeCreate is set true, the behavior also depends on the itemType . Either items or group may be created if not present in the database. |
|
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 |
Indicates that any non-existing entity specified within the request should be created (as is corresponding PUT requests were invoked). This concerns both the groupId
and the groupId
. If cascadeCreate
is set true, the behavior also depends on the itemType
. Either items or group may be created if not present in the database.
|
get |
ID of the group to be inserted into.
|
get |
ID of the item iff itemType
is item
. ID of the group iff itemType
is group
.
|
get |
item
iff the regular item from the catalog is to be inserted, group
iff group is inserted as the item.