Api InData Clientes
  1. ClientBranch
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
        POST
      • Actualizar una sucursal de cliente
        PUT
      • Obtener una sucursal de cliente por código
        GET
    • 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
      • Actualizar programación
      • Obtener programación
      • Consultar programaciones
  1. ClientBranch

Crear una nueva sucursal de cliente

Prod Env
https://api.indata.com.co
Prod Env
https://api.indata.com.co
POST
https://api.indata.com.co
/api/v1/client_branch

Request

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

Body Params application/json

Example
{
    "name": "vortals",
    "code": "f4gie",
    "alias": "eyeballs",
    "client": {
        "code": "s59sh"
    },
    "coords": "-57.1330,-147.9869",
    "radius": "21",
    "radius_min": "81",
    "address": "Northwest",
    "country_name": "Perú",
    "state_name": "Comunidad de Madrid",
    "city_name": "Marbella",
    "phone": "928.859.781",
    "phone_alt": "984976237",
    "email": "Rafael_Velsquez@yahoo.com",
    "email_alt": "Marisol_Portillo2@yahoo.com",
    "extra1": null,
    "extra2": null,
    "extra3": "aute enim",
    "extra4": null,
    "extra5": null,
    "status": 0,
    "city": {
        "name": "Gerona"
    },
    "zone": {
        "name": "Zona Sur"
    }
}

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 POST 'https://api.indata.com.co/api/v1/client_branch' \
--header 'x-api-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "vortals",
    "code": "f4gie",
    "alias": "eyeballs",
    "client": {
        "code": "s59sh"
    },
    "coords": "-57.1330,-147.9869",
    "radius": "21",
    "radius_min": "81",
    "address": "Northwest",
    "country_name": "Perú",
    "state_name": "Comunidad de Madrid",
    "city_name": "Marbella",
    "phone": "928.859.781",
    "phone_alt": "984976237",
    "email": "Rafael_Velsquez@yahoo.com",
    "email_alt": "Marisol_Portillo2@yahoo.com",
    "extra1": null,
    "extra2": null,
    "extra3": "aute enim",
    "extra4": null,
    "extra5": null,
    "status": 0,
    "city": {
        "name": "Gerona"
    },
    "zone": {
        "name": "Zona Sur"
    }
}'

Responses

🟢201Sucursal creada
application/json
Body

Example
{
    "name": "string",
    "code": "string",
    "alias": "string",
    "coords": "string",
    "radius": "string",
    "radius_min": "string",
    "address": "string",
    "country_name": "string",
    "state_name": "string",
    "city_name": "string",
    "phone": "string",
    "phone_alt": "string",
    "email": "string",
    "email_alt": "string",
    "extra1": "string",
    "extra2": "string",
    "extra3": "string",
    "extra4": "string",
    "extra5": "string",
    "status": 0,
    "id": 0,
    "id_account_customer": 0,
    "id_account_geo_city": 0,
    "id_account_geo_zone": 0,
    "created_source": "string",
    "city": {
        "name": "string",
        "id": 0,
        "code": "string"
    },
    "zone": {
        "name": "string",
        "id": 0,
        "code": "string",
        "description": "string",
        "isActive": true,
        "city": {
            "name": "string",
            "id": 0,
            "code": "string"
        }
    },
    "updated_ws_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z",
    "created_by": 0,
    "updated_at": "2019-08-24T14:15:22Z",
    "updated_by": 0
}
Modified at 2024-08-30 03:25:40
Previous
Obtener cliente por código
Next
Actualizar una sucursal de cliente
Built with