Get Session State

Product version: 10.11

Last modified: 31 July 2024

Gets the state of the session. This is used for tenant creation. Refer to Create Tenant.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

Request Fields

Field
Type
Value(s)
Description

action

string

BrandingManagement

Action to be used

method

string

getSessionState

Method to be used

data

array

["a62608ca-facb-49be-ba44-9cc6907fb05b"]

ID of the queued session

type

string

rpc

Type of communication protocol

tid

integer

1

Transaction ID. Used to identify the request by both the client and the server

Response Sample

Response Fields

Field
Value
Description

message

string Message if the request failed

where

string Reference to the method where the problem occurred

cause

string Cause of failure

data

object Data of the queued session. See the data table below

data

Field
Value
Description

imagePath

array

Paths of the processed images, one element for each of the 5 image buckets of the session. An element is null until an image is attached to that bucket

imageAttributeDto

array

Size, height, and width of the image in each bucket, in the same order as imagePath

state

enum

State of the session: INITIAL when no image is being processed, or PROCESSING_IMAGE while an attached image is being processed

lastError

string

Last error available for the queued session

updated

dateTime

Date and time when the session state was last updated, for example, 2026-11-16T17:11:12.780+07:00. null in a new session