Jagamisviis:


CreateCustomerRelationships Action

 

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

Creates a new customer lookup attribute, and optionally, to add it to a specified unmanaged solution.

This Web API action corresponds to the organization service CreateCustomerRelationshipsRequest.

CreateCustomerRelationships action is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the action.

Name

Type

Nullable

Unicode

Description

Lookup

ComplexLookupAttributeMetadata ComplexType

The metadata for the lookup field used to store the ID of the related record.

OneToManyRelationships

Collection(ComplexOneToManyRelationshipMetadata ComplexType)

The metadata array for the one-to-many relationships to the Account and Contact entity.

SolutionUniqueName

Edm.String

false

The name of the unmanaged solution to which you want to add this customer lookup attribute to.

Return Type

The CreateCustomerRelationships action returns the following value.

Type

Nullable

Description

CreateCustomerRelationshipsResponse ComplexType

false

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