New-ASCatalog

AdminStudio 2021 | 21.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it will create a new Application Catalog.

New-ASCatalog API Information

Request Type

Description

API

http://localhost:8086/catalog/{Name}

Method

POST

Parameters

List all parameters in the following format:

CatalogName = Use to enter a name for the new Application Catalog. Upon successful creation, you will be automatically connected to the new Application Catalog.

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/NewCat

<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>0cf346be-7f5f-418c-a19b-df0336cdbad2</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"><ReceiptID>0164bf63-b8e9-4a78-8f90-6fd3a630061a</ReceiptID><FileName /><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-19T06:41:48.3666699Z</TimeCreated><CancelTokenSource><IsCancellationRequested>false</IsCancellationRequested><Token><IsCancellationRequested>false</IsCancellationRequested><CanBeCanceled>true</CanBeCanceled><WaitHandle><Handle><value>7848</value></Handle><SafeWaitHandle><IsInvalid>false</IsInvalid><IsClosed>false</IsClosed></SafeWaitHandle></WaitHandle></Token></CancelTokenSource><ExistingPackageId>0</ExistingPackageId><EnforceDuplicateDetection>false</EnforceDuplicateDetection><GenerateSoftwareTag>false</GenerateSoftwareTag></Receipt></data></data>

</response>

Note:By using ReceiptID, you can see the transaction messages for the request. For more details, see Get Status of a Request.