Change hotline for extension

This API is used to change the hotline for the extension.

Note:

  • API used for integration case as Partner.

  • API_KEY: <shop_key>

  • Partner base_url information

Request:

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

Response:

{
  "updated": 0
}

Request body structure:

School name
Data type
Describe

hotline_id required

string

ID hotline

user_id

required

string

Employee ID

Return data attribute structure:

School name
Data type
Describe

updated

int

Status

0: Failed

1: Successful

Last updated