Rep_UpdateItemBlob - Web Services - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Web Services

Platform
Content Composer
Product
Web Services
Release
Foundation 23.2
License

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:
  • "WordDocument"
  • "XmlSchema"
  • "WordTemplate"
blob Base64 encoded string containing the blob
xmlResult Serialized MwsItemInfo XML object
  • Empty if no iteminfo exists (object not exist)
  • Contains the error message in case of an error

Return Value

Value Description
0 OK
<>0

Error

See Error Codes.