Update a sales forecast metric source
patch
/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=
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
JobRequestId: integer
The submitted process identifier of the sales forecast metric source.
-
MetricDim1Code: string
Maximum Length:
100
The code of metric dimension 1 of the sales forecast metric source. -
MetricDim2Code: string
Maximum Length:
100
The code of metric dimension 2 of the sales forecast metric source. -
MetricDim3Code: string
Maximum Length:
100
The code of metric dimension 3 of the sales forecast metric source. -
MetricDim4Code: string
Maximum Length:
100
The code of metric dimension 4 of the sales forecast metric source. -
MetricDim5Code: string
Maximum Length:
100
The code of metric dimension 5 of the sales forecast metric source.
Response
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
-
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the sales forecast metric source. -
CreationDate: string
(date-time)
Read Only:
true
The date when the sales forecast metric source was created. -
JobRequestId: integer
The submitted process identifier of the sales forecast metric source.
-
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the sales forecast metric source was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the sales forecast metric source. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The last updated login of the sales forecast metric source. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MetricDim1Code: string
Maximum Length:
100
The code of metric dimension 1 of the sales forecast metric source. -
MetricDim1FilterFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether metric dimension 1 is used for filtering forecasts. The values accepted are true or false. -
MetricDim1MultiSelectFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether the metric dimension 1 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim1Name: string
Read Only:
true
The name of metric dimension 1 of the sales forecast metric source. -
MetricDim1Type: string
Read Only:
true
Maximum Length:255
The type of metric dimension 1 of the sales forecast metric source. -
MetricDim2Code: string
Maximum Length:
100
The code of metric dimension 2 of the sales forecast metric source. -
MetricDim2FilterFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether metric dimension 2 is used for filtering forecasts. The values accepted are true or false. -
MetricDim2MultiSelectFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether the metric dimension 2 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim2Name: string
Read Only:
true
The name of metric dimension 2 of the sales forecast metric source. -
MetricDim2Type: string
Read Only:
true
Maximum Length:255
The type of metric dimension 2 of the sales forecast metric source. -
MetricDim3Code: string
Maximum Length:
100
The code of metric dimension 3 of the sales forecast metric source. -
MetricDim3FilterFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether metric dimension 3 is used for filtering forecasts. The values accepted are true or false. -
MetricDim3MultiSelectFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether the metric dimension 3 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim3Name: string
Read Only:
true
The name of metric dimension 3 of the sales forecast metric source. -
MetricDim3Type: string
Read Only:
true
Maximum Length:255
The type of metric dimension 3 of the sales forecast metric source. -
MetricDim4Code: string
Maximum Length:
100
The code of metric dimension 4 of the sales forecast metric source. -
MetricDim4FilterFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether metric dimension 4 is used for filtering forecasts. The values accepted are true or false. -
MetricDim4MultiSelectFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether the metric dimension 4 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim4Name: string
Read Only:
true
The name of metric dimension 4 of the sales forecast metric source. -
MetricDim4Type: string
Read Only:
true
Maximum Length:255
The type of metric dimension 4 of the sales forecast metric source. -
MetricDim5Code: string
Maximum Length:
100
The code of metric dimension 5 of the sales forecast metric source. -
MetricDim5FilterFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether metric dimension 5 is used for filtering forecasts. The values accepted are true or false. -
MetricDim5MultiSelectFlag: boolean
Read Only:
true
Maximum Length:1
Indicates whether the metric dimension 5 filter allows selecting multiple values.The values accepted are true or false. -
MetricDim5Name: string
Read Only:
true
The name of metric dimension 5 of the sales forecast metric source. -
MetricDim5Type: string
Read Only:
true
Maximum Length:255
The type of metric dimension 5 of the sales forecast metric source. -
MetricSrcCode: string
Maximum Length:
100
The metric source code of the sales forecast metric source. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
The object version number of the sales forecast metric source.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.