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 user bonus

Parameters Description

Parameters Type Description
user_id Optional[str]

Performer ID.

assignment_id Optional[str]

ID of the performer's response to the task a reward is issued for.

private_comment Optional[str]

Comments for the requester.

id_lt Optional[str]

Bonuses with an ID less than the specified value.

id_lte Optional[str]

Bonuses with an ID less than or equal to the specified value.

id_gt Optional[str]

Bonuses with an ID greater than the specified value.

id_gte Optional[str]

Bonuses with an ID greater than or equal to the specified value.

created_lt Optional[datetime]

Bonuses awarded before the specified date.

created_lte Optional[datetime]

Bonuses awarded before or on the specified date.

created_gt Optional[datetime]

Bonuses awarded after the specified date.

created_gte Optional[datetime]

Bonuses awarded after or on the specified date.