Partilhar via


InsertOptionValue Action

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.

Consulte também

Outros recursos

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 CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.