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

Check Conflicts

Description

Check application entitlements having conflicts with existing entitlements, 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/check-conflicts
Copy

Request Body

Request Body

DataRequestDtoOfCreateEntitlementsRequestDto of mimetype application/json Required

Schema for Create 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

200 OK

Returns EntitlementConflictTypeDto of type */*
{
	"conflict_OVERWRITE": [
		{
			"appVersionId": "63c169fb36358558af039226",
			"applicationId": "63bfbf6af0429c0f8fe9c229",
			"createdAt": "2022-07-11T07:44:49.619+00:00",
			"deliveryMode": "CLASSIC",
			"entityId": "2ed0b9b0-3a79-4a06-93ff-07d41a025453",
			"entityType": "user",
			"id": "e7421121-d052-4fd9-861f-7ce57246134e",
			"location": "US",
			"markerId": "CURRENT",
			"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
			"status": "SUCCESS",
			"updatedAt": "2022-07-11T07:44:49.619+00:00"
		}
	],
	"conflict_SKIP": [
		{
			"appVersionId": "63c169fb36358558af039226",
			"applicationId": "63bfbf6af0429c0f8fe9c229",
			"createdAt": "2022-07-11T07:44:49.619+00:00",
			"deliveryMode": "CLASSIC",
			"entityId": "2ed0b9b0-3a79-4a06-93ff-07d41a025453",
			"entityType": "user",
			"id": "e7421121-d052-4fd9-861f-7ce57246134e",
			"location": "US",
			"markerId": "CURRENT",
			"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
			"status": "SUCCESS",
			"updatedAt": "2022-07-11T07:44:49.619+00:00"
		}
	],
	"no_CONFLICT": [
		{
			"appVersionId": "63c169fb36358558af039226",
			"applicationId": "63bfbf6af0429c0f8fe9c229",
			"createdAt": "2022-07-11T07:44:49.619+00:00",
			"deliveryMode": "CLASSIC",
			"entityId": "2ed0b9b0-3a79-4a06-93ff-07d41a025453",
			"entityType": "user",
			"id": "e7421121-d052-4fd9-861f-7ce57246134e",
			"location": "US",
			"markerId": "CURRENT",
			"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
			"status": "SUCCESS",
			"updatedAt": "2022-07-11T07:44:49.619+00:00"
		}
	]
}
conflict_OVERWRITE Optional

Schema for Entitlement. Searchable fields are “id”, “entityId”, “entityType”, “applicationId”, “markerId”, “appVersionId”, “deliveryMode”, “createdAt”, “updatedAt”


conflict_SKIP Optional

Schema for Entitlement. Searchable fields are “id”, “entityId”, “entityType”, “applicationId”, “markerId”, “appVersionId”, “deliveryMode”, “createdAt”, “updatedAt”


no_CONFLICT Optional

Schema for Entitlement. Searchable fields are “id”, “entityId”, “entityType”, “applicationId”, “markerId”, “appVersionId”, “deliveryMode”, “createdAt”, “updatedAt”

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":{"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/check-conflicts
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?