ExportType

This method is used to export the custom type definition file.

Parameters

  • token

    The token got by calling Login.

    Type: string

  • mainType

    The main type of the custom type.

    Type: string

  • typeName

    The custom type name you want to export.

    Type: string

  • versionName

    The custom type version (if left blank, the currently active version is assumed).

    Type: string

Used Return Values

  • ExportTypeResult

    Type: string

    CDATA XML string with the following entities:

    • Result

      String containing the code and message; Separated by a comma.

      Example:

      0, Success

    • File

      The definition file containing the name and the content.

    • Name

      The file name used during creation.

    • Content

      The content of the file (that is, the XML definition)