This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does Dimension support Python API?

Does Dimension support Python API? Currently I can only use REST service to fetch contents, any API I could use to creat request using Python?

  • 0

    Hello,

    There is no Python API for Dimensions.
    You can create a request using Java API, there is an example available in "[serverInstallationPath]\java_api\examples\CreateRequest.java".
    Though for using from your Python app it could be easier to create a request via command line (DMLCI application), say this way:

    dmcli.exe -param dmcli.param -file dmcli.cmds

    where dmcli.param file contains connection parameters, say:

    -user myUserID
    -pass myUserPassword
    -host myCMserverHost
    -dbname cm_typical
    -dsn dim15

    and dmcli.cmds file contains the list of commands necessary for execution, say for BR type request creation:

    CC "QLARIUS" "BR" /ATTRIBUTES=(Title="MyRequest")

    Regards,
    Alex

    --
    Alex Shevchenko
    Sr Development Manager
    Although I work for OpenText, I am speaking for myself and not for OpenText.
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button.