Update a metric source attribute
patch
/crmRestApi/resources/11.13.18.05/salesForecastMetricSources/{MetricSrcCode}/child/MetricSrcAttributes/{MetricSrcAttributesUniqID}
Request
Path Parameters
-
MetricSrcAttributesUniqID(required): string
This is the hash key of the attributes which make up the composite key--- MetricSrcCode and AttributeCode ---for the Metric Source Attributes resource and used to uniquely identify an instance of Metric Source Attributes. The client should not generate the hash key value. Instead, the client should query on the Metric Source Attributes collection resource with a filter on the primary key values in order to navigate to a specific instance of Metric Source Attributes.
For example: MetricSrcAttributes?q=MetricSrcCode=<value1>;AttributeCode=<value2> -
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: 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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AliasName: string
The alias name for the metric source attribute.
-
AttrColumn: string
The attribute column for the metric source attribute.
-
AttributeCode: string
The attribute code for the metric source attribute.
-
AttributeDefType: string
The attribute definition type for the metric source attribute.
-
AttributeTable: string
The attribute table for the metric source attribute.
-
AttributeType: string
The attribute type for the metric source attribute.
-
AttrLength: number
The attribute length for the metric source attribute.
-
AttrPrecision: number
The attribute precision for the metric source attribute.
-
AttrScale: number
The attribute scale for the metric source attribute.
-
ColumnType: string
The column type for the metric source attribute.
-
CreatedBy: string
The user who created the metric source attribute.
-
CreationDate: string
(date-time)
The date when the metric source attribute was created.
-
DefaultValue: string
The default value for the metric source attribute.
-
DependsOn: string
The dependent attributes for the metric source attribute.
-
Description: string
The description for the metric source attribute.
-
DescriptionResourceId: string
The description resource identifier for the metric source attribute.
-
DisplayName: string
The display name for the metric source attribute.
-
EntityUsage: string
The entity usage for the metric source attribute.
-
IsCustomFlag: boolean
The custom attribute flag for the metric source attribute.
-
IsQueryableFlag: boolean
Indicates whether the metric source attribute can be queried.
-
IsSQLDerivedExprFlag: boolean
The SQL derived expression flag for the metric source attribute.
-
IsUpdatableFlag: boolean
The updatable flag for the metric source attribute.
-
LabelResourceId: string
The label resource identifier for the metric source attribute.
-
LastUpdateDate: string
(date-time)
The date when the metric source attribute was last updated.
-
LastUpdatedBy: string
The user who last updated the metric source attribute.
-
MandatoryFlag: boolean
The mandatory flag for the metric source attribute.
-
MetricSrcCode: string
The metric source code for the metric source attribute.
-
SignalAttributeName: string
The signal attribute name for the metric source attribute.
-
SignalAttributeType: string
The signal attribute type for the metric source attribute.
-
SignalFormattedAttributeName: string
The formatted signal attribute name for the metric source attribute.
-
SignalObject: string
The signal object for the metric source attribute.
-
SignalObjectType: string
The signal object type for the metric source attribute.
-
SignalRelatedObject: string
The related signal object for the metric source attribute.
-
SignalRelatedObjectCode: string
The related signal object code for the metric source attribute.
-
SignalRelatedObjectType: string
The related signal object type for the metric source attribute.
-
TableName: string
The table name for the metric source attribute.
-
TransientFlag: boolean
The transient flag for the metric source attribute.
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-MetricSrcAttributes-item-response
Type:
Show Source
object-
AliasName: string
The alias name for the metric source attribute.
-
AttrColumn: string
The attribute column for the metric source attribute.
-
AttributeCode: string
The attribute code for the metric source attribute.
-
AttributeDefType: string
The attribute definition type for the metric source attribute.
-
AttributeTable: string
The attribute table for the metric source attribute.
-
AttributeType: string
The attribute type for the metric source attribute.
-
AttrLength: number
The attribute length for the metric source attribute.
-
AttrPrecision: number
The attribute precision for the metric source attribute.
-
AttrScale: number
The attribute scale for the metric source attribute.
-
ColumnType: string
The column type for the metric source attribute.
-
CreatedBy: string
The user who created the metric source attribute.
-
CreationDate: string
(date-time)
The date when the metric source attribute was created.
-
DefaultValue: string
The default value for the metric source attribute.
-
DependsOn: string
The dependent attributes for the metric source attribute.
-
Description: string
The description for the metric source attribute.
-
DescriptionResourceId: string
The description resource identifier for the metric source attribute.
-
DisplayName: string
The display name for the metric source attribute.
-
EntityUsage: string
The entity usage for the metric source attribute.
-
IsCustomFlag: boolean
The custom attribute flag for the metric source attribute.
-
IsQueryableFlag: boolean
Indicates whether the metric source attribute can be queried.
-
IsSQLDerivedExprFlag: boolean
The SQL derived expression flag for the metric source attribute.
-
IsUpdatableFlag: boolean
The updatable flag for the metric source attribute.
-
LabelResourceId: string
The label resource identifier for the metric source attribute.
-
LastUpdateDate: string
(date-time)
The date when the metric source attribute was last updated.
-
LastUpdatedBy: string
The user who last updated the metric source attribute.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MandatoryFlag: boolean
The mandatory flag for the metric source attribute.
-
MetricSrcCode: string
The metric source code for the metric source attribute.
-
SignalAttributeName: string
The signal attribute name for the metric source attribute.
-
SignalAttributeType: string
The signal attribute type for the metric source attribute.
-
SignalFormattedAttributeName: string
The formatted signal attribute name for the metric source attribute.
-
SignalObject: string
The signal object for the metric source attribute.
-
SignalObjectType: string
The signal object type for the metric source attribute.
-
SignalRelatedObject: string
The related signal object for the metric source attribute.
-
SignalRelatedObjectCode: string
The related signal object code for the metric source attribute.
-
SignalRelatedObjectType: string
The related signal object type for the metric source attribute.
-
TableName: string
The table name for the metric source attribute.
-
TransientFlag: boolean
The transient flag for the metric source attribute.
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.