Jump to content
Welcome to our new Citrix community!
  • 0

Citrix Daas REST API to create Delivery Group


vishnupriya thokala

Question

Hi,

 

I'm trying to create a delivery group and add applications to it via citrix DaaS REST API's. I am using the following endpoint - https://developer.cloud.com/citrixworkspace/citrix-daas/citrix-daas-rest-apis/apis/DeliveryGroups-APIs/DeliveryGroups_CreateDeliveryGroup. While, I am able to create the delivery group, I am unsure of the parameters to be added to the request body to add applications to the delivery group and cannot find any examples on the web.

 

Can anyone help with this? Thanks.

Link to comment

1 answer to this question

Recommended Posts

  • 0

Here's the example request to create a DeliveryGroup with Microsoft Edge:

{
    "Name": "DG example",
    "MachineCatalogs": [
        {
            "MachineCatalog": "55291fb0-3107-4cb4-ac85-d8c9ba46aba5",
            "Count": 1,
            "AssignMachinesToUsers": []
        }
    ],
    "DeliveryType": "AppsOnly",
    "Desktops": [],
    "MinimumFunctionalLevel": "L7_20",
    "RequireUserHomeZone": false,
    "SimpleAccessPolicy": {
        "IncludedUsers": [],
        "AllowAnonymous": false,
        "IncludedUserFilterEnabled": false
    },
    "Applications": {
        "ExistingApplications": [],
        "NewApplications": [
            {
                "Icon": "AA==",
                "ApplicationFolder": "",
                "Name": "Microsoft Edge",
                "PublishedName": "Microsoft Edge",
                "Description": "Browse the web",
                "InstalledAppProperties": {
                    "CommandLineArguments": "",
                    "CommandLineExecutable": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
                    "WorkingDirectory": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application"
                },
                "IncludedUsers": []
            }
        ],
        "ExistingApplicationGroups": []
    },
    "Scopes": [],
    "UserManagement": "CloudLibrary",
    "DefaultDesktopPublishedName": "",
    "AutoScaleEnabled": false
}

Note: The icon data in my example is invalid because the real data is very long. You should replace with the real data.

You can call https://developer.cloud.com/citrixworkspace/citrix-daas/citrix-daas-rest-apis/apis/Machines-APIs/Machines_GetMachineStartMenuShortcutIcon to get the icon data of your application. For example: 

/Machines/da725f42-d771-4cc2-97f5-a90780d5fd79/StartMenuShortcutIcon?shortcutPath=C:|ProgramData|Microsoft|Windows|Start Menu|Programs|Microsoft Edge.lnk&iconFormat=image/png;32x32x24&async=true

Hope it helps.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...