Get a sales forecast metric source
get
/crmRestApi/resources/11.13.18.05/salesForecastMetricSources/{MetricSrcCode}
Request
Path Parameters
-
MetricSrcCode(required): string
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : salesForecastMetricSources-item-response
Type:
Show Source
object-
ActivePeriods: integer
(int32)
The number of active periods of the sales forecast metric source.
-
ChildMetricDefinitions: array
Sales Forecast Metric Definitions
Title:
Sales Forecast Metric DefinitionsThe sales forecast metric definition is used to view and manage the definitions of sales forecast metrics such as Best Case and Commit metric sources. -
ChildMetricSourceDimensionMappings: array
Sales Forecast Metric Source Dimension Mappings
Title:
Sales Forecast Metric Source Dimension MappingsThe sales forecast metric source dimension mappings resource captures a dimension mapping for a given metric source. It indicates the list of dimensions that are supported for a metric source. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the sales forecast metric source. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric source was created. -
CustomSourceCriteriaExpr: string
Maximum Length:
4000The custom source criteria expression of the sales forecast metric source. -
FilterDimList: string
Maximum Length:
1000The list of filter dimensions for the sales forecast metric source. -
ItemAdjustmentAllowed: string
Maximum Length:
1Indicates whether the metric source allows item adjustments. The values accepted are Y or null. -
JobRequestId: integer
The submitted process identifier of the sales forecast metric source.
-
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric source was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the sales forecast metric source. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The last updated login of the sales forecast metric source. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MetricDim1Code: string
Maximum Length:
100The code of metric dimension 1 of the sales forecast metric source. -
MetricDim1FilterFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether metric dimension 1 is used for filtering forecasts. The values accepted are true or false. -
MetricDim1MultiSelectFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the metric dimension 1 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim1Name: string
Read Only:
trueThe name of metric dimension 1 of the sales forecast metric source. -
MetricDim1Type: string
Read Only:
trueMaximum Length:255The type of metric dimension 1 of the sales forecast metric source. -
MetricDim2Code: string
Maximum Length:
100The code of metric dimension 2 of the sales forecast metric source. -
MetricDim2FilterFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether metric dimension 2 is used for filtering forecasts. The values accepted are true or false. -
MetricDim2MultiSelectFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the metric dimension 2 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim2Name: string
Read Only:
trueThe name of metric dimension 2 of the sales forecast metric source. -
MetricDim2Type: string
Read Only:
trueMaximum Length:255The type of metric dimension 2 of the sales forecast metric source. -
MetricDim3Code: string
Maximum Length:
100The code of metric dimension 3 of the sales forecast metric source. -
MetricDim3FilterFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether metric dimension 3 is used for filtering forecasts. The values accepted are true or false. -
MetricDim3MultiSelectFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the metric dimension 3 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim3Name: string
Read Only:
trueThe name of metric dimension 3 of the sales forecast metric source. -
MetricDim3Type: string
Read Only:
trueMaximum Length:255The type of metric dimension 3 of the sales forecast metric source. -
MetricDim4Code: string
Maximum Length:
100The code of metric dimension 4 of the sales forecast metric source. -
MetricDim4FilterFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether metric dimension 4 is used for filtering forecasts. The values accepted are true or false. -
MetricDim4MultiSelectFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the metric dimension 4 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim4Name: string
Read Only:
trueThe name of metric dimension 4 of the sales forecast metric source. -
MetricDim4Type: string
Read Only:
trueMaximum Length:255The type of metric dimension 4 of the sales forecast metric source. -
MetricDim5Code: string
Maximum Length:
100The code of metric dimension 5 of the sales forecast metric source. -
MetricDim5FilterFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether metric dimension 5 is used for filtering forecasts. The values accepted are true or false. -
MetricDim5MultiSelectFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the metric dimension 5 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim5Name: string
Read Only:
trueThe name of metric dimension 5 of the sales forecast metric source. -
MetricDim5Type: string
Read Only:
trueMaximum Length:255The type of metric dimension 5 of the sales forecast metric source. -
MetricSourceReferenceColumns: array
Metric Source Reference Columns
Title:
Metric Source Reference ColumnsThe metric source reference columns resource is used to manage the reference columns for a metric source. These attributes for opportunity or revenue are compared with the current version of the attributes to identify the changes. -
MetricSrcCode: string
Maximum Length:
100The metric source code of the sales forecast metric source. -
MetricSrcObject: string
Maximum Length:
100The object of the sales forecast metric source. Sample values are OPPORTUNITY and REVENUE. -
MultiSelectDimList: string
Maximum Length:
1000The list of multiple select filter dimensions for the sales forecast metric source. -
Name: string
Maximum Length:
300The name of the sales forecast metric source. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueThe object version number of the sales forecast metric source. -
StatusCode: string
Maximum Length:
20The status code of the sales forecast metric source. The values accepted are ACTIVE, DISABLED and DRAFT. -
SummaryAdjustmentAllowedLevel: string
Maximum Length:
20The level of summary adjustments allowed for the sales forecast metric source. -
SummaryAdjustmentDimensionList: string
Maximum Length:
1000The list of summary adjustment dimensions for the sales forecast metric source.
Nested Schema : Sales Forecast Metric Definitions
Type:
arrayTitle:
Sales Forecast Metric DefinitionsThe sales forecast metric definition is used to view and manage the definitions of sales forecast metrics such as Best Case and Commit metric sources.
Show Source
Nested Schema : Sales Forecast Metric Source Dimension Mappings
Type:
arrayTitle:
Sales Forecast Metric Source Dimension MappingsThe sales forecast metric source dimension mappings resource captures a dimension mapping for a given metric source. It indicates the list of dimensions that are supported for a metric source.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Metric Source Reference Columns
Type:
arrayTitle:
Metric Source Reference ColumnsThe metric source reference columns resource is used to manage the reference columns for a metric source. These attributes for opportunity or revenue are compared with the current version of the attributes to identify the changes.
Show Source
Nested Schema : salesForecastMetricSources-ChildMetricDefinitions-item-response
Type:
Show Source
object-
AdjustableFlag: boolean
Maximum Length:
1Indicates whether the sales forecast metric such as Best Case or Committed Forecast allows adjustments. The accepted values are Y or N. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the sales forecast metric definition. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric definition was created. -
CustomMetricCriteriaExpr: string
Maximum Length:
4000The custom metric criteria expression of the sales forecast metric definition. -
CustomMetricSrcColumnExpr: string
Maximum Length:
4000The custom metric source column expression of the sales forecast metric definition. -
DepndMetricCodeList: string
Maximum Length:
300The list of dependent metric codes of the sales forecast metric definition. -
JobRequestId: integer
The submitted process identifier of the sales forecast metric definition.
-
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric definition was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the sales forecast metric definition. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The last updated login of the sales forecast metric definition. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MetricCode: string
Maximum Length:
100The metric code of the sales forecast metric definition. -
MetricDefnId: integer
(int64)
The metric definition identifier of the sales forecast metric definition.
-
MetricName: string
Read Only:
trueThe metric name of the sales forecast metric definition. -
MetricSrcCode: string
Maximum Length:
255The metric source code of the sales forecast metric definition. -
ObjectVersionNumber: integer
(int32)
The object version number of the sales forecast metric definition.
-
StatusCode: string
Maximum Length:
20The status code of the sales forecast metric definition.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : salesForecastMetricSources-ChildMetricSourceDimensionMappings-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the sales forecast metric source dimension mapping. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric source dimension mapping was created. -
DimType: string
Read Only:
trueMaximum Length:30The dimension type of a metric source dimension mapping. -
FilterFlag: boolean
Maximum Length:
1Default Value:falseIndicates whether metric source dimension mapping is used for filtering forecasts. The values accepted are true or false. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the sales forecast metric source dimension mapping was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the sales forecast metric source dimension mapping. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the sales forecast metric source dimension mapping. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MetricDimAttr: string
Maximum Length:
1000The metric dimension attribute of the sales forecast metric source dimension mapping. -
MetricDimCode: string
Maximum Length:
100The code that uniquely identifies a sales forecast metric source dimension mapping such as TERRITORY and PRODUCT. -
MetricSrcCode: string
Maximum Length:
100The metric source code of the sales forecast metric source dimension mapping. -
MetricSrcDimMapId: integer
(int64)
The metric source dimension mapping identifier for the sales forecast metric source dimension mapping.
-
MultiSelectFlag: boolean
Maximum Length:
1Default Value:falseIndicates whether the metric source dimension mapping filter allows selecting multiple values.The values accepted are true or false. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueThe object version number for the sales forecast metric source dimension mapping.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : salesForecastMetricSources-MetricSourceReferenceColumns-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the metric source reference column. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the metric source reference column was created. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the metric source reference column was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the metric source reference column. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the metric source reference column. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MetricSrcCode: string
Maximum Length:
100The metric source code of the metric source reference column. -
MetricSrcReferenceColumnId: integer
(int64)
The unique identifier of the metric source reference column.
-
ReferenceColumn: string
Maximum Length:
4000The reference column for the metric source reference column. -
ReferenceColumnAlias: string
Maximum Length:
4000The alias for the metric source reference column. -
ReferenceColumnDataType: string
Maximum Length:
30The data type for the metric source reference column. -
ReferenceColumnTypeCode: string
Maximum Length:
100The type code for the metric source reference column.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- ChildMetricDefinitions
-
Parameters:
- MetricSrcCode:
$request.path.MetricSrcCode
The sales forecast metric definition is used to view and manage the definitions of sales forecast metrics such as Best Case and Commit metric sources. - MetricSrcCode:
- ChildMetricSourceDimensionMappings
-
Parameters:
- MetricSrcCode:
$request.path.MetricSrcCode
The sales forecast metric source dimension mappings resource captures a dimension mapping for a given metric source. It indicates the list of dimensions that are supported for a metric source. - MetricSrcCode:
- MetricSourceReferenceColumns
-
Parameters:
- MetricSrcCode:
$request.path.MetricSrcCode
The metric source reference columns resource is used to manage the reference columns for a metric source. These attributes for opportunity or revenue are compared with the current version of the attributes to identify the changes. - MetricSrcCode: