Create a time event

post

/hcmRestApi/resources/11.13.18.05/timeEventRequests/{timeEventRequestId}/child/timeEvents

Request

Path Parameters
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 40
    Identifier for the time collection device used to create the time event.
  • Maximum Length: 150
    Date and time when the time event was recorded on the time collection device. The time stamp in the request must use the ISO 8601 standard with the timezone offset information. The attribute can handle either a start or end time or a start time and duration.
  • Maximum Length: 80
    Identifier for the worker recording the time event on the time collection device.
  • Maximum Length: 30
    The type of reporter identifier, such as Person or Badge, that the time reporter uses when swiping on the time collection device. Valid values are defined in the list ReporterIDTypeList1.
  • Maximum Length: 40
    The time events recognized by the supplier that are mapped to the corresponding Workforce Management application event. For example, the supplier device event Clock In is mapped to the application event In. Valid values are defined in the lookup TimeLookupSharedAM_OraHwmTcdSupplierEventswithSource1 and the lookup codes are defined by the customer.
  • Time Event Attributes
    Title: Time Event Attributes
    The timeEventAttributes resource is a child of the time events resource, and hence the child of child of the time events requests resource. It is a qualifier associated with the time event that reflects how time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates if the time for payroll consumers must be paid.
  • Unique identifier for the In or Out time event that the time reporter records on a time collection device.
  • Unique identifier for the time event request that the time collection device supplier sends. This request can contain one or more time events.
Nested Schema : Time Event Attributes
Type: array
Title: Time Event Attributes
The timeEventAttributes resource is a child of the time events resource, and hence the child of child of the time events requests resource. It is a qualifier associated with the time event that reflects how time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates if the time for payroll consumers must be paid.
Show Source
Nested Schema : schema
Type: object
Show Source
  • Maximum Length: 150
    Attribute identifying the In or Out time event of a paired device event. Used to default a qualifier only on the In or Out facet.
  • Maximum Length: 240
    Name of the attribute associated with the time event, such as Payroll Time Type.
  • A qualifier associated with the time event that reflects how the time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates whether time for payroll consumers should be paid.
  • Unique identifier for the In or Out time event that the time reporter records on a time collection device.
  • Maximum Length: 150
    Value of the attribute associated with the time event. For example, Regular is a value for the Payroll Time Type time attribute.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : timeEventRequests-timeEvents-item-response
Type: object
Show Source
  • Maximum Length: 40
    Identifier for the time collection device used to create the time event.
  • Maximum Length: 150
    Date and time when the time event was recorded on the time collection device. The time stamp in the request must use the ISO 8601 standard with the timezone offset information. The attribute can handle either a start or end time or a start time and duration.
  • Links
  • Maximum Length: 80
    Identifier for the worker recording the time event on the time collection device.
  • Maximum Length: 30
    The type of reporter identifier, such as Person or Badge, that the time reporter uses when swiping on the time collection device. Valid values are defined in the list ReporterIDTypeList1.
  • Maximum Length: 40
    The time events recognized by the supplier that are mapped to the corresponding Workforce Management application event. For example, the supplier device event Clock In is mapped to the application event In. Valid values are defined in the lookup TimeLookupSharedAM_OraHwmTcdSupplierEventswithSource1 and the lookup codes are defined by the customer.
  • Time Event Attributes
    Title: Time Event Attributes
    The timeEventAttributes resource is a child of the time events resource, and hence the child of child of the time events requests resource. It is a qualifier associated with the time event that reflects how time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates if the time for payroll consumers must be paid.
  • Unique identifier for the In or Out time event that the time reporter records on a time collection device.
  • Unique identifier for the time event request that the time collection device supplier sends. This request can contain one or more time events.
Nested Schema : Time Event Attributes
Type: array
Title: Time Event Attributes
The timeEventAttributes resource is a child of the time events resource, and hence the child of child of the time events requests resource. It is a qualifier associated with the time event that reflects how time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates if the time for payroll consumers must be paid.
Show Source
Nested Schema : timeEventRequests-timeEvents-timeEventAttributes-item-response
Type: object
Show Source
  • Maximum Length: 150
    Attribute identifying the In or Out time event of a paired device event. Used to default a qualifier only on the In or Out facet.
  • Links
  • Maximum Length: 240
    Name of the attribute associated with the time event, such as Payroll Time Type.
  • A qualifier associated with the time event that reflects how the time is paid, costed, billed, or recorded as an information entry. For example, the payroll time type attribute indicates whether time for payroll consumers should be paid.
  • Unique identifier for the In or Out time event that the time reporter records on a time collection device.
  • Maximum Length: 150
    Value of the attribute associated with the time event. For example, Regular is a value for the Payroll Time Type time attribute.
Back to Top