Cadet 3rd Class
Cadet 3rd Class

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?

1 Reply
Micro Focus Expert
Micro Focus Expert


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\".
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")


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.