Düzenle

Aracılığıyla paylaş


bookingCustomerInformation resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Registers the customer properties for an appointment. An appointment contains a list of customer information and each unit indicates the properties of a customer who is part of that appointment.

Inherits from bookingCustomerInformationBase.

Properties

Property Type Description
customerId String The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable.
customQuestionAnswers bookingQuestionAnswer collection It consists of the list of custom questions and answers given by the customer as part of the appointment.
emailAddress String The SMTP address of the bookingCustomer who is booking the appointment.
location location Represents location information for the bookingCustomer who is booking the appointment.
name String The customer's name.
notes String Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId.
phone String The customer's phone number.
smsNotificationsEnabled Boolean Indicates if the SMS notifications will be sent to the customer for the appointment
timeZone String The time zone of the customer. For a list of possible values, see dateTimeTimeZone.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.bookingCustomerInformation",
  "customerId": "String",
  "name": "String",
  "emailAddress": "String",
  "phone": "String",
  "notes": "String",
  "smsNotificationsEnabled": "Boolean",
  "location": {
    "@odata.type": "microsoft.graph.location"
  },
  "timeZone": "String",
  "customQuestionAnswers": [
    {
      "@odata.type": "microsoft.graph.bookingQuestionAnswer"
    }
  ]
}