GetSessionScreenshots
Gets screenshots of one or more NICE DCV sessions.
The image file type and resolution of the screenshot depends on the Session Manager Broker configuration.
To modify the image file type, configure the session-screenshot-format
parameter.
To modify the resolution, configure the session-screenshot-max-width
and
session-screenshot-max-height
parameters. For more information, see
Broker configuration file
in the NICE DCV Session Manager Administrator Guide.
Request parameters
SessionId
-
The ID of the NICE DCV session from which to get the screenshot.
Type: String
Required: Yes
Response parameters
RequestId
-
The unique ID of the request.
SuccessfulList
-
Information about the successful screenshots. This data structure includes the following nested response parameters:
SessionScreenshot
-
Information about the screenshots. This data structure includes the following nested response parameters:
SessionId
-
The ID of the NICE DCV session from which the screenshot was taken.
Images
-
Information about the images. This data structure includes the following nested response parameters:
Format
-
The format of the image. Possible values include:
jpeg
andpng
. Data
-
The screenshot image base64 encoded format.
CreationTime
-
The date and time the screenshot was taken.
Primary
-
Indicates whether the screenshot is of the NICE DCV session's primary display.
UnsuccessfulList
-
Information about the unsuccessful screenshots. This data structure includes the following nested response parameters:
GetSesionScreenshotRequestData
-
The original request that failed.
SessionId
-
The ID of the NICE DCV session from which the screenshot was to be taken.
FailureReason
-
The reason for the failure.