Skip to main content

Importing Specified Package

REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, It will import specified package into the Application Catalog.

Request TypeDescription
APIhttp://localhost:8086/catalog/deploymenttypes/Groups/\{GroupName\}/?FilePath=C:\\Testdata\\orca\\New folder\orca.msi
MethodPOST
Connection InfoProvides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs
ParametersList all packages in the catalog in the following format: FilePath = Path of the Package that is imported into the Application Catalog. GroupName = Name of the Group under which packages to be imported.
Response<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>26f2941c-0af0-4f84-a31c-356c2c60ece1</Postman-Token><Content-Length>0</Content-Length></httpHeaders><request></request></headers><summary /> <data><data><Receipt xmlns:json="http://james.newtonking.com/projects/json" json:id="1"> &lt;ReceiptID&gt;2aefaa25-76e9-4831-897a-3cd5a4ee4789&lt;/ReceiptID&gt; <FileName>C:\Testdata\orca\New folder\orca.msi</FileName><GroupPath>TestGroup</GroupPath><ParentReceipt /><PackageID>0</PackageID><TestIDs /><PluginGUID>00000000-0000-0000-0000-000000000000</PluginGUID><PackageFeedId>0</PackageFeedId><FixTransformPath /> <DeploymentData /><WrapData /><AppAttachData /><UpdatePackageData /> <NonPluginTestData /><PackageConversionData /><PackageFeedRequestData /><PackageFeedAutomationRequestData /><BacklogItemRequestData /><State>0</State><StateDescription>New Transaction</StateDescription><CustomData /><Progress><TransactionID>00000000-0000-0000-0000-000000000000</TransactionID><Start>0</Start><End>0</End><Current>0</Current><StepSize>0</StepSize></Progress><LastMessageID>-1</LastMessageID><Release>false</Release><TimeCreated>2021-04-15T14:41:53.6258261Z</TimeCreated><CancelTokenSource><IsCancellationRequested>false</IsCancellationRequested><Token><IsCancellationRequested>false</IsCancellationRequested><CanBeCanceled>true</CanBeCanceled><WaitHandle><Handle><value>1624</value></Handle><SafeWaitHandle> <IsInvalid>false</IsInvalid></CancelTokenSource><ExistingPackageId>0</ExistingPackageId><EnforceDuplicateDetection>true</EnforceDuplicateDetection><GenerateSoftwareTag>false</GenerateSoftwareTag></Receipt></data></data></response></response> By using ReceiptID, you can see the transaction messages for the request. For more details, see Getting Status of a Request.