Transaction Action of GS2-LoginReward
VerifyAction
ConsumeAction
Gs2LoginReward:MarkReceivedByUserId
Mark as received by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
bonusModelName | string | Bonus Model Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
stepNumber | int | Step Number |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2LoginReward:MarkReceivedByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"bonusModelName": "[string]Bonus Model Name",
"userId": "[string]User Id",
"stepNumber": "[int]Step Number",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2LoginReward:MarkReceivedByUserId
request:
namespaceName: "[string]Namespace name"
bonusModelName: "[string]Bonus Model Name"
userId: "[string]User Id"
stepNumber: "[int]Step Number"
timeOffsetToken: "[string]Time offset token"
transaction.service("loginReward").consume.mark_received_by_user_id({
namespaceName="[string]Namespace name",
bonusModelName="[string]Bonus Model Name",
userId="[string]User Id",
stepNumber="[int]Step Number",
timeOffsetToken="[string]Time offset token",
})
AcquireAction
Gs2LoginReward:DeleteReceiveStatusByUserId
Delete receive status by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
bonusModelName | string | Bonus Model Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2LoginReward:DeleteReceiveStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"bonusModelName": "[string]Bonus Model Name",
"userId": "[string]User Id",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2LoginReward:DeleteReceiveStatusByUserId
request:
namespaceName: "[string]Namespace name"
bonusModelName: "[string]Bonus Model Name"
userId: "[string]User Id"
timeOffsetToken: "[string]Time offset token"
transaction.service("loginReward").acquire.delete_receive_status_by_user_id({
namespaceName="[string]Namespace name",
bonusModelName="[string]Bonus Model Name",
userId="[string]User Id",
timeOffsetToken="[string]Time offset token",
})
Gs2LoginReward:UnmarkReceivedByUserId
Unmark as received by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
bonusModelName | string | Bonus Model Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
stepNumber | int | Step Number |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2LoginReward:UnmarkReceivedByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"bonusModelName": "[string]Bonus Model Name",
"userId": "[string]User Id",
"stepNumber": "[int]Step Number",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2LoginReward:UnmarkReceivedByUserId
request:
namespaceName: "[string]Namespace name"
bonusModelName: "[string]Bonus Model Name"
userId: "[string]User Id"
stepNumber: "[int]Step Number"
timeOffsetToken: "[string]Time offset token"
transaction.service("loginReward").acquire.unmark_received_by_user_id({
namespaceName="[string]Namespace name",
bonusModelName="[string]Bonus Model Name",
userId="[string]User Id",
stepNumber="[int]Step Number",
timeOffsetToken="[string]Time offset token",
})