Distributing Applications
REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, it will publish an application/package to specified distribution system.
| Request Type | Description |
|---|---|
| API | http://localhost:8086/catalog/publish/\{ApplicationID\}?TargetGroup=\{Applications\\Group1\}&ConnectionName=\{Distribution Server Name} http://localhost:8086/catalog/publish/<application Id>?ConnectionName=<IntuneConnection Name>&PublishAssignment=True/False |
| Method | POST |
| Parameters | List all parameters in the following format: ApplicationID = Specify the ApplicationID of the application you are publishing. To get ApplicationID, see Getting ApplicationID. TargetGroup = Specify the target group on the deployment server that you want to publish this application to. ConnectionName = Use to specify named connection to a deployment system. PackageID = Specifies the PackageIDs of the application that you are publishing. PublishAssignment = Specify one of the following: True False By default, the PublishAssignment will be set to False . If PublishAssignment is set to True , then it will publish assignments to Intune. Publish Assignments is applicable only to Intune Distribution System. |
| 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/publish/28?TargetGroup=Applications\\TestGroup&ConnectionName=SCCM 2010 Example : http://localhost:8086/catalog/publish/<application Id>?ConnectionName=<IntuneConnection Name>&PublishAssignment=True/False Response : success/failure message will be returned. By using ReceiptID, you can see the transaction messages for the request. For more details, see Getting Status of a Request. |