Api InData Clientes
  1. Programming
Api InData Clientes
  • Api inData
    • Introducción
    • Autenticación
    • Respuestas del API
    • Client
      • Crear cliente
      • Actualizar cliente
      • Obtener cliente por código
    • ClientBranch
      • Crear una nueva sucursal de cliente
      • Actualizar una sucursal de cliente
      • Obtener una sucursal de cliente por código
    • Employee
      • Create Employee
      • Actualizar empleado
      • Obtener Empleado
      • Actualizar foto empleado
    • OperationalSite
      • Crear sitio operativo / puesto
      • Actualizar sitio operativo / puesto
      • Obtener sitio operativo / puesto
    • HoursWorked
      • Consulta horas trabajadas
    • Programming
      • Crear programación
        POST
      • Actualizar programación
        PUT
      • Obtener programación
        GET
      • Consultar programaciones
        GET
  1. Programming

Actualizar programación

Prod Env
https://api.indata.com.co
Prod Env
https://api.indata.com.co
PUT
https://api.indata.com.co
/api/v1/programming/{id}
Este endpoint permite actualizar una programación existente en el sistema.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Example
{
    "date": "2019-08-24",
    "operationalSite": {
        "code": "string"
    },
    "workShift": {
        "name": "string"
    },
    "workShiftSchedule": {
        "name": "string"
    },
    "employee": {
        "code": "string"
    },
    "client": {
        "code": "string"
    },
    "clientBranch": {
        "code": "string"
    },
    "description": "string"
}

Request Code 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 PUT 'https://api.indata.com.co/api/v1/programming/3834' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "date": "2019-08-24",
    "operationalSite": {
        "code": "string"
    },
    "workShift": {
        "name": "string"
    },
    "workShiftSchedule": {
        "name": "string"
    },
    "employee": {
        "code": "string"
    },
    "client": {
        "code": "string"
    },
    "clientBranch": {
        "code": "string"
    },
    "description": "string"
}'

Responses

🟢200Programación actualizada exitosamente
application/json
Body

Example
{
    "id": 3834,
    "date": "2024-01-15",
    "operationalSite": {
        "id": 2496,
        "name": "Vigilancia Principal",
        "code": "P001"
    },
    "workShift": {
        "id": 123,
        "name": "Turno Estándar",
        "code": "T001"
    },
    "workShiftSchedule": {
        "id": 456,
        "name": "Diurno",
        "startTime": "06:00:00",
        "endTime": "18:00:00"
    },
    "employee": {
        "id": 789,
        "firstName": "Juan",
        "lastName": "Pérez",
        "code": "E001",
        "identification": "12345678"
    },
    "client": {
        "id": 101,
        "name": "La Económica",
        "code": "C001"
    },
    "clientBranch": {
        "id": 202,
        "name": "Sede Centro",
        "code": "S001"
    },
    "description": "Programación actualizada",
    "status_checked": "VERIFICADO",
    "is_massive": false,
    "checked_at": "2024-01-15T08:30:00Z",
    "checked_by": 123,
    "checked_lat": 4.710989,
    "checked_lng": -74.072092,
    "id_check_in_check_out_absenteeism": null,
    "id_check_in_check_out_cross_employee": null,
    "id_check_in_check_out": 45678
}
🟠400Solicitud inválida
Modified at 2025-07-23 17:10:13
Previous
Crear programación
Next
Obtener programación
Built with