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 Values
The timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values.
Nested Schema : Time Event Attribute Values
Type:
array
Title:
Time Event Attribute Values
The 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:
true
Maximum Length:255
User name for the person who created the time event. -
CreationDate: string
(date-time)
Read Only:
true
Creation date and time for the time event. -
DeviceId: string
Read Only:
true
Maximum Length:255
Device that the time event was recorded on, such as Web Clock. -
EventTime: string
Read Only:
true
Maximum Length:255
Time of the event that was recorded. -
EventType: string
Read Only:
true
Maximum Length:255
Type for the time event, such as In or Out. -
GeolocationExistFlag: boolean
Read Only:
true
Indicates whether a geolocation exists for the event. Valid values are Y or N. The default value is N. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PersonId: integer
Read Only:
true
Unique identifier for the person who recorded the time event. -
PersonName: string
Read Only:
true
Maximum Length:255
Person name for the time event. -
PersonNumber: string
Read Only:
true
Maximum Length:255
Person number for the time event. -
SourceIdentifier: string
Read Only:
true
Maximum Length:255
Identifier for the source of the reporter associated with the time event. -
SourceIdentifierType: string
Read Only:
true
Maximum Length:255
Type of identifier for the source of the reporter associated with the time event such as PERSONID, ASSIGNMENTID, or PERSON. -
Status: string
Read Only:
true
Maximum Length:255
Status for the time event, such as New, Completed, or Processing. -
StatusCode: string
Read Only:
true
Maximum Length:255
Status code for the time event, such as NEW, COMPLETED, or PROCESSING. -
timeEventAttributeValues: array
Time Event Attribute Values
Title:
Time Event Attribute Values
The timeEventAttributeValues resource is a child of the timeEvents resource. It provides all time event attribute values. -
TimeEventId: integer
Read Only:
true
Unique identifier for the time event. -
TimeEventVersion: integer
Read Only:
true
Version for the time event.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Time Event Attribute Values
Type:
array
Title:
Time Event Attribute Values
The 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 reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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:
true
Maximum Length:255
Code for the time event attribute. -
AttributeId: integer
Read Only:
true
Unique identifier for the time event attribute. -
AttributeName: string
Read Only:
true
Maximum Length:255
Display name for the time event attribute. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TimeEventId: integer
Read Only:
true
Unique identifier for the time event.
Nested Schema : Links
Type:
array
Title:
Links
The 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: