Transaction Action of GS2-SerialKey
ConsumeAction
Gs2SerialKey:UseByUserId
Consume Serial Code 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. | ||
code | string | Serial Code |
{
"action": "Gs2SerialKey:UseByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"code": "[string]Serial Code"
}
}
action: Gs2SerialKey:UseByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
code: "[string]Serial Code"
AcquireAction
Gs2SerialKey:RevertUseByUserId
Consume Serial Code 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. |
code | string | Serial Code |
{
"action": "Gs2SerialKey:RevertUseByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"code": "[string]Serial Code"
}
}
action: Gs2SerialKey:RevertUseByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
code: "[string]Serial Code"