Partner gán hotline vào tổng đài

API này cho phép Partner gán hotline vào tổng đài

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

PartnerAddHotlineToTenant

post
Body
hotline_idstring · int64Optional
tenant_idstring · int64Optional
Responses
200
A successful response
application/json
post
POST /PartnerAddHotlineToTenant HTTP/1.1
Host: $BASE_URL.Etelecom
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "hotline_id": "text",
  "tenant_id": "text"
}
200

A successful response

{
  "updated": 1
}

Request:

curl --location 'BASE_URL.Etelecom/PartnerAddHotlineToTenant' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
  "hotline_id": "string",
  "tenant_id": "string"
}'

Response:

{
  "updated": 0
}

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

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

hotline_id require

string

ID hotline

tenant_id require

string

ID của tổng đài

Last updated