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:
80
Web clock event time in device time. -
DeviceType: string
Maximum Length:
30
Source of the web clock event, such as Mobile online, Mobile offline, or Desktop. -
eventSource(required): string
Maximum Length:
40
Unique identifier for the source of the event, such as ORA_HWM_WEBCLOCK. -
GeoLocation: string
Maximum Length:
150
Geolocation for the web clock event, provided by the online mobile app or mobile device browser. -
GeoLocationException: string
Maximum Length:
30
Identifies 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 Fields
The 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:
array
Title:
Time Card Fields
The 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:
150
Default Value:-1
Unique 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:
true
Maximum Length:150
Label to show on the web clock button. -
ChangeRequestPendingFlag: boolean
Read Only:
true
Maximum Length:1
Indicates 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:
80
Web clock event time in device time. -
DeviceType: string
Maximum Length:
30
Source of the web clock event, such as Mobile online, Mobile offline, or Desktop. -
eventSource: string
Maximum Length:
40
Unique identifier for the source of the event, such as ORA_HWM_WEBCLOCK. -
EventType: string
Read Only:
true
Maximum Length:255
Data type for the web clock event, such as In or Out. -
GeoLocation: string
Maximum Length:
150
Geolocation for the web clock event, provided by the online mobile app or mobile device browser. -
GeoLocationException: string
Maximum Length:
30
Identifies why the geolocation information is missing for the web clock event. -
iconName: string
Read Only:
true
Maximum Length:150
Icon to show on the web clock button. -
links: array
Links
Title:
Links
The 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:
true
Maximum Length:255
Status for the time event, such as NEW, INPROCESS, or COMPLETE. -
timeCardFields: array
Time Card Fields
Title:
Time Card Fields
The 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:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Time Card Fields
Type:
array
Title:
Time Card Fields
The 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 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 : webClockEvents-timeCardFields-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
timeCardFieldDisplayName: string
Read Only:
true
Maximum Length:150
Display name for the time card field. -
timeCardFieldId: integer
(int64)
Unique identifier for the time card field.
-
timeCardFieldName: string
Read Only:
true
Maximum Length:500
Name of the time card field. -
timeCardFieldValue: string
Read Only:
true
Maximum Length:4000
Value for the time card field. -
timeCardFieldValueId: string
Maximum Length:
150
Default Value:-1
Unique identifier for the value of the time card field.
Nested Schema : Links
Type:
array
Title:
Links
The 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: