Partner Get Hotline List

This API allows Partners to retrieve previously created hotline lists.

Note

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

Request:

curl --location 'BASE_URL.Etelecom/GetPartnerHotlineList' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
  "paging": {
    "after": "string",
    "before": "string",
    "limit": 0,
    "sort": "string"
  }
}'

Response:

{
  "hotlines": [
    {
      "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"
    }
  ],
  "paging": {
    "after": "string",
    "before": "string",
    "limit": 0,
    "next": "string",
    "prev": "string",
    "sort": "string"
  }
}

Return data attribute structure:

Parameters
Data type
Data type

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

Update date

Last updated