編輯

共用方式為


bookingCustomer resource type

Namespace: microsoft.graph

Represents a customer of a bookingBusiness.

Inherits from bookingCustomerBase.

Methods

Method Return Type Description
List bookingCustomer collection Get a list of bookingCustomer objects.
Create bookingCustomer Create a new bookingCustomer object.
Get bookingCustomer Read the properties and relationships of a bookingCustomer object.
Update bookingCustomer Update a bookingCustomer object.
Delete None Delete a bookingCustomer object.

Properties

Property Type Description
addresses physicalAddress collection Addresses associated with the customer. The attribute type of physicalAddress isn't supported in v1.0. Internally we map the addresses to the type others.
createdDateTime DateTimeOffset The date, time, and time zone when the customer was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
displayName String The name of the customer.
emailAddress String The SMTP address of the customer.
id String The ID of the customer. Read-only. Inherited from bookingCustomerBase.
lastUpdatedDateTime DateTimeOffset The date, time, and time zone when the customer was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
phones phone collection Phone numbers associated with the customer, including home, business, and mobile numbers.

Relationships

None

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.bookingCustomer",
  "addresses": [{"@odata.type": "microsoft.graph.physicalAddress"}],
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "emailAddress": "String",
  "id": "String (identifier)",
  "lastUpdatedDateTime": "String (timestamp)",
  "phones": [{"@odata.type": "microsoft.graph.phone"}]
}