创建员工

创建一个时间表人员。默认情况下,人员被创建为活动人员。使用 property_ids 将员工限制为特定房间;当省略时,将创建可以访问所有房间的员工。

对于国际房东账号,mobile 必须采用 +<country code> <number> 格式(例如 +86 13800138000)。

Body Params
string
required

员工的显示姓名(最多 128 个字符)。

string
required

手机号码。国际房东账号必须使用 +<country code> <number> 格式。

string

电子邮件。

string

自由格式注释(最多 500 个字符)。

property_ids
array of integers

该员工可以访问的房间。省略授予房东账号可用的所有房间的访问权限。

property_ids
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json