Updates the type of the document.

Syntax

Visual Basic (declaration)
Public Function UpdateDocumentType( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal DocumentTypeID as Integer) as XmlNode

C# (declaration)
public XmlNode UpdateDocumentType( 
string AuthenticationTicket, string Path, int DocumentTypeID)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of a document that the type to be updated
DocumentTypeID
    int The Document Type ID.

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the document type has been updated successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must have at least "Change" right.
The required propertyset for the document type must be applied before this method has been called.

See Also