eTelecom docs
English
English
  • INSTRUCTIONS FOR USE
    • Administration page for cs.etelecom
    • Google Chrome Extension
    • App eTelecom
  • API INTEGRATION
    • Shop
      • Account
      • Usage
    • Partner
      • Account
      • Usage
    • VPBX
      • VoIP SDK
        • Android
        • iOS
        • Web
        • Flutter
      • PBX REST APIs
        • Partner Get Tenant List
        • Partner Add Hotline
        • Partner Get Hotline List
        • Partner Activate Tenant
        • Partner Add Hotline To Tenant
        • Partner Removed Hotline From Tenant
        • Partner Remove Hotline
        • Create Tenant
        • Get Tenant information
        • Get Driver Config
        • Get hotline list
        • Create Account User
        • Get List User
        • Create extension
        • Get extension information
        • Get extension list
        • Assign extension to user
        • Change hotline for extension
        • Remove User Of Extension
        • Get call history
    • Zalo Cloud
      • Instructions for connecting Zalo Cloud
      • Zalo Cloud API
        • Create OA authorization link
        • Connect OA
        • Get refresh token
        • Get OA list
        • Get OA information
        • Update Webhook for OA
        • Get list of users
        • Send Text Consulting
        • Send Consulting message according to user information request form
        • Send advice message with sticker
        • Send message Consulting with attached photo
        • Send message Consulting attached file
        • Send transaction message
        • Upload file
        • Send request for calling permission
        • Check if the customer has granted calling permission
        • Get list of requests for calling permission
        • Create a news template
        • Get sample details
        • Get list of news samples
        • Journey Token Creation
        • Get Journey Token Details
        • Get Journey Token List
        • Get message list
        • Get message details
        • Send ZNS
        • Send ZNS with Journey Token
  • SMS BRANDNAME
    • User manual
    • SMS API
      • Send SMS
      • Get message status
      • Get sample details
Powered by GitBook
On this page
  1. API INTEGRATION
  2. VPBX
  3. PBX REST APIs

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.

PreviousPartner Get Hotline ListNextPartner Add Hotline To Tenant

Last updated 5 months ago

Note

  • Please use the one eTelecom provided earlier. The base_url information of the .

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)

<api_key>
Partner

PartnerActivateTenant

post
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
}