user_id
, type
, time_period
Name | Type | Description | Required |
---|---|---|---|
filter | String | The filter expression. Filter expressions are explained below. | False |
user_id | String | The id of a user. No results are returned if this id is not provided. | False |
type | String |
Determines if Direct or Rollup forecast opportunities are returned. Defaults to Direct if an invalid
or no option is provided.
|
False |
time_period | String | The id of a time period record. If this is not provided results for the current time period are returned. | False |
filter_id | String |
Identifier for a preexisting filter. If filter is also set, the two
filters are joined with an AND .
|
False |
max_num | Integer | A maximum number of records to return. Default is 20. | False |
offset | Integer | The number of records to skip over before records are returned. Default is 0. | False |
fields | String |
Comma delimited list of fields to return. Each field may be represented either by string, or by map
containing field name and additional field parameters (applicable to link and collection fields).
The fields id and date_modified will always be returned.
Example: name,account_type,description,{"name":"opportunities","fields":["id","name","sales_status"],"order_by":"date_closed:desc"}
For more details on additional field parameters, see Relate API and Collection API. |
False |
view | String |
Instead of defining the fields argument, the view argument can be used instead. The field list is
constructed at the server side based on the view definition which is requested. This argument can be used
in combination with the fields argument. Common views are "record" and "list".
Example: record
|
False |
order_by | String |
How to sort the returned records, in a comma delimited list with the direction appended to the column name
after a colon.
Example: name:DESC,account_type:DESC,date_modified:ASC
|
False |
q | String | A search expression, will search on this module. Cannot be used at the same time as a filter expression or id. | False |
deleted | Boolean | Boolean to show deleted records in the result set. | False |
nulls_last | Boolean | Boolean to return records with null values in order_by fields last in the result set. | False |
{ "filter":[ { "name":{ "$starts":"Nelson Inc" } } ], "user_id":"seed_jim_id", "type":"Manager", "time_period":"50252618-b116-11ec-ae2e-acde48001122" }
{ "record_count": 4 }
Version | Change |
---|---|
v11_17 |
Added forecastOpportunities/count POST endpoint.
|