Partner Activate Tenant
To attach a hotline or add a new extension, the tenant needs to be activated. This API allows the Partner to activate the tenant.
Body
connection_idstring · int64Optional
Portsip direct connection (defautl value)
hotline_idstring · int64Required
owner_idstring · int64Optional
tenant_idstring · int64Optional
Responses
200
A successful response
application/json
post
POST /PartnerActivateTenant HTTP/1.1
Host: $BASE_URL.ETelecom
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"connection_id": "text",
"hotline_id": "text",
"owner_id": "text",
"tenant_id": "text"
}
200
A successful response
{
"updated": 1
}
Request:
curl --location 'BASE_URL.Etelecom/PartnerActivateTenant' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"connection_id": "string",
"hotline_id": "string",
"owner_id": "string",
"tenant_id": "string"
}'
Response:
{
"updated": 0
}
Structure of body request:
Parameters
Data type
Describe
connection_id
require
string
Session ID (this information is obtained during the switchboard creation step or the API to get the switchboard list)
hotline_id
string
ID hotline
owner_id require
string
Manager ID (this information is obtained during the switchboard creation step or the API to get the switchboard list)
tenant_id require
string
Call center ID (this information is obtained in the call center creation step or the API to get the list of call centers)
Last updated