DocumentObj 2.5 CheckIn
Checks in a particular version and language of an object in Content Manager. A user can only check in an object when the user first checked out the same object.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services, making this parameter redundant. |
| psLogicalId | String | In | The logical identifier of the object. |
| psVersion | String | In | The version of the object. This version number has to be an exact number. |
| psLanguage | String | In | The language of the object. |
| psResolution | String | In | The resolution of the object. Only used for illustrations: this parameter should be empty for any other object types. |
| psXMLMetadata | String | In | Metadata XML structure with the metadata that will be set on the current object. |
| psXMLRequiredCurrentMetadata | String | In | Metadata XML structure with the metadata that object is required to have set currently. The update of the object is only carried out when the object has exactly the same metadata specification, i.e. the metadata was not changed by someone else. |
| psEdt | String | In | The unique identifier of the electronic document type. |
| pbData | Blob | In | The object content. |
Requirements are:
- The user checked out the this object.
- The user requires write access for the folder containing the object that will be checked in.
- The user must be able to do a valid status transition on this object, otherwise it is considered read-only for this user.
Note that:
- All logical identifiers within Content Manager are in uppercase.
- The
psXMLMetaDataparameter is allowed to contain a valid available status transition for the object that is updated. - All plug-ins have to run successfully, to allow a check in of the object. This includes status transition checks like e.g. the submitted xml has to be valid according its DTD before it is allowed to enter the requested status.
- For implementing the functionality 'check-in keep checked-out', it is recommended to use the update function.
- The (working) language of the object is only used to find the correct language object. If you want to update the language, use the field 'DOC-LANGUAGE' in
psXMLMetaData.