Upravit

Sdílet prostřednictvím


timeCardEvent 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 a specific timeCard event.

Properties

Property Type Description
dateTime DateTimeOffset The time the entry is recorded.
isAtApprovedLocation Boolean Indicates whether this action happens at an approved location.
notes itemBody Notes about the timeCardEvent.
atApprovedLocation (deprecated) Boolean Indicates whether this action happens at an approved location. This property will be removed by November 20, 2027. Use isAtApprovedLocation instead. atApprovedLocation and isAtApprovedLocation always have the same value, so setting one automatically sets the value for the other. If both are included in the request with different values, the value for isAtApprovedLocation takes precedence.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.timeCardEvent",
  "dateTime": "String (timestamp)",
  "atApprovedLocation": "Boolean",
  "isAtApprovedLocation": "Boolean",
  "notes": {
    "@odata.type": "microsoft.graph.itemBody"
  }
}