Constructor
new InsertToGroup(groupId, itemType, itemId, optional)
Construct the request
Parameters:
Name | Type | Description |
---|---|---|
groupId |
string | ID of the group to be inserted into. |
itemType |
string | `item` iff the regular item from the catalog is to be inserted, `group` iff group is inserted as the item. |
itemId |
string | ID of the item iff `itemType` is `item`. ID of the group iff `itemType` is `group`. |
optional |
Object | Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *cascadeCreate* - Type: boolean - Description: Indicates that any non-existing entity specified within the request should be created (as is corresponding PUT requests were invoked). This concerns both the `groupId` and the `groupId`. If `cascadeCreate` is set true, the behavior also depends on the `itemType`. Either items or group may be created if not present in the database. |
- Source:
Methods
bodyParameters() → {Object}
Get body parameters
- Source:
Returns:
The values of body parameters (name of parameter: value of the parameter)
- Type
- Object
queryParameters() → {Object}
Get query parameters
- Source:
Returns:
The values of query parameters (name of parameter: value of the parameter)
- Type
- Object