Wrap Options

AdminStudio 2024 R2 | 28.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

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

Getting Wrap Options for GET Method

Request Type

Description

API

http://localhost:8086/Catalog/ASOptionsProperty/?optionType=EXEWrapOptions&PropertyName=EXEOutputLocation

 

http://localhost:8086/Catalog/ASOptionsProperty/?optionType=PowerShellWrapOptions&PropertyName=PSOutputLocation

Method

GET

Parameters

List all parameters in the following format:

OptionsType = Specify the options type
EXEWrapOptions
PowerShellWrapOptions
PropertyName = Specify the property name
EXEOutputLocation
PSOutputLocation

Connection Info

Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs 

Response

Example:

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>

Getting Wrap Options for POST Method

Request Type

Description

API

http://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]

Method

POST

Parameters

List 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 Info

Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs 

Response

Example:

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>