- Api inData
- Introducción
- Autenticación
- Respuestas del API
- Client
- ClientBranch
- Employee
- OperationalSite
- HoursWorked
Consulta horas trabajadas
Prod Env
Prod Env
GET
https://api.indata.com.co/api/v1/hours-worked
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page
integer
optional
Example:
1
date_start
string
required
Example:
2024-01-01
date_end
string
required
Example:
2024-01-15
Header Params
x-api-key
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.indata.com.co/api/v1/hours-worked?page=1&date_start=2024-01-01&date_end=2024-01-15' \
--header 'x-api-key;'
Responses
🟢200Lista de horas trabajadas.
application/json
Body
data
array[object (HoursWorked) {49}]
required
id
integer
read-onlyoptional
date
string <date>
required
idSfGuardUser
integer
optional
Default:
null
userFirstName
string
optional
Default:
null
userLastName
string
optional
Default:
null
userUsername
string
optional
Default:
null
idAccountCustomerEmployee
integer
optional
Default:
null
employeeCode
string
optional
Default:
null
employeeFirstName
string
optional
Default:
null
employeeLastName
string
optional
Default:
null
employeeIdentification
string
optional
Default:
null
idProgramacion
integer
optional
Default:
null
programacionHasEmployeeStatusChecked
string
optional
Default:
null
idAccountCustomer
integer
optional
Default:
null
accountCustomerName
string
optional
Default:
null
idAccountCustomerPoint
integer
optional
Default:
null
accountCustomerPointName
string
optional
Default:
null
idSitioOperativoPuesto
integer
optional
Default:
null
sitioOperativoPuestoName
string
optional
Default:
null
idAccountWorkShift
integer
optional
Default:
null
idTurnoJornada
integer
optional
Default:
null
turnoJornadaName
string
optional
Default:
null
turnoJornadaStartTime
string <time>
optional
Default:
null
turnoJornadaEndTime
string <time>
optional
Default:
null
checkInIdEmployeeCheckInOut
integer
optional
Default:
null
checkInIdProgramacionHasEmployee
integer
optional
Default:
null
checkInIdSurveySolution
integer
optional
Default:
null
checkInLocaId
string
optional
Default:
null
checkInCoordsDelta
number
optional
Default:
null
checkInCheat
integer
required
Default:
0
checkInTime
string <date-time>
optional
Default:
null
checkInDifference
integer
optional
Default:
null
checkOutIdEmployeeCheckInOut
integer
optional
Default:
null
checkOutIdProgramacionHasEmployee
integer
optional
Default:
null
checkOutIdSurveySolution
integer
optional
Default:
null
checkOutLocaId
string
optional
Default:
null
checkOutCoordsDelta
number
optional
Default:
null
checkOutCheat
integer
optional
Default:
null
checkOutTime
string <date-time>
optional
Default:
null
checkOutDifference
integer
optional
Default:
null
timeWorked
integer
optional
Default:
null
timeNotWorked
integer
optional
Default:
null
checkOutExtraTime
integer
optional
Default:
null
totalExtraTime
integer
optional
Default:
null
isAbsenteeism
enum<string>
required
Allowed values:
YESNOTMP
Default:
NO
maxTimeExceeded
integer
optional
Default:
null
configMaxTimeExceeded
integer
optional
Default:
null
countSolutions
integer
optional
Default:
null
solutions
string
optional
pagination
object
required
totalItems
integer
required
currentPage
integer
required
totalPages
integer
required
perPage
integer
required
Example
{
"data": [
{
"id": 30408259,
"date": "2024-07-18T19:32:34.853Z",
"idSfGuardUser": -26469357,
"userFirstName": "Santiago",
"userLastName": "Arroyo",
"userUsername": "Juan.Calderón",
"idAccountCustomerEmployee": -33565338,
"employeeCode": "veniam pariatur sed dolore ut",
"employeeFirstName": "Gabriela",
"employeeLastName": "Betancourt",
"employeeIdentification": "laboris ut sint do",
"idProgramacion": -21340898,
"programacionHasEmployeeStatusChecked": "proident quis ex dolor veniam",
"idAccountCustomer": 8486846,
"accountCustomerName": "facilis alias doloribus",
"idAccountCustomerPoint": 66146470,
"accountCustomerPointName": "error in eos",
"idSitioOperativoPuesto": -16384883,
"sitioOperativoPuestoName": "perferendis repellendus veritatis",
"idAccountWorkShift": -21994475,
"idTurnoJornada": -49233263,
"turnoJornadaName": "earum est voluptas",
"turnoJornadaStartTime": "2024-07-18T03:37:08.431Z",
"turnoJornadaEndTime": "2024-07-18T15:08:45.548Z",
"checkInIdEmployeeCheckInOut": -65029930,
"checkInIdProgramacionHasEmployee": -93652669,
"checkInIdSurveySolution": -69356537,
"checkInLocaId": "commodo pariatur Excepteur anim dolore",
"checkInCoordsDelta": -96795709.01099072,
"checkInCheat": 41275160,
"checkInTime": "2024-07-18T11:00:01.027Z",
"checkInDifference": 47014977,
"checkOutIdEmployeeCheckInOut": -74675247,
"checkOutIdProgramacionHasEmployee": 94343982,
"checkOutIdSurveySolution": -63424875,
"checkOutLocaId": "tempor deserunt",
"checkOutCoordsDelta": 16245168.153486446,
"checkOutCheat": -1335680,
"checkOutTime": "2024-07-17T21:32:30.411Z",
"checkOutDifference": 61456684,
"timeWorked": 47595121,
"timeNotWorked": 15604922,
"checkOutExtraTime": 48415913,
"totalExtraTime": 72888540,
"isAbsenteeism": "NO",
"maxTimeExceeded": 25929186,
"configMaxTimeExceeded": 81552192,
"countSolutions": -18117139,
"solutions": "eu Duis esse velit fugiat"
}
],
"pagination": {
"totalItems": 5684,
"currentPage": 3,
"totalPages": 285,
"perPage": 20
}
}
🟠400Solicitud inválida
Modified at 2024-08-29 23:11:16