[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Find Sessions By Agent Guid
DescriptionFilter sessions by AgentSessionGUIDs.
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v1/sessions/bulk
Query Parameters
Query Parameters
string
org_id
Optional
org_id
Request Body
Request Body
{
"userGuidDTOs": [
{
"agentSessionGuid": [
"string"
],
"userId": "userId"
}
]
}
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
InvSessionDTO
of type application/json
{
"agentSessionGuid": "string",
"clientId": "string",
"dspecId": "string",
"edgeId": "string",
"edgeName": "string",
"entitlementId": "string",
"haiAgentVersion": "string",
"id": "string",
"lastAssignedTime": "string",
"normalizedAgentVersion": "string",
"poolId": "string",
"poolName": "string",
"providerLabel": "string",
"sessionStatus": "string",
"sessionType": "string",
"siteId": "string",
"siteName": "string",
"templateId": "string",
"templateType": "string",
"userId": "string",
"username": "string",
"viewAgentVersion": "string",
"vmId": "string"
}
string
agentSessionGuid
Optional
string
clientId
Optional
string
dspecId
Optional
string
edgeId
Optional
string
edgeName
Optional
string
entitlementId
Optional
string
haiAgentVersion
Optional
string
id
Optional
string as date-time
lastAssignedTime
Optional
string
normalizedAgentVersion
Optional
string
poolId
Optional
string
poolName
Optional
string
providerLabel
Optional
string
sessionStatus
Optional
string
sessionType
Optional
string
siteId
Optional
string
siteName
Optional
string
templateId
Optional
string
templateType
Optional
string
userId
Optional
string
username
Optional
string
viewAgentVersion
Optional
string
vmId
Optional
Errors
ErrorResponse
400
Bad Request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not Found
ErrorResponse
412
Precondition Failed
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"userGuidDTOs":[{"agentSessionGuid":["string"],"userId":"userId"}]}' https://cloud.vmwarehorizon.com/portal/v1/sessions/bulk
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: sessionBatchReq
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen