Assign extension to user

In order for user to be able to make calls on the system, it is necessary to assign extensions to user.

Note:

  • API used for integration case as Partner.

  • API_KEY: <shop_key>

  • Partner base_url information

Request:

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

Response:

{
  "updated": 0
}

Request body structure:

School name
Data type
Describe

extension_id required

string

Extension ID

user_id required

string

Employee ID

Return data attribute structure:

School name
Data type
Describe

updated

int

Status

0: Failed

1: Successful

Last updated