Share via


UpdateStateValue Action

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Updates an option set value in for a StateAttributeMetadata attribute.

This Web API action corresponds to the organization service UpdateStateValueRequest.

UpdateStateValue action is not bound to any entity types.

UpdateStateValue action does not return a value.

Parameters

Parameters allow for data to be passed to the action.

Name

Type

Nullable

Unicode

Description

OptionSetName

Edm.String

false

For internal use only.

AttributeLogicalName

Edm.String

false

The logical name of the attribute.

EntityLogicalName

Edm.String

false

The name of the entity that has this statecode attribute.

Value

Edm.Int32

false

The statecode attribute options to update.

Label

Label ComplexType

The display label for this statecode option that is specified by the Value property.

Description

Label ComplexType

The description label for the statecode option that is specified in the Value property.

MergeLabels

Edm.Boolean

false

Indicates whether to merge the current label with any existing labels that are already specified for this attribute.

DefaultStatusCode

Edm.Int32

The default value for the statuscode (status reason) attribute when this statecode value is set.

See Also

Use Web API actions
Web API EntityType Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright