bookingService 资源类型
命名空间:microsoft.graph
表示有关 bookingBusiness 提供的特定服务的信息,例如服务名称、价格以及通常提供此类服务的员工。
方法
方法 | 返回类型 | 说明 |
---|---|---|
列出服务 | bookingService 集合 | 获取指定 bookingBusiness 中的 bookingService 对象列表。 |
创建 bookingService | bookingService | 为指定的 bookingBusiness 创建 bookingService。 |
获取 bookingService | bookingService | 获取指定 bookingBusiness 中 bookingService 对象的属性和关系。 |
更新 | 无 | 更新指定的 bookingBusiness 中的 bookingService 对象。 |
删除 | 无 | 删除指定 bookingBusiness 中的 bookingService 对象。 |
属性
属性 | 类型 | 说明 |
---|---|---|
additionalInformation | String | 确认约会时发送给客户的其他信息。 |
customQuestions | bookingQuestionAssignment 集合 | 包含与特定服务关联的一组自定义问题。 |
defaultDuration | 持续时间 | 服务的默认长度,以天、小时、分钟和秒数表示。 例如,P11D23H59M59.9999999999999S。 |
defaultLocation | location | 服务的默认物理位置。 |
defaultPrice | 双精度 | 服务的默认货币价格。 |
defaultPriceType | bookingPriceType | 服务的默认收费方式。 可取值为:undefined 、fixedPrice 、startingAt 、hourly 、free 、priceVaries 、callUs 、notSet 、unknownFutureValue 。 |
defaultReminders | bookingReminder 集合 | 此服务约会的默认提醒集。 仅当按 ID 读取此 bookingService 时,此属性的值才可用。 |
说明 | String | 服务的文本说明。 |
displayName | String | 服务名称。 |
id | String | 该服务的 ID,采用 GUID 格式。 此为只读属性。 |
isAnonymousJoinEnabled | 布尔值 | True 如果将为为此服务预订的约会生成匿名加入约会的 URL (anonymousJoinWebUrl) 。 |
isHiddenFromCustomers | 布尔值 | 如果为 True,则表示此服务不可供客户预订。 |
isLocationOnline | 布尔值 | True 表示服务约会将联机进行。 默认值为 false。 |
languageTag | String | 自助预订页面的语言。 |
maximumAttendeesCount | Int32 | 服务中允许的最大客户数。 如果服务的 maximumAttendeesCount 大于 1,请在创建或更新约会时传递有效的客户 ID。 若要创建客户,请使用 创建 bookingCustomer 操作。 |
notes | String | 有关此服务的其他信息。 |
postBuffer | 持续时间 | 此服务的约会结束后以及下一次客户约会之前要缓冲的时间。 |
preBuffer | 持续时间 | 此服务的约会开始前的缓冲时间。 |
schedulingPolicy | bookingSchedulingPolicy | 确定应如何创建和管理此类服务的约会的策略集。 |
smsNotificationsEnabled | 布尔值 | 如果为 True,则表示可以向客户发送服务预约的短信通知。 默认值为 false。 |
staffMemberIds | 字符串集合 | 表示提供此服务 的员工 。 |
webUrl | String | 客户用于访问服务的 URL。 |
关系
无。
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"additionalInformation": "String",
"customQuestions": [
{
"@odata.type": "microsoft.graph.bookingQuestionAssignment"
}
],
"defaultDuration": "String (timestamp)",
"defaultLocation": {"@odata.type": "microsoft.graph.location"},
"defaultPrice": "Double",
"defaultPriceType": {"@odata.type": "microsoft.graph.bookingPriceType"},
"defaultReminders": [{"@odata.type": "microsoft.graph.bookingReminder"}],
"description": "String",
"displayName": "String",
"id": "String (identifier)",
"isAnonymousJoinEnabled": "Boolean",
"isHiddenFromCustomers": "Boolean",
"isLocationOnline": "Boolean",
"languageTag": "String",
"maximumAttendeesCount": "Int32",
"notes": "String",
"postBuffer": "String (timestamp)",
"preBuffer": "String (timestamp)",
"schedulingPolicy": {"@odata.type": "microsoft.graph.bookingSchedulingPolicy"},
"smsNotificationsEnabled": "Boolean",
"staffMemberIds": ["String"],
"webUrl": "String"
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈