Use this API to assign phone numbers to a shared line groups. These direct phone numbers will be shared among members of the shared line group. Prerequisties:
curl--location--request POST 'http://api.zoom.us/v2/phone/shared_line_groups//phone_numbers'
响应示例响应示例
201 - 示例 1
{}
请求参数
Path 参数
sharedLineGroupId
string
必需
Unique Identifier of the Shared Line Group.
Body 参数multipart/form-data
phone_numbers
array [object {2}]
可选
Phone number(s) to be assigned to the Shared Line Group.
id
string
可选
Unique Identifier of the phone number.
number
string
可选
Phone number.
返回响应
🟢201**HTTP Status Code:** `201` **Created**<br>
Phone number(s) assigned successfully.
application/json
Body
object{0}
🟠400**HTTP Status Code:** `400` **Bad Request**<br>
**Error Code:** `400`<br>
Phone number does not exist<br><br>
**Error Code:** `300` **Validation Failed.**<br>
Shared line group (id: {sharedLingGroupId}) does not exist.
🟠401**HTTP Status Code:** `401` **Unauthorized**<br>
**Error Code:** `124`
Phone number does not belong to this account