Batch Update Strategy Types
put
/api/restapi/strategyType/batch
Send a request to this endpoint to update strategy types.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityStrategyTypeInput>
Type:
arrayTitle:
Show Source
List<ApiEntityStrategyTypeInput>-
Array of:
object ApiEntityStrategyTypeInput
Title:
ApiEntityStrategyTypeInputThis entity represents a StrategyType object, a unique StrategyType object can be identified by the following combinations of the fields.- strategyTypeId
- levelName,workspaceId
- levelName,workspaceCode
Nested Schema : ApiEntityStrategyTypeInput
Type:
objectTitle:
ApiEntityStrategyTypeInputThis entity represents a StrategyType object, a unique StrategyType object can be identified by the following combinations of the fields.
Show Source
- strategyTypeId
- levelName,workspaceId
- levelName,workspaceCode
-
icon(required): string
Allowed Values:
[ "STRATEGY_ROOK", "STRATEGY_PAWN", "STRATEGY_KNIGHT", "STRATEGY_BISHOP", "STRATEGY_QUEEN", "STRATEGY_KING" ]A graphical representation of a strategy type. -
levelName(required): string
Maximum Length:
255The name of a strategy type. -
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]How data is shared between parent and child workspaces.
Manual: Data can be pulled down by child workspaces. This is the default option.
Automatic: Data is automatically shared with all child workspaces. -
strategyTypeId: integer
(int64)
The system-generated identifier of a strategy type. This value should not be provided in create operation request data, however, it is required for update requests.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The system-generated identifier of a workspace.
Examples
Back to Top
Response
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}
400 Response
Invalid input for the Strategy Type service.