Hadirr Open API (0.2.1)

Download OpenAPI specification:Download

This is a documentation for Hadirr Open API. You can find out more about Hadirr at https://hadirr.com. You can use this api using the access key and secret key you can get in your Hadirr account.

Auth

Everything about authentication

Return jwt authorization token

Return jwt authorization token that used to fetch data

Authorizations:
BearerAPIKeyAuth

Responses

Employee

Everything about your employees data

Return employees data

Return employees data that the user has access to

Authorizations:
BearerJwtAuth
query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0
Example: offset=10

The number of items to skip before collect the result set

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Find employee's by nik

Find employee's by nik

Authorizations:
BearerJwtAuth
path Parameters
nik
required
string

NIK value that considered as filter

query Parameters
group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Attendance

Everything about your employee's attendances

Find employee's attendances

Find employee's attendances

Authorizations:
BearerJwtAuth
query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0

The number of items to skip before collect the result set

date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Find spesific employee's attendances

Find spesific employee's attendances

Authorizations:
BearerJwtAuth
path Parameters
nik
required
string

NIK value that considered as filter

query Parameters
date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Client Visit

Everything about your employee's client visits

Find employee's client visits

Find employee's client visits

Authorizations:
BearerJwtAuth
query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0

The number of items to skip before collect the result set

date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Find spesific employee's client visits

Find spesific employee's client visits

Authorizations:
BearerJwtAuth
path Parameters
nik
required
string

NIK value that considered as filter

query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0

The number of items to skip before collect the result set

date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Timesheet

Find employee's timesheet report

Find employee's timesheet report

Authorizations:
BearerJwtAuth
query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0

The number of items to skip before collect the result set

date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}

Find spesific employee's timesheet report

Find spesific employee's timesheet report

Authorizations:
BearerJwtAuth
path Parameters
nik
required
string

NIK value that considered as filter

query Parameters
limit
integer >= 0
Default: "showing all rows."
Example: limit=100

The number of items to return

offset
integer >= 0
Default: 0

The number of items to skip before collect the result set

date
required
string

Date value with format yyyy-MM-dd

group
string
Default: "showing all employees in all groups."

Provide 1 specific employee's group id that considered as filter

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "message": "string",
  • "data": {
    }
}