Partner tạo hotline

API này cho phép Partner thêm mới hotline trên hệ thống

Lưu ý:

  • Vui lòng sử dụng <api_key>mà eTelecom đã cung cấp trước đó. Thông tin base_url của Partner

PartnerAddHotline

post
Body
descriptionstringOptional
hotlinestringOptional
is_free_chargebooleanOptional
namestringOptional
networkstring · enumOptionalPossible values:
owner_idstring · int64Optional
Responses
200

A successful response

application/json
post
$BASE_URL.Etelecom/PartnerAddHotline
200

A successful response

Request:

Response:

Cấu trúc body của request:

Tham số
Kiểu dữ liệu
Mô tả

description

string

Mô tả hotline

hotline require

string

Số hotline muốn tạo

is_free_charge

boolean

true: không kiểm tra số dư khi gọi false: kiểm tra số dư khi gọi

name required

string

Tên hotline

network

string (tcMobileNetwork) Enum

Nhà mạng unknown mobifone vinaphone viettel other

Cấu trúc thuộc tính dữ liệu trả về:

Tham số
Kiểu dữ liệu
Mô tả

connection_id

string<int64>

ID phiên kết nối

connection_method

string

Phương thức kết nối

created_at

string<date-time>

Thời gian khởi tạo

description

string

Mô tả hotline

hotline

string<int64>

Số hotline

id

string<int64>

ID của hotline

is_free_charge

boolean

true: không kiểm tra số dư khi gọi false: kiểm tra số dư khi gọi

name

string

Tên hotline

network

string

Nhà mạng unknown mobifone vinaphone viettel other

owner_id

string<int64>

ID người quản lý

status

string

Trạng thái Z: Mới tạo P: Enable N: Disable

updated_at

string<date-time>

Ngày cập nhật

Last updated