SAP Knowledge Base Article - Public

3216279 - REST API for Sending Time Events from Terminal to Clock In Clock Out

Symptom

Post the time events from any external time tracking system, or terminal, or external device to Clock In Clock Out.

The REST API helps to post time events to Clock In Clock Out system.
This REST API sends time events one by one or in bulk to Clock In Clock Out.
A maximum of 1000 time events can be sent with one API call in bulk mode.
The number of time events that can be sent for a single user is limited to 200.

Prerequisite:

  • Enable the Clock In and Clock Out feature.
  • Create the OAuth token as explained in the previous steps from the related documentations. Use it for the authorization as a bearer token while calling this API.

Environment

• SAP SuccessFactors Time Tracking – Clock In Clock Out

Reproducing the Issue

CICO terminal integration does not work properly.

Resolution

 Please follow the below instructions:

Header Required Values
Authorization Yes Note

Paste the OAuth token taken from the previous step Creating OAuth Token before following the steps in this topic.

Content-Type Yes application/json

Please use the standard way of calling rest API.
Please send two parameters in the Header:
1. Content-Type as application/json
2. Accept as application/json.

When using Accept as 'application/json', the response will be available in json
When adding Accept as 'application/xml', then the response changes to XML

Accept is a way of letting the service know that it excepts always json format.

If you want to have the response in JSON format, you have to set Headers with ACCEPT and value as application/json.

See Also

3364562 - The maximum number of time events for a user in a request should not be greater than 200

REST API for Sending Time Events from Terminal to Clock In Clock Out

Keywords

Clock in Clock out, CICO, terminal, terminal integration, rest api, Time Tracking , KBA , LOD-SF-TTR-CIO , Clock In/ Clock Out , LOD-SF-TTR , Time Tracking , Problem

Product

SAP SuccessFactors Employee Central all versions