Skip to main content

DuplicateItemsFromItemClass

Duplicate Items From Item Class.

Overview

Duplicates all the items from an Item class to another Item class.

Urlapi/public/FluentisErp/WM/Common/DuplicateItemsFromItemClass
HTTP MethodPOST
Method TypeOperation
Fluentis ObjectFluentis.FluentisErp.Core.WM.FSItem

Request parameters

ParameterTypeIs RequiredDefault ValueDescription
FromItemClassIdshortNoIdentify the original ItemClass using Id.
FromItemClassCodestringNoIdentify the original ItemClass using Code.
FromItemClassExternalIdstringNoReference to External Id for Item identification
FromItemClassExternalSystemstringNoReference to External System for Item identification
ToCompanyIdshortNoIdentify destination company using Id.
ToCompanyCodestringNoIdentify destination company using Code.
ToDepartmentIdshortNoIdentify destination department using Id.
ToDepartmentCodestringNoIdentify destination department using Code.
ToItemClassIdshortNoIdentify destination ItemClass using Id.
ToItemClassCodestringNoIdentify destination ItemClass using Code.
ToItemClassExternalIdstringNoReference to External Id for Item identification
ToItemClassExternalSystemstringNoReference to External System for Item identification

Original ItemClass Identification

Is enough to specify FromItemClassId or FromItemClassCode parameter. If both are specified they need to correspond to the same item class.

Destination Company Identification

Is enough to specify ToCompanyId or ToCompanyCode parameter. If both are specified they need to correspond to the same company.

Destination Department Identification

Is enough to specify ToDepartmentId or ToDepartmentCode parameter. If both are specified they need to correspond to the same department.

Destination ItemClass Identification

Is enough to specify ToItemClassId or ToItemClassCode parameter. If both are specified they need to correspond to the same item class.