Page tree

Creates an image processing session. This is used for creating a tenant. 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": "createSession",
		"data": null,
		"type": "rpc",
		"tid": 1}"

Request Fields

Field
Type
Value(s)
Description
actionstring

BrandingManagement

The action that is invoked
methodstring

createSession

The method that is invoked
datastring
ID of the session to be created. If null a new ID will be created
typestringrpcType of communication protocol
tidinteger1Transaction ID. Used to identify the request by both the client and the server

Response Sample

{
	"action": "BrandingManagement",
	"method": "createSession",
	"tid": "1",
	"type": "rpc",
	"message": null,
	"where": null,
	"cause": null,
	"data": "a62608ca-facb-49be-ba44-9cc6907fb05b"
}

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
string

ID of the created session

  • No labels