Partner Add Hotline

This API allows Partners to add new hotlines to the system.

Note

  • Please use <api_key>the one eTelecom provided earlier. The base_url information of the Partner.

PartnerAddHotline

post
Body
descriptionstringOptional
hotlinestringOptional
is_free_chargebooleanOptional
namestringOptional
networkstring · enumOptionalPossible values:
owner_idstring · int64Optional
Responses
post
$BASE_URL.ETelecom/PartnerAddHotline
200

A successful response

Request:

Response:

Request body structure:

Parameters
Data type
Describe

description

string

Hotline description

hotline require

string

Hotline number to create

is_free_charge

boolean

true: no balance check when calling false: balance check when calling

name required

string

Hotline name

network

string (tcMobileNetwork) Enum

Networkunknown mobifone vinaphone viettel other

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

description

string

Hotline description

hotline

string<int64>

Hotline number

id

string<int64>

Hotline ID

is_free_charge

boolean

true: no balance check when calling false: balance check when calling

name

string

Hotline name

network

string

Networkunknown mobifone vinaphone viettel other

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