Share via


InsertOptionValue Action

 

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

Inserts a new option value for a global or local option set.

This Web API action corresponds to the organization service InsertOptionValueRequest.

InsertOptionValue 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.

SolutionUniqueName

Edm.String

false

Unique name of the solution.

Return Type

The InsertOptionValue action returns the following value.

Type

Nullable

Description

InsertOptionValueResponse ComplexType

false

Contains the response from InsertOptionValue 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