[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Create Application

Description

Creates a new application, belonging to the specified org. If org is not provided, it will use the org from the authentication context.

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/av-appies/v1/applications
Copy

Request Body

Request Body

DataRequestDtoOfApplicationDto of mimetype application/json Required

Schema to create an application

{
	"data": {
		"appVersions": [
			{
				"application": "ApplicationDto Object",
				"applicationId": "da891c6b-3ac6-491b-9c79-c58788819500",
				"bundleGuid": "da891c6b-3ac6-491b-9c79-c58788819500",
				"createdAt": "2022-07-11T07:44:49.619+00:00",
				"deliveryFormat": "APP_VOLUMES",
				"deliveryMode": "ONDEMAND",
				"description": "MS Office 2013 for windows",
				"id": "e7421121-d052-4fd9-861f-7ce57246134e",
				"lifecycleStage": "UNPACKAGED",
				"location": "US",
				"markerIds": [
					"CURRENT"
				],
				"name": "Office2019",
				"operatingSystem": {
					"buildVersion": "2",
					"friendlyName": "steve machine",
					"majorVersion": "6",
					"minorVersion": "1",
					"name": "Microsoft Windows 10 Pro",
					"processorArch": "64-bit",
					"productType": "monolithic"
				},
				"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
				"packagerNotes": "Packaged for compatability checking",
				"packages": [
					{
						"appVersionIds": [
							"e7421121-d052-4fd9-861f-7ce57246134e"
						],
						"blobName": "npp786",
						"createdAt": "2022-07-11T07:44:49.619+00:00",
						"fileSize": 35729408,
						"filename": "Excel.vhd",
						"guid": "da891c6b-3ac6-491b-9c79-c58788819500",
						"id": "e7421121-d052-4fd9-861f-7ce57246134e",
						"location": "US",
						"metadata": "..program:{wemcapture:4.0.1.32,AppVolumes:}..",
						"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
						"path": "/path/to/file",
						"providerInstanceId": "63b911937a203f5cfca4ad2a",
						"providerInstanceIds": [
							"63b911937a203f5cfca4ad2a"
						],
						"sourceUri": "file://source-uri/path/",
						"status": "DELETE_FAILED",
						"template": "office.vhd",
						"updatedAt": "2022-07-11T07:44:49.619+00:00",
						"volumeGuid": "da891c6b-3ac6-491b-9c79-c58788819500"
					}
				],
				"programs": [
					{
						"icon": {
							"data": "iVBORw0KGgoAAAANSUhEU..",
							"type": "image/png"
						},
						"iconIndex": 1,
						"installLocation": "C:\\Program Files (x86)\\Google\\Chrome\\Application",
						"name": "Google Chrome",
						"publisher": "Google LLC",
						"systemComponent": 0,
						"version": "7.8.5"
					}
				],
				"status": "DELETE_FAILED",
				"updatedAt": "2022-07-11T07:44:49.619+00:00",
				"version": "16.0.10386.20017"
			}
		],
		"createdAt": "2022-07-11T07:44:49.619+00:00",
		"description": "This is MS Office application",
		"id": "e7421121-d052-4fd9-861f-7ce57246134e",
		"location": "US",
		"name": "MS Office",
		"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
		"ownerId": "string",
		"status": "DELETE_FAILED",
		"updatedAt": "2022-07-11T07:44:49.619+00:00"
	}
}
data Optional

Schema Representation for Application. Application is the Virtual Application container which will be created by the administrator to store the diffrent application packages captured or imported to be stored under. This will act as a grouping for different versions of the same software, so that the administrator can mark one of the application versions using a marker and that can be used in an assignment. Eg: “Microsoft Office” will be created as an application which is the virtual application container which will contain “Microsoft Office 2013 sp1” as an application version under it, “Microsoft_Office_2013_SP1_Clean.vhd” can be the application package containing the particular application version

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns ApplicationDto of type */*
{
    "createdAt": "2022-07-11T07:44:49.619+00:00",
    "description": "This is MS Office application",
    "id": "e7421121-d052-4fd9-861f-7ce57246134e",
    "location": "US",
    "name": "MS Office",
    "orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
    "updatedAt": "2022-07-11T07:44:49.619+00:00"
}
array of AppVersionDto
appVersions Optional

Schema Representation for AppVersion. AppVersion is the particular version of software installed/captured in a given capture session. As part of the Cloud native capture only one AppVersion can be part of a Package. AppVersion was called in the past as “App Bundle” in the 3.x terminology. This is uniquely identified by a uuid which is generated during the capture session. With application package merge, it is possible to have the same AppVersion in multiple packages and also that single Package can have more than one AppVersion contained in it. Eg: “Microsoft Office 2013 sp1” can be the application version which can be captured under a virtual application named “Microsoft Office”, and this version can reside on a package “Microsoft_Office_2013_SP1_Clean.vhd”


string
createdAt Optional

This represents the timestamp at which the object was created


string
description Optional

Any Description for the application


string
id Optional

This represents the unique Id of the Object


string
location Optional

This represents the location


string
name Optional

Name of the application


string
orgId Optional

This represents the organization Id


string
ownerId Optional

Azure AD Object guid of the Owner


string
status Optional

Possible values are: DELETE_FAILEDPENDING_DELETE


string
updatedAt Optional

This represents the latest timestamp at which the object was updated

Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"data":{"appVersions":[{"application":"ApplicationDto Object","applicationId":"da891c6b-3ac6-491b-9c79-c58788819500","bundleGuid":"da891c6b-3ac6-491b-9c79-c58788819500","createdAt":"2022-07-11T07:44:49.619+00:00","deliveryFormat":"APP_VOLUMES","deliveryMode":"ONDEMAND","description":"MS Office 2013 for windows","id":"e7421121-d052-4fd9-861f-7ce57246134e","lifecycleStage":"UNPACKAGED","location":"US","markerIds":["CURRENT"],"name":"Office2019","operatingSystem":{"buildVersion":"2","friendlyName":"steve machine","majorVersion":"6","minorVersion":"1","name":"Microsoft Windows 10 Pro","processorArch":"64-bit","productType":"monolithic"},"orgId":"e7421121-d052-4fd9-861f-7ce57246134e","packagerNotes":"Packaged for compatability checking","packages":[{"appVersionIds":["e7421121-d052-4fd9-861f-7ce57246134e"],"blobName":"npp786","createdAt":"2022-07-11T07:44:49.619+00:00","fileSize":35729408,"filename":"Excel.vhd","guid":"da891c6b-3ac6-491b-9c79-c58788819500","id":"e7421121-d052-4fd9-861f-7ce57246134e","location":"US","metadata":"..program:{wemcapture:4.0.1.32,AppVolumes:}..","orgId":"e7421121-d052-4fd9-861f-7ce57246134e","path":"/path/to/file","providerInstanceId":"63b911937a203f5cfca4ad2a","providerInstanceIds":["63b911937a203f5cfca4ad2a"],"sourceUri":"file://source-uri/path/","status":"DELETE_FAILED","template":"office.vhd","updatedAt":"2022-07-11T07:44:49.619+00:00","volumeGuid":"da891c6b-3ac6-491b-9c79-c58788819500"}],"programs":[{"icon":{"data":"iVBORw0KGgoAAAANSUhEU..","type":"image/png"},"iconIndex":1,"installLocation":"C:\\Program Files (x86)\\Google\\Chrome\\Application","name":"Google Chrome","publisher":"Google LLC","systemComponent":0,"version":"7.8.5"}],"status":"DELETE_FAILED","updatedAt":"2022-07-11T07:44:49.619+00:00","version":"16.0.10386.20017"}],"createdAt":"2022-07-11T07:44:49.619+00:00","description":"This is MS Office application","id":"e7421121-d052-4fd9-861f-7ce57246134e","location":"US","name":"MS Office","orgId":"e7421121-d052-4fd9-861f-7ce57246134e","ownerId":"string","status":"DELETE_FAILED","updatedAt":"2022-07-11T07:44:49.619+00:00"}}' https://cloud.vmwarehorizon.com/av-appies/v1/applications
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: applicationRequestDto


Feedback

Was this page helpful?