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
curl
curl --request POST \ --url https://<Director_IP_address>:4443/c/router \ --header "content-type: application/json" \ --cookie @cookies.txt \ --data "{ "action": "BrandingManagement", "method": "getSessionState", "data": ["a62608ca-facb-49be-ba44-9cc6907fb05b"], "type": "rpc", "tid": 1}"
Request Fields
Field | Type | Value(s) | Description |
---|---|---|---|
| string |
| Action to be used |
| string |
| Method to be used |
| array |
| ID of the queued session |
| string |
| Type of communication protocol |
| integer |
| Transaction ID. Used to identify the request by both the client and the server |
Response Sample
Response Fields
Field | Value | Description |
---|---|---|
| string | Message if the request failed |
| string | Reference to the method where the problem occurred |
| string | Cause of failure |
| array | Data of the queued session. See the data table below |
data
Field | Value | Description |
---|---|---|
| array | Tenant image upload path |
| enum | State of the queued session |
| string | Last error available for the queued session |
| dateTime | Date and time when the queued session is updated |