Transaction Action of GS2-Formation
VerifyAction
ConsumeAction
Gs2Formation:SubMoldCapacityByUserId
Subtract capacity size by specifying user ID
Actions for which quantity can be specified: YES
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
moldModelName | string | Form storage area model name |
capacity | int | Current Capacity |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:SubMoldCapacityByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"moldModelName": "[string]Form storage area model name",
"capacity": "[int]Current Capacity",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:SubMoldCapacityByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
moldModelName: "[string]Form storage area model name"
capacity: "[int]Current Capacity"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").consume.sub_mold_capacity_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
moldModelName="[string]Form storage area model name",
capacity="[int]Current Capacity",
timeOffsetToken="[string]Time offset token",
})
AcquireAction
Gs2Formation:AddMoldCapacityByUserId
Add capacity size with user ID
Actions for which quantity can be specified: YES
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
moldModelName | string | Form storage area model name |
capacity | int | Current Capacity |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:AddMoldCapacityByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"moldModelName": "[string]Form storage area model name",
"capacity": "[int]Current Capacity",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:AddMoldCapacityByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
moldModelName: "[string]Form storage area model name"
capacity: "[int]Current Capacity"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").acquire.add_mold_capacity_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
moldModelName="[string]Form storage area model name",
capacity="[int]Current Capacity",
timeOffsetToken="[string]Time offset token",
})
Gs2Formation:SetMoldCapacityByUserId
Set capacity size with specified user ID
Actions for which quantity can be specified: YES
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
moldModelName | string | Form storage area model name |
capacity | int | Current Capacity |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:SetMoldCapacityByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"moldModelName": "[string]Form storage area model name",
"capacity": "[int]Current Capacity",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:SetMoldCapacityByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
moldModelName: "[string]Form storage area model name"
capacity: "[int]Current Capacity"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").acquire.set_mold_capacity_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
moldModelName="[string]Form storage area model name",
capacity="[int]Current Capacity",
timeOffsetToken="[string]Time offset token",
})
Gs2Formation:AcquireActionsToFormProperties
Apply get action to form properties by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
moldModelName | string | Form storage area model name |
index | int | Index of storage area |
acquireAction | AcquireAction | Get action to be applied to form properties |
config | Config[] | List of Acquisition config |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:AcquireActionsToFormProperties",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"moldModelName": "[string]Form storage area model name",
"index": "[int]Index of storage area",
"acquireAction": {
"action": "[string]Types of actions to be performed in the acquire action",
"request": "[string]JSON of request"
},
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:AcquireActionsToFormProperties
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
moldModelName: "[string]Form storage area model name"
index: "[int]Index of storage area"
acquireAction:
action: "[string]Types of actions to be performed in the acquire action"
request: "[string]JSON of request"
config:
- key: "[string]Name"
value: "[string]Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").acquire.acquire_actions_to_form_properties({
namespaceName="[string]Namespace name",
userId="[string]User Id",
moldModelName="[string]Form storage area model name",
index="[int]Index of storage area",
acquireAction={
action="[string]Types of actions to be performed in the acquire action",
request="[string]JSON of request"
},
config={
{
key="[string]Name",
value="[string]Value"
}
},
timeOffsetToken="[string]Time offset token",
})
Gs2Formation:SetFormByUserId
Set form by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
moldModelName | string | Form storage area model name |
index | int | Index of storage area |
slots | Slot[] | List of Slots |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:SetFormByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"moldModelName": "[string]Form storage area model name",
"index": "[int]Index of storage area",
"slots": [
{
"name": "[string]Slot model name",
"propertyId": "[string]Property ID",
"metadata": "[string]metadata"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:SetFormByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
moldModelName: "[string]Form storage area model name"
index: "[int]Index of storage area"
slots:
- name: "[string]Slot model name"
propertyId: "[string]Property ID"
metadata: "[string]metadata"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").acquire.set_form_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
moldModelName="[string]Form storage area model name",
index="[int]Index of storage area",
slots={
{
name="[string]Slot model name",
propertyId="[string]Property ID",
metadata="[string]metadata"
}
},
timeOffsetToken="[string]Time offset token",
})
Gs2Formation:AcquireActionsToPropertyFormProperties
Apply get action to form properties as acquisition action
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
propertyFormModelName | string | Property form model name |
propertyId | string | Property Id |
acquireAction | AcquireAction | Get action to be applied to form properties |
config | Config[] | List of Acquisition config |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Formation:AcquireActionsToPropertyFormProperties",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"propertyFormModelName": "[string]Property form model name",
"propertyId": "[string]Property Id",
"acquireAction": {
"action": "[string]Types of actions to be performed in the acquire action",
"request": "[string]JSON of request"
},
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Formation:AcquireActionsToPropertyFormProperties
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
propertyFormModelName: "[string]Property form model name"
propertyId: "[string]Property Id"
acquireAction:
action: "[string]Types of actions to be performed in the acquire action"
request: "[string]JSON of request"
config:
- key: "[string]Name"
value: "[string]Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("formation").acquire.acquire_actions_to_property_form_properties({
namespaceName="[string]Namespace name",
userId="[string]User Id",
propertyFormModelName="[string]Property form model name",
propertyId="[string]Property Id",
acquireAction={
action="[string]Types of actions to be performed in the acquire action",
request="[string]JSON of request"
},
config={
{
key="[string]Name",
value="[string]Value"
}
},
timeOffsetToken="[string]Time offset token",
})