public class CreateItemVariantOperation
extends com.mulesoft.connectors.dynamics365bc.internal.operation.BaseRestOperation
| Constructor and Description |
|---|
CreateItemVariantOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
createItemVariant(CitizenMicrosoftDynamics365Configuration config,
com.mulesoft.connectors.dynamics365bc.internal.connection.MicrosoftRestConnection connection,
String companyId,
String itemNumber,
String code,
String description,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,com.mulesoft.connectors.dynamics365bc.api.HttpResponseAttributes> callback)
Creates a single ItemVariant
|
@Throws(value=com.mulesoft.connectors.dynamics365bc.internal.error.provider.CreateODataErrorProvider.class) @DisplayName(value="Create ItemVariant") @MediaType(value="application/json") @OutputResolver(output=ItemVariantTypeMetadataResolver.class) @SampleData(value=ItemVariantSampleDataProvider.class) public void createItemVariant(@Config CitizenMicrosoftDynamics365Configuration config, @Connection com.mulesoft.connectors.dynamics365bc.internal.connection.MicrosoftRestConnection connection, @MetadataKeyId @Expression(value=NOT_SUPPORTED) @OfValues(value=DelegateCompanyNameValueProvider.class) @DisplayName(value="Company") @Summary(value="Name of the Company that the action should apply to") String companyId, @Optional String itemNumber, String code, @Optional String description, org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,com.mulesoft.connectors.dynamics365bc.api.HttpResponseAttributes> callback)
config - the configuration to useconnection - the connection to usecompanyId - ID of the companystreamingHelper - the StreamingHelpercallback - the operation's CompletionCallbackCopyright © 2023 MuleSoft, Inc.. All rights reserved.