Create Tenant

This API is used to create tenant.

Note:

  • API used for integration case as Partner.

  • API_KEY: <shop_key>

  • Partner base_url information

Request:

curl --location '$BASE_URL.Etelecom/CreateTenant' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{}'

Response:

{
  "connection_id": "string",
  "connection_method": "unknown",
  "created_at": "2019-08-24T14:15:22Z",
  "domain": "string",
  "id": "string",
  "name": "string",
  "owner_id": "string",
  "status": "Z",
  "updated_at": "2019-08-24T14:15:22Z"
}

Return data attribute structure:

Parameters
Data type
Describe

connection_id

string<int64>

Session ID

connection_method

string

Connection method

created_at

string<date-time>

Initialization time

domain

string

Domain of the switchboard

id

string<int64>

Call center ID

name

string

Name of the switchboard

owner_id

string<int64>

Manager ID

status

string

Status

Z: Newly created

P: Enable

N: Disable

updated_at

string<date-time>

Update date

Last updated