Update a time event
patch
/hcmRestApi/resources/11.13.18.05/timeEvents/{TimeEventId}
Request
Path Parameters
-
TimeEventId(required): integer
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
timeEventAttributeValues: array
Time Event Attribute Values
Title:
Time Event Attribute ValuesThe timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values.
Nested Schema : Time Event Attribute Values
Type:
arrayTitle:
Time Event Attribute ValuesThe timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values.
Show Source
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : timeEvents-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:255User name for the person who created the time event. -
CreationDate: string
(date-time)
Read Only:
trueCreation date and time for the time event. -
DeviceId: string
Read Only:
trueMaximum Length:255Device that the time event was recorded on, such as Web Clock. -
EventTime: string
Read Only:
trueMaximum Length:255Time of the event that was recorded. -
EventType: string
Read Only:
trueMaximum Length:255Type for the time event, such as In or Out. -
GeolocationExistFlag: boolean
Read Only:
trueIndicates whether a geolocation exists for the event. Valid values are Y or N. The default value is N. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PersonId: integer
Read Only:
trueUnique identifier for the person who recorded the time event. -
PersonName: string
Read Only:
trueMaximum Length:255Person name for the time event. -
PersonNumber: string
Read Only:
trueMaximum Length:255Person number for the time event. -
SourceIdentifier: string
Read Only:
trueMaximum Length:255Identifier for the source of the reporter associated with the time event. -
SourceIdentifierType: string
Read Only:
trueMaximum Length:255Type of identifier for the source of the reporter associated with the time event such as PERSONID, ASSIGNMENTID, or PERSON. -
Status: string
Read Only:
trueMaximum Length:255Status for the time event, such as New, Completed, or Processing. -
StatusCode: string
Read Only:
trueMaximum Length:255Status code for the time event, such as NEW, COMPLETED, or PROCESSING. -
timeEventAttributeValues: array
Time Event Attribute Values
Title:
Time Event Attribute ValuesThe timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values. -
TimeEventId: integer
Read Only:
trueUnique identifier for the time event. -
TimeEventVersion: integer
Read Only:
trueVersion for the time event.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Time Event Attribute Values
Type:
arrayTitle:
Time Event Attribute ValuesThe timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : timeEvents-timeEventAttributeValues-item-response
Type:
Show Source
object-
AttributeCode: string
Read Only:
trueMaximum Length:255Code for the time event attribute. -
AttributeId: integer
Read Only:
trueUnique identifier for the time event attribute. -
AttributeName: string
Read Only:
trueMaximum Length:255Display name for the time event attribute. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TimeEventId: integer
Read Only:
trueUnique identifier for the time event.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- timeEventAttributeValues
-
Operation: /hcmRestApi/resources/11.13.18.05/timeEvents/{TimeEventId}/child/timeEventAttributeValuesParameters:
- TimeEventId:
$request.path.TimeEventId
The timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values. - TimeEventId: