Partner Add Hotline
This API allows Partners to add new hotlines to the system.
A successful response
POST /PartnerAddHotline HTTP/1.1
Host: $BASE_URL.ETelecom
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"description": "text",
"hotline": "text",
"is_free_charge": true,
"name": "text",
"network": "unknown",
"owner_id": "text"
}
A successful response
{
"connection_id": "text",
"connection_method": "unknown",
"created_at": "2025-09-14T00:46:03.828Z",
"description": "text",
"hotline": "text",
"id": "text",
"is_free_charge": true,
"name": "text",
"network": "unknown",
"owner_id": "text",
"status": "Z",
"updated_at": "2025-09-14T00:46:03.828Z"
}
Request:
curl --location 'BASE_URL.Etelecom/PartnerAddHotline' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"description": "string",
"hotline": "string",
"is_free_charge": true,
"name": "string",
"network": "unknown",
"owner_id": "string"
}'
Response:
{
"connection_id": "string",
"connection_method": "unknown",
"created_at": "2019-08-24T14:15:22Z",
"description": "string",
"hotline": "string",
"id": "string",
"is_free_charge": true,
"name": "string",
"network": "unknown",
"owner_id": "string",
"status": "Z",
"updated_at": "2019-08-24T14:15:22Z"
}
Request body structure:
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:
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