Share via


IService.MetadataCreate(MetadataCreateRequest) Method

Definition

Creates new metadata components.

public:
 Microsoft::MasterDataServices::Services::MessageContracts::MetadataCreateResponse ^ MetadataCreate(Microsoft::MasterDataServices::Services::MessageContracts::MetadataCreateRequest ^ request);
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))]
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))]
[System.ServiceModel.OperationContract]
public Microsoft.MasterDataServices.Services.MessageContracts.MetadataCreateResponse MetadataCreate (Microsoft.MasterDataServices.Services.MessageContracts.MetadataCreateRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member MetadataCreate : Microsoft.MasterDataServices.Services.MessageContracts.MetadataCreateRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MetadataCreateResponse
Public Function MetadataCreate (request As MetadataCreateRequest) As MetadataCreateResponse

Parameters

Returns

Attributes

Remarks

The MetadataCreate(MetadataCreateRequest) operation creates new metadata objects. The operation creates new objects with the names that are provided and generates a new GUID for each new object.

GUIDs may be included in the request; however, they are ignored.

Names for new objects MUST be unique within their context. A name that conflicts with an existing name in the assigned context results in an error.

Newly created objects and their GUIDs are returned in the response if the value of ReturnCreatedIdentifiers is true.

For each of the following objects, a minimum context MUST be specified as listed in the following table.

Object typeMinimum required context
EntityModel
AttributeModel, Entity, MemberType
Attribute groupModel, Entity, MemberType
Derived hierarchyModel
Explicit hierarchyModel, Entity
Version flagModel

Applies to