Dela via


InsertStatusValue Action

 

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

Inserts a new option into a StatusAttributeMetadata attribute.

This Web API action corresponds to the organization service InsertStatusValueRequest.

InsertStatusValue action is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the action.

Name

Type

Nullable

Unicode

Description

OptionSetName

Edm.String

false

Reserved for future use.

AttributeLogicalName

Edm.String

false

The logical name of the status attribute.

EntityLogicalName

Edm.String

false

Logical name of the entity.

Value

Edm.Int32

Value for the new status.

Label

Label ComplexType

Label for the new status.

Description

Label ComplexType

Description for the option.

StateCode

Edm.Int32

false

State code for the new status.

SolutionUniqueName

Edm.String

false

Unique name of the solution.

Return Type

The InsertStatusValue action returns the following value.

Type

Nullable

Description

InsertStatusValueResponse ComplexType

false

Contains the InsertStatusValue Action.

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