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 |
---|---|---|---|
action | string |
| The action that is invoked |
method | string |
| The method that is invoked |
data | string | ID of the session to be created. If null a new ID will be created | |
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 | string | ID of the created session |