Skip to main content

Wrap Options

REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it will fetch the wrap options configured in the Application Catalog.

Request TypeDescription
APIhttp://localhost:8086/Catalog/ASOptionsProperty/?optionType=EXEWrapOptions&PropertyName=EXEOutputLocation http://localhost:8086/Catalog/ASOptionsProperty/?optionType=PowerShellWrapOptions&PropertyName=PSOutputLocation
MethodGET
ParametersList all parameters in the following format: OptionsType = Specify the options type EXEWrapOptions PowerShellWrapOptions PropertyName = Specify the property name EXEOutputLocation PSOutputLocation
Connection InfoProvides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs
ResponseExample: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=EXEWrapOptions&PropertyName=EXEOutputLocation Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=PowerShellWrapOptions&PropertyName=PSOutputLocation Response: <data>C:\Program Files (x86)\AdminStudio Shared\WrappedPackages\[Vendor]\[Product Name]\[Version]</data>
Request TypeDescription
APIhttp://localhost:8086/Catalog/ASOptionsProperty/?optionType=EXEWrapOptions&PropertyName=EXEOutputLocation&Value=C:\\Users1\\\[ProductName\]\\\[Vendor\]\\Test http://localhost:8086/Catalog/ASOptionsProperty/?optionType=PowerShellWrapOptions&PropertyName=PSOutputLocation&Value=C:\\Users\\\[language\]\\\[Vendor\]\\\[version\]\\REST\\\[Product Name]\[PlatForm]\[Setup Type]
MethodPOST
ParametersList all parameters in the following format: OptionsType = Specify the options type EXEWrapOptions PowerShellWrapOptions PropertyName = Specify the property name EXEOutputLocation PSOutputLocation Value = Specify the path for the output location along with placeholders (if required).
Connection InfoProvides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs
ResponseExample: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=EXEWrapOptions&PropertyName=EXEOutputLocation&Value=C:\\Users1\\\[ProductName\]\\\[Vendor\]\\Test Example: http://localhost:8086/Catalog/ASOptionsProperty/?optionType=PowerShellWrapOptions&PropertyName=PSOutputLocation&Value=C:\\Users\\\[language\]\\\[Vendor\]\\\[version\]\\REST\\\[Product Name]\[PlatForm]\[Setup Type] Response: <data>true</data>