Batch Create Allocation Rules
post
/api/restapi/funds/allocationRule/batch
Send a request to this endpoint to create one or more allocation rules. An application object will be created for each JSON object provided in the request body.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityNamedFilter>
Type:
arrayTitle:
Show Source
List<ApiEntityNamedFilter>-
Array of:
object ApiEntityNamedFilter
Title:
ApiEntityNamedFilterThis entity represents a NamedFilter object, a unique NamedFilter object can be identified by the following combinations of the fields.- filterId
Nested Schema : ApiEntityNamedFilter
Type:
objectTitle:
ApiEntityNamedFilterThis entity represents a NamedFilter object, a unique NamedFilter object can be identified by the following combinations of the fields.
Show Source
- filterId
-
conditions(required): array
conditions
Contains the allocation rule filter condition.
-
filterId: integer
(int64)
The unique identifier of the allocation rule.
-
link: string
(url)
Read Only:
trueThe self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
name(required): string
Minimum Length:
1Maximum Length:255The name of the filter. -
ownerId: integer
(int64)
The system-generated unique identifier of a user who has created the filter.
-
updateDate: string
(date-time)
Read Only:
trueDate when the record was last updated. -
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier of the workspace.
Nested Schema : conditions
Type:
arrayContains the allocation rule filter condition.
Show Source
-
Array of:
object ApiEntityFilterCondition
Title:
ApiEntityFilterCondition
Nested Schema : ApiEntityFilterCondition
Type:
objectTitle:
Show Source
ApiEntityFilterCondition-
codeTypeCode: string
Minimum Length:
1Maximum Length:60This field displays the name of a code or value. -
codeValueCode: string
Minimum Length:
1Maximum Length:60The unique identifier for the code value. -
conditions: array
conditions
Contains the allocation rule filter condition.
-
equality(required): string
Allowed Values:
[ "EQUALS", "NOT_EQUALS", "EQUALS_IGNORE_CASE", "GREATER_THAN", "GREATER_THAN_EQUALS", "LESS_THAN", "LESS_THAN_EQUALS", "IN", "NOT_IN", "STARTS_WITH", "ENDS_WITH", "LIKE", "NOT_LIKE", "BETWEEN", "NOT_BETWEEN", "IS_NULL", "NOT_NULL", "IS_EMPTY", "IS_UNDER" ]Contains the allocation rule filter condition equality. -
fieldPath(required): string
Contains the allocation rule filter field.
The field is non-persistable and thus maximum length is not applicable. -
join(required): string
Allowed Values:
[ "AND", "OR", "NULL" ]Contains the allocation rule filter join operation. -
parentCodeValueCode: string
Minimum Length:
1Maximum Length:60The unique identifier for the code value. -
value(required): object
value
Contains the allocation rule filter condition value.
Nested Schema : conditions
Type:
arrayContains the allocation rule filter condition.
Show Source
-
Array of:
object ApiEntityFilterCondition
Title:
ApiEntityFilterCondition
Nested Schema : value
Type:
objectContains the allocation rule filter condition value.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityNamedFilter>
Type:
arrayTitle:
Show Source
List<ApiEntityNamedFilter>-
Array of:
object ApiEntityNamedFilter
Title:
ApiEntityNamedFilterThis entity represents a NamedFilter object, a unique NamedFilter object can be identified by the following combinations of the fields.- filterId
Nested Schema : ApiEntityNamedFilter
Type:
objectTitle:
ApiEntityNamedFilterThis entity represents a NamedFilter object, a unique NamedFilter object can be identified by the following combinations of the fields.
Show Source
- filterId
-
conditions(required): array
conditions
Contains the allocation rule filter condition.
-
filterId: integer
(int64)
The unique identifier of the allocation rule.
-
link: string
(url)
Read Only:
trueThe self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
name(required): string
Minimum Length:
1Maximum Length:255The name of the filter. -
ownerId: integer
(int64)
The system-generated unique identifier of a user who has created the filter.
-
updateDate: string
(date-time)
Read Only:
trueDate when the record was last updated. -
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier of the workspace.
Nested Schema : conditions
Type:
arrayContains the allocation rule filter condition.
Show Source
-
Array of:
object ApiEntityFilterCondition
Title:
ApiEntityFilterCondition
Nested Schema : ApiEntityFilterCondition
Type:
objectTitle:
Show Source
ApiEntityFilterCondition-
codeTypeCode: string
Minimum Length:
1Maximum Length:60This field displays the name of a code or value. -
codeValueCode: string
Minimum Length:
1Maximum Length:60The unique identifier for the code value. -
conditions: array
conditions
Contains the allocation rule filter condition.
-
equality(required): string
Allowed Values:
[ "EQUALS", "NOT_EQUALS", "EQUALS_IGNORE_CASE", "GREATER_THAN", "GREATER_THAN_EQUALS", "LESS_THAN", "LESS_THAN_EQUALS", "IN", "NOT_IN", "STARTS_WITH", "ENDS_WITH", "LIKE", "NOT_LIKE", "BETWEEN", "NOT_BETWEEN", "IS_NULL", "NOT_NULL", "IS_EMPTY", "IS_UNDER" ]Contains the allocation rule filter condition equality. -
fieldPath(required): string
Contains the allocation rule filter field.
The field is non-persistable and thus maximum length is not applicable. -
join(required): string
Allowed Values:
[ "AND", "OR", "NULL" ]Contains the allocation rule filter join operation. -
parentCodeValueCode: string
Minimum Length:
1Maximum Length:60The unique identifier for the code value. -
value(required): object
value
Contains the allocation rule filter condition value.
Nested Schema : conditions
Type:
arrayContains the allocation rule filter condition.
Show Source
-
Array of:
object ApiEntityFilterCondition
Title:
ApiEntityFilterCondition
Nested Schema : value
Type:
objectContains the allocation rule filter condition value.
400 Response
Invalid Input.