Creates an item of the specified type.
The user must have permission to create an item of the specified type.
Syntax
Rep_CreateItem(string sessionId,string systemName,string objectName,string objectType,out string xmlResult)
| Parameter | Description |
|---|---|
| sessionId | Valid session identifier (SessionId) |
| systemName | SystemOId |
| objectName | Name of the item to create |
| objectType | Type of the item to create |
| xmlResult | Serialized MwsItemInfo XML object
|
Return Value
| Value | Description |
|---|---|
| 0 | OK |
| <>0 |
Error See Error Codes. |