Set-ASProperty
Edition:REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, it will set the application model properties of a package.
Request Type |
Description |
||||||||||||
API |
http://localhost:8086/catalog/deploymenttypes/{id}/properties/{propertyname}/?value={value}&distributionconnectionname={distributionconnectionname} |
||||||||||||
Method |
POST |
||||||||||||
Parameters |
List all parameters in the following format:
Note:The name of the property is fetched from the Property_PluginId table for the corresponding distribution system to set properties related to other Distribution System except ConfigMgr. |
||||||||||||
Connection Info |
Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs |
||||||||||||
Response |
Example: 1. http://localhost:8086/catalog/deploymenttypes/59/properties/Publisher/?value=TestPublisher <response> <HasFault>false</HasFault><headers><httpHeaders><Host>localhost:8086</Host><Connection>keep-alive</Connection><Accept>*/*</Accept><User-Agent>PostmanRuntime/7.26.10</User-Agent><Accept-Encoding>gzip, deflate, br</Accept-Encoding><Postman-Token>16058260-d59e-45d4-bf96-eb59098952ec</Postman-Token><Content-Length>0</Content-Length></httpHeaders><request></request></headers><summary /><data>true</data> </response> 2.http://localhost:8086/catalog/deploymenttypes/17/properties/PackageName/?value=Tortoise&distributionconnectionname=Altiris <response> <HasFault>false</HasFault><headers><httpHeaders><Host>10.80.149.84:8086</Host><Accept-Language>en-US,en;q=0.9</Accept-Language><Connection>keep-alive</Connection><Origin>chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop</Origin><Postman-Token>bfcbfb4c-0c84-f634-042c-5cb35cbc53e8</Postman-Token><Accept-Encoding>gzip, deflate</Accept-Encoding><Accept>*/*</Accept><User-Agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36</User-Agent><Content-Length>0</Content-Length><Cache-Control>no-cache</Cache-Control></httpHeaders><request></request></headers><summary /><data>true</data> </response> |