Api InData Clientes
  1. OperationalSite
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
        POST
      • Actualizar sitio operativo / puesto
        PUT
      • Obtener sitio operativo / puesto
        GET
    • HoursWorked
      • Consulta horas trabajadas
    • Programming
      • Crear programación
      • Actualizar programación
      • Obtener programación
      • Consultar programaciones
  1. OperationalSite

Actualizar sitio operativo / puesto

Prod Env
https://api.indata.com.co
Prod Env
https://api.indata.com.co
PUT
https://api.indata.com.co
/api/v1/operational-site/{code}
Este endpoint permite la actulización de un sitio operativo / puesto 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
{
    "clientBranch": {
        "code": "u9c7b"
    },
    "name": "Portería",
    "code": "55690",
    "observations": "Blanco Villalobos bandwidth bus Southeast Gris Account dedicada Aruba Bicycle",
    "gender": "M",
    "coords": "22.4151,-22.6709",
    "minAge": 93,
    "maxAge": 67,
    "fullDayWorked": true,
    "isActive": true
}

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/operational-site/486465' \
--header 'x-api-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clientBranch": {
        "code": "u9c7b"
    },
    "name": "Portería",
    "code": "55690",
    "observations": "Blanco Villalobos bandwidth bus Southeast Gris Account dedicada Aruba Bicycle",
    "gender": "M",
    "coords": "22.4151,-22.6709",
    "minAge": 93,
    "maxAge": 67,
    "fullDayWorked": true,
    "isActive": true
}'

Responses

🟢201Sitio Operativo creado exitosamente
application/json
Body

Example
{
    "id": 6276,
    "clientBranch": {
        "id": 9709,
        "name": "Sucursal C3",
        "code": "sngqt"
    },
    "name": "Portería",
    "code": "32645",
    "observations": "Passenger Hatchback Livermorium Credit capacitor Pelota F2M Distrito Southwest Southeast",
    "gender": "F",
    "coords": "-69.3534,124.7301",
    "minAge": 17,
    "maxAge": 78,
    "fullDayWorked": false,
    "isActive": true
}
🟠400Solicitud inválida
Modified at 2024-07-23 13:53:08
Previous
Crear sitio operativo / puesto
Next
Obtener sitio operativo / puesto
Built with