Locks the specified item (acquires an exclusive write lock).
Syntax
Rep_LockItem(string sessionId,string systemName,string objectId,string objectName,string objectType,out string xmlResult)
Parameter | Description |
---|---|
sessionId | Valid session identifier (SessionId) |
systemName | SystemOId |
objectId | ObjectId, if not specified then objectName and objectType must be specified |
objectName | Name of the item to be locked, if specified then objectType must be specified too |
objectType | Type of the item to be locked, if specified then objectName must be specified too |
xmlResult | Serialized MwsItemInfo XML object
|
Return Value
Value | Description |
---|---|
0 | OK |
<>0 |
Error See Error Codes. |