UserBonusSearchRequest

toloka.client.search_requests.UserBonusSearchRequest | Source code

UserBonusSearchRequest(
self,
user_id: Optional[str] = None,
assignment_id: Optional[str] = None,
private_comment: Optional[str] = None,
id_lt: Optional[str] = None,
id_lte: Optional[str] = None,
id_gt: Optional[str] = None,
id_gte: Optional[str] = None,
created_lt: Optional[datetime] = None,
created_lte: Optional[datetime] = None,
created_gt: Optional[datetime] = None,
created_gte: Optional[datetime] = None
)

Parameters for searching Tolokers' bonuses.

Parameters description

ParametersTypeDescription
user_idOptional[str]

The ID of a Toloker.

assignment_idOptional[str]

The ID of an assignment a bonus was granted for.

private_commentOptional[str]

Bonuses with specified comment.

id_ltOptional[str]

Bonuses with IDs less than the specified value.

id_lteOptional[str]

Bonuses with IDs less than or equal to the specified value.

id_gtOptional[str]

Bonuses with IDs greater than the specified value.

id_gteOptional[str]

Bonuses with IDs greater than or equal to the specified value.

created_ltOptional[datetime]

Bonuses given before the specified date.

created_lteOptional[datetime]

Bonuses given before or on the specified date.

created_gtOptional[datetime]

Bonuses given after the specified date.

created_gteOptional[datetime]

Bonuses given after or on the specified date.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming