Toloka documentation

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' rewards.

Parameters Description

Parameters Type Description
user_id Optional[str]

The ID of a Toloker.

assignment_id Optional[str]

The ID of an assignment a reward was granted for.

private_comment Optional[str]

Rewards with specified comment.

id_lt Optional[str]

Rewards with IDs less than the specified value.

id_lte Optional[str]

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

id_gt Optional[str]

Rewards with IDs greater than the specified value.

id_gte Optional[str]

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

created_lt Optional[datetime]

Rewards given before the specified date.

created_lte Optional[datetime]

Rewards given before or on the specified date.

created_gt Optional[datetime]

Rewards given after the specified date.

created_gte Optional[datetime]

Rewards given after or on the specified date.