Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://www.hinote.in/hrworks/api/post/AttendanceInput.do?key=<customer_api_key>

You need to use https in your API call.

Please note that the API key must be appended with the URL as a request parameter. You need to use https in your API call.

2 Post Request

Input can be provided as a request parameter named inputData or as a request body. A typical example is as follows.

...

{"success":true,"statusCode":200,"recordsProcessed":1222,"recordsSuccessful":1222,"recordsFailed":0}

3.1 Output Parameters

Parameter

Description

success

Denotes if the API call was successful.

statusCode

Refers to the relevant http status code. Any status code other than "200" refers to an error while processing the request.

msg

Refers to a text value describing the response in case of an error. It can describe the error which has occurred.

The possible values for "statusCode" are presented here.

...

1
2
3
4
5

#The following command uploads attendance employee data.
  
curl --location --request POST 'https://hinote.in/hrworks/api/post/AttendanceInput.do?key=<customer_api_key>\
--header 'Content-Type: text/plain' \
--data-raw '{"employeeId": "XYZ0001"1001", "location": "ChennaiOffice-MainEntrance", "swipeTime": "2025-08-03 10:05:00+05:30", "loactionin_out": "Deepika SharmaIn"}'