curl --request POST \
--url https://gameapi.tribalarena.com/api/Activity/create \
--header 'Content-Type: application/json' \
--header 'x-ta-tenant-jwt: <x-ta-tenant-jwt>' \
--data '{
"name": "<string>",
"description": "<string>",
"defaultAmountPerTransaction": 123,
"minAmountPerTransaction": 123,
"maxAmountPerTransaction": 123,
"interval": "year",
"maxTransactionsPerInterval": 123,
"currencyId": 123,
"userRole": "player",
"roleLevel": "cadet"
}'
{
"name": "<string>",
"description": "<string>",
"defaultAmountPerTransaction": 123,
"minAmountPerTransaction": 123,
"maxAmountPerTransaction": 123,
"interval": "year",
"maxTransactionsPerInterval": 123,
"currencyId": 123,
"userRole": "player",
"roleLevel": "cadet"
}
curl --request POST \
--url https://gameapi.tribalarena.com/api/Activity/create \
--header 'Content-Type: application/json' \
--header 'x-ta-tenant-jwt: <x-ta-tenant-jwt>' \
--data '{
"name": "<string>",
"description": "<string>",
"defaultAmountPerTransaction": 123,
"minAmountPerTransaction": 123,
"maxAmountPerTransaction": 123,
"interval": "year",
"maxTransactionsPerInterval": 123,
"currencyId": 123,
"userRole": "player",
"roleLevel": "cadet"
}'
{
"name": "<string>",
"description": "<string>",
"defaultAmountPerTransaction": 123,
"minAmountPerTransaction": 123,
"maxAmountPerTransaction": 123,
"interval": "year",
"maxTransactionsPerInterval": 123,
"currencyId": 123,
"userRole": "player",
"roleLevel": "cadet"
}
This is required for all api calls. Ask support to or check out the docs on how to generate this.
Success
The response is of type object
.