Upravit

Sdílet prostřednictvím


personAnniversary 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.

Represents the details of meaningful dates associated with a person in a user's profile.

Inherits from itemFacet.

Methods

Method Return type Description
List personAnniversary collection Get the personAnniversary resources from the anniversaries navigation property.
Create personAnniversary Create a new personAnniversary object.
Get personAnniversary Read the properties and relationships of a personAnniversary object.
Update personAnniversary Update the properties of a personAnniversary object.
Delete None Deletes a personAnniversary object.

Properties

Property Type Description
allowedAudiences String The audiences that are able to see the values contained within the entity. Inherited from itemFacet. Possible values are: me, family, contacts, groupMembers, organization, federatedOrganizations, everyone, unknownFutureValue.
createdBy identitySet Provides the identifier of the user and/or application that created the entity. Inherited from itemFacet.
createdDateTime DateTimeOffset Provides the dateTimeOffset for when the entity was created. Inherited from itemFacet.
date Date Contains the date associated with the anniversary type.
id String Identifier used for individually addressing the entity. Inherited from entity
inference inferenceData Contains inference detail if the entity is inferred by the creating or modifying application. Inherited from itemFacet.
lastModifiedBy identitySet Provides the identifier of the user and/or application that last modified the entity. Inherited from itemFacet.
lastModifiedDateTime DateTimeOffset Provides the dateTimeOffset for when the entity was created. Inherited from itemFacet.
source personDataSource Where the values originated if synced from another service. Inherited from itemFacet.
type anniversaryType The type of anniversary the date represents. Possible values are: birthday, wedding, unknownFutureValue.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.personAnniversary",
  "id": "String (identifier)",
  "allowedAudiences": "String",
  "inference": {
    "@odata.type": "microsoft.graph.inferenceData"
  },
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "source": {
    "@odata.type": "microsoft.graph.personDataSource"
  },
  "type": "String",
  "date": "Date"
}