Create a web clock event
post
/hcmRestApi/resources/11.13.18.05/webClockEvents
Request
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
buttonId(required): integer
(int64)
Unique identifier for the web clock button associated with the event.
-
deviceClickTime: string
Maximum Length:
80Web clock event time in device time. -
DeviceType: string
Maximum Length:
30Source of the web clock event, such as Mobile online, Mobile offline, or Desktop. -
eventSource(required): string
Maximum Length:
40Unique identifier for the source of the event, such as ORA_HWM_WEBCLOCK. -
GeoLocation: string
Maximum Length:
150Geolocation for the web clock event, provided by the online mobile app or mobile device browser. -
GeoLocationException: string
Maximum Length:
30Identifies why the geolocation information is missing for the web clock event. -
personId(required): integer
(int64)
Unique identifier for the person associated with the web clock event.
-
serverClickTime: string
Web clock event time in server time.
-
timeCardFields: array
Time Card Fields
Title:
Time Card FieldsThe timeCardFields resource is a child of the webClockEvents resource, used to create and view the time card fields for a web clock event. -
TimeEventId: integer
(int64)
Unique identifier for the time event.
-
timeTamperedFlag: boolean
Indicates whether the time reporter manipulated the device time. Valid values are true and false. The default value is false.
-
webClockClickId: integer
Unique identifier for the web clock event.
Nested Schema : Time Card Fields
Type:
arrayTitle:
Time Card FieldsThe timeCardFields resource is a child of the webClockEvents resource, used to create and view the time card fields for a web clock event.
Show Source
Nested Schema : webClockEvents-timeCardFields-item-post-request
Type:
Show Source
object-
timeCardFieldId: integer
(int64)
Unique identifier for the time card field.
-
timeCardFieldValueId: string
Maximum Length:
150Default Value:-1Unique identifier for the value of the time card field.
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 : webClockEvents-item-response
Type:
Show Source
object-
buttonId: integer
(int64)
Unique identifier for the web clock button associated with the event.
-
buttonLabel: string
Read Only:
trueMaximum Length:150Label to show on the web clock button. -
ChangeRequestPendingFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether there is a change request pending for the time event. Valid values are true and false. The default value is false. -
deviceClickTime: string
Maximum Length:
80Web clock event time in device time. -
DeviceType: string
Maximum Length:
30Source of the web clock event, such as Mobile online, Mobile offline, or Desktop. -
eventSource: string
Maximum Length:
40Unique identifier for the source of the event, such as ORA_HWM_WEBCLOCK. -
EventType: string
Read Only:
trueMaximum Length:255Data type for the web clock event, such as In or Out. -
GeoLocation: string
Maximum Length:
150Geolocation for the web clock event, provided by the online mobile app or mobile device browser. -
GeoLocationException: string
Maximum Length:
30Identifies why the geolocation information is missing for the web clock event. -
iconName: string
Read Only:
trueMaximum Length:150Icon to show on the web clock button. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
personId: integer
(int64)
Unique identifier for the person associated with the web clock event.
-
serverClickTime: string
Web clock event time in server time.
-
Status: string
Read Only:
trueMaximum Length:255Status for the time event, such as NEW, INPROCESS, or COMPLETE. -
timeCardFields: array
Time Card Fields
Title:
Time Card FieldsThe timeCardFields resource is a child of the webClockEvents resource, used to create and view the time card fields for a web clock event. -
TimeEventId: integer
(int64)
Unique identifier for the time event.
-
timeTamperedFlag: boolean
Indicates whether the time reporter manipulated the device time. Valid values are true and false. The default value is false.
-
webClockClickId: integer
Unique identifier for the web clock event.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Time Card Fields
Type:
arrayTitle:
Time Card FieldsThe timeCardFields resource is a child of the webClockEvents resource, used to create and view the time card fields for a web clock event.
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 : webClockEvents-timeCardFields-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
timeCardFieldDisplayName: string
Read Only:
trueMaximum Length:150Display name for the time card field. -
timeCardFieldId: integer
(int64)
Unique identifier for the time card field.
-
timeCardFieldName: string
Read Only:
trueMaximum Length:500Name of the time card field. -
timeCardFieldValue: string
Read Only:
trueMaximum Length:4000Value for the time card field. -
timeCardFieldValueId: string
Maximum Length:
150Default Value:-1Unique identifier for the value of the time card field.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- timeCardFields
-
Parameters:
- webClockClickId:
$request.path.webClockClickId
The timeCardFields resource is a child of the webClockEvents resource, used to create and view the time card fields for a web clock event. - webClockClickId: