Constructor
new Batch(requests, optional)
Construct the request
Parameters:
Name | Type | Description |
---|---|---|
requests |
Array.<Request> | Array containing the requests. |
optional |
Object | Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *distinctRecomms* - Type: boolean - Description: Makes all the recommended items for a certain user distinct among multiple recommendation requests in the batch. |
- 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