Updates a specific blob of an item.
The user must have the permission to update an item of the specified type.
If ObjectVersioning is activated, update is only possible if the item is a WorkVersion.
Syntax
Rep_UpdateItemBlob(string sessionId,string systemName,string objectId,string objectName,string objectType,string blobType,string blob,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 updated, if specified then objectType must be specified too |
objectType | Type of the item to be updated, if specified then objectName must be specified too |
blobType | Type of blob that will be updated, this is the string
representation of the according RepositoryBlobType. Possible values:
|
blob | Base64 encoded string containing the blob |
xmlResult | Serialized MwsItemInfo XML object
|
Return Value
Value | Description |
---|---|
0 | OK |
<>0 |
Error See Error Codes. |