Transaction Action of GS2-AdReward
ConsumeAction
Gs2AdReward:ConsumePointByUserId
Consume Point by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | |
Set #{userId} to replace the currently logged in user ID. | ||
point | long | Consume Points |
{
"action": "Gs2AdReward:ConsumePointByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"point": "[long]Consume Points"
}
}
action: Gs2AdReward:ConsumePointByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
point: "[long]Consume Points"
AcquireAction
Gs2AdReward:AcquirePointByUserId
Acquire Point by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
point | long | Acquire Points |
{
"action": "Gs2AdReward:AcquirePointByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"point": "[long]Acquire Points"
}
}
action: Gs2AdReward:AcquirePointByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
point: "[long]Acquire Points"