bookingService 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示有关 bookingBusiness 提供的特定服务的信息,例如服务名称、价格以及通常提供此类服务的员工。
继承自 bookingNamedEntity。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| 列出服务 | bookingService 集合 | 获取指定 bookingbusiness 中的 bookingService 对象列表。 |
| 创建 bookingService | bookingService | 为指定的 bookingBusiness 创建 bookingService。 |
| 获取 bookingService | bookingService | 获取指定 bookingbusiness 中 bookingService 对象的属性和关系。 |
| 更新 | 无 | 更新指定 bookingbusiness 中的 bookingService 对象。 |
| 删除 | 无 | 删除指定 bookingbusiness 中的 bookingService 对象。 |
属性
| 属性 | 类型 | Description |
|---|---|---|
| additionalInformation | String | 确认约会时发送给客户的其他信息。 |
| customQuestions | bookingQuestionAssignment 集合 | 包含与特定服务关联的一组自定义问题。 |
| defaultDuration | 期限 | 服务的默认长度,以天数、小时数、分钟数和秒数表示。 例如,P11D23H59M59.99999999999999999S。 |
| defaultLocation | location | 服务的默认物理位置。 |
| defaultPrice | 双精度 | 服务的默认货币价格。 |
| defaultPriceType | bookingPriceType | 服务收费的默认方式。 可取值为:undefined、fixedPrice、startingAt、hourly、free、priceVaries、callUs、notSet、unknownFutureValue。 |
| defaultReminders | bookingReminder 集合 | 此服务的约会的默认提醒集。 仅当按其 ID 读取此 bookingService 时,此属性的值才可用。 |
| description | String | 服务的文本说明。 |
| displayName | String | 服务名称。 |
| id | String | 该服务的 ID,采用 GUID 格式。 只读。 |
| isAnonymousJoinEnabled | 布尔 | True 如果为此服务预订的约会生成 anonymousJoinWebUrl (webrtcUrl) 。 |
| isHiddenFromCustomers | 布尔 | True 表示此服务不可供客户预订。 |
| isLocationOnline | 布尔 | True 表示服务的约会将联机进行。 默认值为 false。 |
| languageTag | String | 自助服务预订页的语言。 |
| maximumAttendeesCount | Int32 | 服务中允许的最大客户数。 如果服务 的最大AttendeesCount 大于 1,则在创建或更新约会时传递有效的客户 ID。 若要创建客户,请使用 Create bookingCustomer 操作。 |
| notes | String | 有关此服务的其他信息。 |
| postBuffer | 期限 | 此服务的约会结束后和下一个客户约会可以预订之前的缓冲时间。 |
| preBuffer | 期限 | 此服务的约会开始之前的缓冲时间。 |
| schedulePolicy | bookingSchedulingPolicy | 一组策略,用于确定应如何创建和管理此类服务的约会。 |
| smsNotificationsEnabled | 布尔 | True 表示可以向客户发送短信通知以进行服务的约会。 默认值为 false。 |
| staffMemberIds | 字符串集合 | 表示提供此服务 的员工 。 |
| WebUrl | String | 客户用于访问服务的 URL。 |
关系
无
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"additionalInformation": "String",
"defaultDuration": "String (timestamp)",
"defaultLocation": {"@odata.type": "microsoft.graph.location"},
"defaultPrice": 1024,
"defaultPriceType": {"@odata.type": "microsoft.graph.bookingPriceType"},
"defaultReminders": [{"@odata.type": "microsoft.graph.bookingReminder"}],
"description": "String",
"displayName": "String",
"id": "String (identifier)",
"languageTag": "String",
"isHiddenFromCustomers": true,
"isLocationOnline": "Boolean",
"notes": "String",
"postBuffer": "String (timestamp)",
"preBuffer": "String (timestamp)",
"schedulingPolicy": {"@odata.type": "microsoft.graph.bookingSchedulingPolicy"},
"smsNotificationsEnabled": "Boolean",
"staffMemberIds": ["String"],
"customQuestions": [
{
"@odata.type": "microsoft.graph.bookingQuestionAssignment"
}
],
"maximumAttendeesCount": "Integer",
"isAnonymousJoinEnabled": "Boolean",
"webUrl": "String"
}
反馈
提交和查看相关反馈