Search Results for

    Show / Hide Table of Contents

    Method UpdateDocumentComplex

    UpdateDocumentComplex(String, DocumentContract, DocumentFileParameterContract, CheckInParameterContract)

    Update a document

    Declaration
    DocumentContract UpdateDocumentComplex(string connectionId, DocumentContract document, DocumentFileParameterContract documentFileParameter, CheckInParameterContract checkInParameter)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    DocumentContract document

    Document to update

    DocumentFileParameterContract documentFileParameter

    Files to import

    CheckInParameterContract checkInParameter

    Commit parameters

    Returns
    Type Description
    DocumentContract

    The updated document

    Examples

    POST http://YourServerName/InfoShare/Json/Document/UpdateDocumentComplex

    Example for update a document complex.

    Response:

    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    No document found for documentId {documentId} (10005)

    ServiceException

    Updating with old version not possible (10016)

    ServiceException

    Signature type unknown {signatureType} (10032)

    ServiceException

    Unknown data type for property type (10035)

    ServiceException

    String was not recognized as a valid DateTime: {dateTimeValue}. Expected format {expectedFormat} (10059)

    ServiceException

    Property type not found {propertyTypeId} (10034)

    ServiceException

    Timeout occured in method {methodName} (10116)

    ServiceException

    Failure while inserting values into document (10117)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    ServiceException

    Too much renditions or document datas for a SAP Document (10164)

    ServiceException

    Can not set a lifecycle date lower than currently set (10176)

    ServiceException

    Failure while inserting value: '{propertyTypeValue}' into propertyType: {propertyTypeId} (10190)

    ServiceException

    Document '{documentId}' already checked out for User '{userId}' (10204)

    ServiceException

    Could not parse hexadecimal color code string {hexColorCodeString} to a valid ARGB value (10207)

    ServiceException

    Property type {propertyTypeId} value is too long: {value} (10179)

    ServiceException

    No file matched the given criteria (10250)

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId}) (10071)

    ServiceException

    Not enough rights for life cycle protected document {ContentModification} (10327)

    Back to top Copyright © Kendox