Tạo máy nhánh

Bước 1: Bạn cần liên hệ với SenCloud để tạo tổng đài trước khi thực hiện các bước này.

Bước 2: Đăng nhập SenCloudarrow-up-right

API tạo máy nhánh

CreateExtension

post
Body
extension_numberintegerOptional
hotline_idstring · int64Optional
user_idstring · int64Optional
Responses
chevron-right
200

A successful response

application/json
account_idstring · int64Optional
created_atstring · date-timeOptional
expires_atstring · date-timeOptional
extension_numberstringOptional
extension_passwordstringOptional
hotline_idstring · int64Optional
idstring · int64Optional
statestring · enumOptionalPossible values:
subscription_idstring · int64Optional
tenant_domainstringOptional
tenant_idstring · int64Optional
updated_atstring · date-timeOptional
user_idstring · int64Optional
post
/v1/shop.Sencloud/CreateExtension
200

A successful response

Request:

Response Sample:

Tên trường
Kiểu dữ liệu
Mô tả

id

string

ID máy nhánh

extension_number

string

Số máy nhánh

extension_password

string

Mật khẩu máy nhánh

tenant_id

string

ID tenant

tenant_domain

string

Domain tenant

hotline_id

string

ID của hotline

created_at

string

Thời gian tạo máy nhánh

updated_at

string

Thời gian cập nhật

expires_at

string

Thời gian hết hạn

state

string

Trạng thái

Z: Mới tạo P: Còn hạn N: Hết hạn

Last updated