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

Create Bulk Entitlements

Description

Creates a new application entitlements in bulk, 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-entitlements/v1/app-entitlements/create-bulk
Copy

Request Body

Request Body

DataRequestDtoOfCreateEntitlementsRequestDto of mimetype application/json Required

Schema for Create Bulk Entitlements Request

{
	"data": {
		"apps": [
			{
				"appVersionId": "63c169fb36358558af039226",
				"applicationId": "63bfbf6af0429c0f8fe9c229",
				"markerId": "CURRENT"
			}
		],
		"deliveryMode": "CLASSIC",
		"entities": [
			{
				"entityId": "2ed0b9b0-3a79-4a06-93ff-07d41a025453",
				"entityType": "user"
			}
		],
		"location": "US",
		"orgId": "5c2409df-a307-4a04-b558-fb0693d42890",
		"overwrite": true
	}
}
data Optional

Scheme for Create Entitlements Request

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns RequestAcceptedResponseDto of type */*
{
    "href": "/av-entitlements//v1/app-entitlements"
}
string
href Optional

Controller Url for Entitlements

Errors

Errors

ErrorResponse
400

Bad Request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"data":{"apps":[{"appVersionId":"63c169fb36358558af039226","applicationId":"63bfbf6af0429c0f8fe9c229","markerId":"CURRENT"}],"deliveryMode":"CLASSIC","entities":[{"entityId":"2ed0b9b0-3a79-4a06-93ff-07d41a025453","entityType":"user"}],"location":"US","orgId":"5c2409df-a307-4a04-b558-fb0693d42890","overwrite":true}}' https://cloud.vmwarehorizon.com/av-entitlements/v1/app-entitlements/create-bulk
Vendor Extensions

Vendor Extensions

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


Feedback

Was this page helpful?